2

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 をインストールしたいです。これが機能する方法はありますか?

4

1 に答える 1

3

あなたの指示から:

Windows: 「easy_install」または「py.test」が見つからない場合は、Python スクリプト パスを PATH に追加する必要があります。こちらを参照してください: Python for Windows. 代わりに、これを自動的に行う ActivePython インストールを使用することもできます。

PATH変数の設定方法

于 2012-05-14T11:30:44.737 に答える