私はpython 2.7を使用しています。ファイルをダウンロードしselenium-2.28.0
、.zip に解凍しましたC:\Python27
。次に、コマンドを実行しpython setup.py install
ますが、エラーが発生します。私は32ビットのWindows 7 PCを使用しています
C:\Users>cd..
C:\>cd C:\Python27\selenium-2.28.0
C:\Python27\selenium-2.28.0>python setup.py install
'python' is not recognized as an internal or external command,
operable program or batch file.
C:\Python27\selenium-2.28.0>setup.py install
Traceback (most recent call last):
File "C:\Python27\selenium-2.28.0\setup.py", line 17, in <module>
from setuptools import setup
ImportError: No module named setuptools
C:\Python27\selenium-2.28.0>
その理由は何ですか?起こっpip-1.2.1
ているのと同じフォルダへの解凍されたファイルについても同じです。selenium
ここを案内してもらえますか?
編集
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Arup Rakshit>cd..
C:\Users>cd..
C:\>cd C:\Python27\selenium-2.28.0>
The syntax of the command is incorrect.
C:\>C:\Python27\selenium-2.28.0
'C:\Python27\selenium-2.28.0' is not recognized as an internal or external comma
nd,
operable program or batch file.
C:\>cd C:\Python27\selenium-2.28.0
C:\Python27\selenium-2.28.0>c:\python27\python.exe setup.py install
Traceback (most recent call last):
File "setup.py", line 17, in <module>
from setuptools import setup
ImportError: No module named setuptools
C:\Python27\selenium-2.28.0>