我已经尝试安装selenium好几个小时了,现在我安装了,我得到了错误
Traceback (most recent call last):
File "C:/Users/Family/Documents/open python.py", line 1, in <module>
from selenium import webdriver
ModuleNotFoundError: No module named 'selenium'
这是我的代码:
^{pr2}$即使当我进入cmd并尝试安装它时,它仍然会说包已经安装在python34-Lib-sitepackages
中:
env:C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Users\kaleem Hussain\AppData\Local\Smartbar\Application\;C:\Program Files (x86)\Skype\Phone\;C:\Python34;C:\Python34\Scripts
尝试使用pip安装selenium并检查是否已解决:
相关问题 更多 >
编程相关推荐