Python | selenium 爬虫报错:Message: 'chromedriver' executable needs to be in PATH 解决办法


问题描述:

selenium 爬虫报错:

Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

处理方法:

复制该目录配置到Windows系统环境变量中

路径:此电脑——属性——高级系统设置——环境变量——系统变量------编辑-----新建

 然后重启jupyter即可