84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
学习是最好的投资!
The script file name cannot have the same name as the module name, just change it
There is a file named selenium.py 的 module, import 的時候會優先引入該模組, 那自然是沒有 webdriver under your current path.
selenium.py
import
webdriver
Just change the name, this is a very common import problem.
Questions I answered: Python-QA
It seems that Selenium is not installed. Visual inspection uses python3 but the system has built-in Python 2?You may need to reinstall selenium using pip3
pip3 install selenium
The script file name cannot have the same name as the module name, just change it
There is a file named
selenium.py
的 module,import
的時候會優先引入該模組, 那自然是沒有webdriver
under your current path.Just change the name, this is a very common import problem.
Questions I answered: Python-QA
It seems that Selenium is not installed. Visual inspection uses python3 but the system has built-in Python 2?
You may need to reinstall selenium using pip3