AttributeError: module 'selenium.webdriver' has no attribute 'chromedriver' 问题
尝试使用Webdriver爬取动态内容,Chrome浏览器版本与Chromedriver版本相同,selenium包已经安装,Chromedriver放在python根目录并指定了Chromedriver路径,但仍然无法调用ChromedriverD:\tool\Anaconda\python.exe C:/Users/Administrator/PycharmProjects/stockdata/股票.py
Traceback (most recent call last):
File "C:/Users/Administrator/PycharmProjects/stockdata/股票.py", line 5, in <module>
driver = webdriver.chromedriver("D:\tool\Anaconda\chromedriver.exe")
AttributeError: module 'selenium.webdriver' has no attribute 'chromedriver'
检查下浏览器版本是否合适 不匹配
页:
[1]