我正在尝试使用命令---- selenium
通过Cmd安装pip install -U selenium
,但它显示错误。
Could not find a version that satisfies the requirement selenium (from version
s: )
No matching distribution found for selenium
请参阅下面的详细信息我正在使用python 3.5.1
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Anjali.Nautiyal>C:\Python34\Scripts\pip.exe install -U selenium
The system cannot find the path specified.
C:\Users\Anjali.Nautiyal>C:\Users\Anjali.Nautiyal\AppData\Local\Programs\Python\
Python35-32\Scripts\pip.exe install -U selenium
Collecting selenium
Could not find a version that satisfies the requirement selenium (from version
s: )
No matching distribution found for selenium
C:\Users\Anjali.Nautiyal>python setup.py install
python: can't open file 'setup.py': [Errno 2] No such file or directory
答案 0 :(得分:0)
从here
安装python 3.5.1之后使用cmd.exe程序启动命令提示符并运行下面给出的pip命令以安装selenium。试试这个,如果您遇到任何问题,请告诉我
C:\Python35\Scripts\pip.exe install selenium