zl程序教程

您现在的位置是:首页 >  其它

当前栏目

Message: 'chromedriver' executable needs to be in PATH

to in &# 39 be path message needs
2023-09-27 14:29:18 时间

 

1.打开chrome 输入 “chrome://version/”来查看chrome版本 

2.访问此网站 http://chromedriver.storage.googleapis.com/index.html 然后选择合适版本的driver。点击notes.txt就可查看其对应的版本号

3.把chromedriver.exe文件放入chrome安装路径,也就是C:\Program Files (x86)\Google\Chrome\Application(一般都是这个,根据自己情况弄)
4.把chromedriver.exe文件放到python安装环境的scripts文件里
5.把C:\Program Files (x86)\Google\Chrome\Application\chromedriver.exe路径放到path的环境变量里