打开chromedriver.storage.googleapis.com/index.html下载跟自己浏览器近似的驱动,win32位的

复制chromedriver.exe到chrome的安装路径,复制到python的的scripts路径下

image.png
image.png

配置环境变量(建议用户和系统的都配置)

image.png
image.png