2013-07-16 30 views
8

Próba odinstalowania pakietu zainstalowanego za pomocą pip, odinstalowałem część i teraz pip nie działa. Staram się zainstalować pandy:Błąd podczas instalacji z pip

[sudo] pip install pandas 

I to jest błąd:

Requirement already satisfied (use --upgrade to upgrade): pandas in /usr/lib/python2.7/dist-packages 
Requirement already satisfied (use --upgrade to upgrade): python-dateutil in /usr/local/lib/python2.7/dist-packages (from pandas) 
Downloading/unpacking pytz (from pandas) 
Downloading pytz-2013b.zip (535kB): 535kB downloaded 
Running setup.py egg_info for package pytz 
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe' 
    warnings.warn(msg) 
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] 
    or: -c --help [cmd1 cmd2 ...] 
    or: -c --help-commands 
    or: -c cmd --help 

error: invalid command 'egg_info' 
Complete output from command python setup.py egg_info: 
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe' 

warnings.warn(msg) 

usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] 

or: -c --help [cmd1 cmd2 ...] 

or: -c --help-commands 

or: -c cmd --help 

error: invalid command 'egg_info' 

---------------------------------------- 
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-root/pytz 
Storing complete log in /root/.pip/pip.log 

Mam Linux Mint Mate 15. Jak mogę rozwiązać ten problem ??

Odpowiedz

1

Spróbuj zainstalować dystrybucję przy użyciu pip install distribute.

+0

Instaluję dystrybucję i kończę poprawnie, ale teraz wiem, co to jest ... –

+0

Spróbuj zainstalować pandy ponownie za pomocą 'pip install pandas'. Polecenie 'egg_info' powinno być dołączone do dystrybucji. – ncho

+0

Błąd jest taki sam –

4

Zaktualizuj swoją instalację setuptools za pomocą pip install -U setuptools.

+2

Nie działa dla mnie. – smartmouse

+2

To też nie działa dla mnie. – SummerEla

+0

didnt pracował dla mnie –

Powiązane problemy