2012-05-14 2 views
2

- 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를 설치하고 싶습니다. 이 방법이 효과가 있습니까? 당신이 명령에서

+0

"getaddrinfo failed"부분에 문제가 있습니다. 두 번째 대답은 여기를 참조하십시오 : stackoverflow.com/questions/1290142/python-urllib2-problem – jadkik94

답변

2

:

윈도우 : "easy_install을"경우 또는 "py.test"당신이 여기를 참조하십시오 PATH에 파이썬 스크립트 경로를 추가 필요 찾을 수 없습니다 : 파이썬를 Windows 용. 당신을 대신 자동으로 수행하는 ActivePython 설치를 사용할 수도 있습니다.

How to set PATH variable

+0

나는 그것을 시도했다. 그러나 아직도 아무 소용이 없습니다. – Sumod

관련 문제