报错:
selenium.common.exceptions.WebDriverException: Message: ‘chromedriver’ executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
解决:
0、打开Chrome输入 “chrome://version/” 查看Chrome版本。
1、下载和Chrome浏览器对应的chromedriver。
http://chromedriver.storage.googleapis.com/index.html
2、将下载的chromedriver.exe文件放到Python的Scripts(pip.exe所在位置)目录下。