我使用PortablePython2.7.6.1,并安装了Sphinx1.5.1以创建我的手册。由于狮身人面像在过去几个月里已经取得了很大的进步,我试图升级到最新版本的Sphinx1.6.5,但是我无法使用easy_install工具进行升级。
我试过:
easy_install-2.7.exe -U sphinx上面写着:
Searching for sphinx
Reading http://pypi.python.org/simple/sphinx/
Couldn't retrieve index page for 'sphinx'
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Best match: sphinx 1.5.1
Processing sphinx-1.5.1-py2.7.egg
sphinx 1.5.1 is already the active version in easy-install.pth在那之后,我试图强制版本,但这也失败了:
easy_install-2.7.exe -m 1.6.5 sphinx这是这么说的:
Searching for 1.6.5
Reading http://pypi.python.org/simple/1.6.5/
Couldn't find index page for '1.6.5' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for 1.6.5
Best match: None
Traceback (most recent call last):
File "C:\Data\Frank\Programme\Portable Python 2.7.6.1\App\Scripts\easy_install-2.7-script.py", line 8, in <module>
load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install-2.7')()
File "C:\Data\Frank\Programme\Portable Python 2.7.6.1\App\lib\site-packages\setuptools\command\easy_install.py", line 1712, in main
with_ei_usage(lambda:
File "C:\Data\Frank\Programme\Portable Python 2.7.6.1\App\lib\site-packages\setuptools\command\easy_install.py", line 1700, in with_ei_usage
return f()我在这里做错了什么?也许移除狮身人面像会有帮助,但在easy-install中似乎没有命令开关。
发布于 2017-12-07 09:43:03
https://stackoverflow.com/questions/47690819
复制相似问题