我已按照该网站的说明进行操作:http: //selenium-python.readthedocs.org/en/latest/installation.html
我遵循了以下部分:Windows 用户的详细说明:
通过将其(python-2.7.3.msi)下载并安装到我的 windows 来完成第 1 步。现在我对第二步感到困惑。我需要什么我无法理解,我刚刚下载了“pypa-virtualenv-1.8.1-74-g2adac08.tar.gz”并将其解压缩到文件夹“D:\Python and Selenium”。第一步提到的 MSI .exe 文件和这个 .zip 文件都存在于我刚才提到的同一目录中。
我也尝试了以下方法,但出现错误:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Arup Rakshit>cd..
C:\Users>cd..
C:\>d:
D:\>cd D:\Python and Selenium\pypa-virtualenv-2adac08
D:\Python and Selenium\pypa-virtualenv-2adac08>pip install https://github.com/py
pa/virtualenv/tarball/develop
'pip' is not recognized as an internal or external command,
operable program or batch file.
D:\Python and Selenium\pypa-virtualenv-2adac08>
您现在可以指导我将它成功安装到我的 PC 上吗?
更新
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Arup Rakshit>cd..
C:\Users>cd..
C:\>cd Python27
C:\Python27>cd python.exe
The directory name is invalid.
C:\Python27>python.exe virtualenv.py selenv
python.exe: can't open file 'virtualenv.py': [Errno 2] No such file or directory
C:\Python27>
C:\Python27>