Sto usando un'istanza pulita del server Ubuntu e vorrei installare alcuni pacchetti python nel mio virtualenv.Errore di installazione di Pip. Setuptools.command non trovato
Ricevo il seguente output del comando 'PIP installare requirements.txt -r'
Downloading/unpacking pymongo==2.5.2 (from -r requirements.txt (line 7))
Downloading pymongo-2.5.2.tar.gz (303kB): 303kB downloaded
Running setup.py egg_info for package pymongo
Traceback (most recent call last):
File "<string>", line 3, in <module>
ImportError: No module named setuptools.command
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 3, in <module>
ImportError: No module named setuptools.command
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/redacted/env/build/pymongo
Storing complete log in /home/redacted/.pip/pip.log
idea di cosa sta succedendo?
pitone versione 2.7.3
versione PIP PIP 1.4 da /home/redacted/env/lib/python2.7/site-packages (python 2,7)
ho provato che, sia a livello globale come lei ha suggerito e con 'pip installare setuptools' nel mio virutalenv. Ancora senza fortuna. – Sam
@ Sam, che dire ora? – elyase
Ancora non funziona, anche se ora ho pip installato a livello globale. – Sam