C:\Users\Lenovo\PycharmProjects\pythonProject\venv\Scripts\python.exe C:\Users\Lenovo\PycharmProjects\pythonProject\first.py Traceback (most recent call last): File "C:\Users\Lenovo\PycharmProjects\pythonProject\first.py", line 1, in <module> from selenium.webdriver import Chrome ModuleNotFoundError: No module named 'selenium' Process finished with exit code 1
时间: 2023-07-07 18:43:55 浏览: 88
根据你的错误信息,看起来你在运行一个名为 "first.py" 的 Python 程序时出现了错误,错误原因是找不到名为 "selenium" 的模块。这个问题的解决方法是安装 selenium 模块,你可以在命令行中使用以下命令安装:
```
pip install selenium
```
如果你已经安装了 selenium 模块,那么可能是你的 Python 程序没有正确地设置环境变量,你需要检查一下你的环境变量是否设置正确。
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![xlsx](https://img-home.csdnimg.cn/images/20210720083732.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![xlsx](https://img-home.csdnimg.cn/images/20210720083732.png)
![jpg](https://img-home.csdnimg.cn/images/20210720090814.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)