[英]ModuleNotFoundError: No module named 'selenium' on Spyder
I have written a code that works perfectly on my personal computer(on Pycharm).我编写了一个在我的个人计算机(在 Pycharm 上)上完美运行的代码。 When I ran the code on another system(on Spyder) I am getting error as below.当我在另一个系统(在 Spyder 上)上运行代码时,我收到如下错误。 I am not sure how to resolve this issue.我不知道如何解决这个问题。 I have very limited access to this computer.我对这台计算机的访问权限非常有限。 How can I install Selenium to avoid the error?如何安装 Selenium 以避免错误?
File "C:/Users/pchou/.spyder-py3/Test_Code1.py", line 1, in <module>
from selenium import webdriver
ModuleNotFoundError: No module named 'selenium'
I tried to install it through pip and pip3 but it gives me error as below我尝试通过 pip 和 pip3 安装它,但它给了我如下错误
C:\Users\pchou\.spyder-py3>pip
'pip' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\pchou\.spyder-py3>pip3
'pip3' is not recognized as an internal or external command,
operable program or batch file.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.