嘗試卸載與PIP安裝包進行安裝,卸載一些現在點子不起作用。我嘗試安裝熊貓:錯誤與PIP
[sudo] pip install pandas
這是錯誤:
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
我已經Linux Mint的伴侶15.我怎麼能解決這個?
我安裝發行並完成正常,但我現在知道它是什麼... –
嘗試再次用'pip install pandas'安裝熊貓。發佈時應包含命令'egg_info'。 – ncho
錯誤是一樣的 –