No module named Selenium
时间: 2023-08-17 07:11:04 浏览: 187
(20200306已解决)ModuleNotFoundError: No module named ‘selenium’
5星 · 资源好评率100%
To resolve the "No module named Selenium" error, you need to install the Selenium library in your Python environment. You can do this by running the following command in your terminal or command prompt:
```
pip install selenium
```
Make sure you have pip installed and it is up to date. If you are using a virtual environment, make sure it is activated before running the command.
After successfully installing Selenium, you should be able to import it in your Python script without any issues.
阅读全文