Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 19 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save y56/0540d22a1db40dacc7fbbb93c866821e to your computer and use it in GitHub Desktop.
Save y56/0540d22a1db40dacc7fbbb93c866821e to your computer and use it in GitHub Desktop.
ERROR: launchpadlib 1.10.6 requires testresources, which is not installed.
https://www.discoverbits.in/864/error-launchpadlib-requires-testresources-which-installed
==
ERROR: launchpadlib 1.10.6 requires testresources, which is not installed.
+2 votes
asked Oct 6, 2019 in Programming Languages by pythonuser (11.5k points)
recategorized Oct 6, 2019 by pythonuser
I am getting the following error when I try to upgrade setuptools:
ERROR: launchpadlib 1.10.6 requires testresources, which is not installed.
How can I fix the error?
python setuptools launchpadlib
1 Answer
0 votes
answered Oct 6, 2019 by pkumar81 (20.1k points)
Try the following command to fix the error:
Python3
sudo apt install python3-testresources
Python2
sudo apt install python-testresources
@Murithijoshua
Copy link

good one! worked!

@batdog1981
Copy link

seems to fix my odrivetools

@JabJolt
Copy link

JabJolt commented Sep 26, 2022

Worked for me!

Python3 sudo apt install python3-testresources

Python2 sudo apt install python-testresources

thanks, worked

@sudomangeni
Copy link

Python3 sudo apt install python3-testresources
Worked for me too, was installing ANSIBLE

@YasBars01
Copy link

Worked for me!

Python3 sudo apt install python3-testresources

Python2 sudo apt install python-testresources

Thank you! this worked for me

@mjTree
Copy link

mjTree commented Mar 6, 2023

thanks

@Niabubu
Copy link

Niabubu commented Jul 19, 2023

Thanks! Worked while installing pipenv with Python 3.8.10 and pip 23.2 :p

@Hunkhill1
Copy link

This worked and fixed another error in flask for me, thanks!

@samarhy12
Copy link

on windows too?

@sherlockchou86
Copy link

mark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment