- http://pytest.org/latest/getting-started.html#installation-issues의 지침을 따르고 있습니다.Windows에서 py.test를 설치하는 방법
많은 옵션을 시도했으며 웹에서도 검색했습니다. 하지만 여전히 다음과 같은 오류가 발생합니다.
Installed c:\python26\lib\site-packages\pytest-2.2.3-py2.6.egg
Processing dependencies for pytest==2.2.3
Searching for py>=1.4.7.dev2
Reading http://pypi.python.org/simple/py/
Download error: [Errno 11001] getaddrinfo failed -- Some packages may not be found!
Couldn't find index page for 'py' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error: [Errno 11001] getaddrinfo failed -- Some packages may not be found!
No local packages or download links found for py>=1.4.7.dev2
Best match: None
Windows XP 및 Python 2.6이 있습니다. 이 설정에 py.test를 설치하고 싶습니다. 이 방법이 효과가 있습니까? 당신이 명령에서
"getaddrinfo failed"부분에 문제가 있습니다. 두 번째 대답은 여기를 참조하십시오 : stackoverflow.com/questions/1290142/python-urllib2-problem – jadkik94