필자는 Portable Python 2.7.6.1을 사용하고 있으며, 매뉴얼을 작성하기 위해 Sphinx 1.5.1을 설치했습니다. 지난 달 스핑크스가 이미 많은 진전을 이뤘으므로 최신 버전 인 Sphinx 1.6.5로 업데이트하려고했지만 easy_install
도구를 사용하여 업그레이드 할 수 없었습니다.easy_install으로 Python Sphinx를 업그레이드하십시오.
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
에 있습니다.
안녕하세요, 빠른 답장을 보내 주셔서 감사합니다. 게시 된 솔루션은 여전히 나를 위해 작동하지 않습니다. Portable Python이 더 이상 적극적으로 관리되지 않는다는 것을 알아 냈습니다. 아마 이것은 내 문제의 일부가 될 수 있습니다. 나는 지금 파이썬 (x, y)을 대용으로 사용하려고하고있다. – Aleph0
그럴 가능성이 있습니다. 파이썬을 설치한다면 가능하면 최신 3.x 버전을 사용하십시오. 또한 파이썬 패키지 관리를 위해'pip'를 사용하십시오. [Python Packaging Authority (PyPA)에는 튜토리얼과 권장 도구가 있습니다.] (https://packaging.python.org/). –