我正在按照 - http://pytest.org/latest/getting-started.html#installation-issues上的说明进行操作。
我尝试了很多选择,也在网上搜索过。但我仍然收到以下错误。
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。有没有办法让它工作?