我收到消息 'chromedriver.exe' 可执行文件需要在 PATH 中
i got message 'chromedriver.exe' executable needs to be in PATH
我试图让 selenium 与 goorm 一起工作,但它不起作用。
我正在使用云服务 goorm IDE。
from selenium import webdriver
driver = webdriver.Chrome("C:Users/chromedriver.exe")
运行 时,我收到此消息:
'chromedriver.exe' 可执行文件需要在 PATH 中。请参阅 https://sites.google.com/a/chromium.org/chromedri
检查以下内容:
driver = webdriver.Chrome("C:/Users/chromedriver.exe")
在Environmental Variable
中的Path
中添加chromedriver.exe的路径
如果您正在使用 Windows
- 右键单击
My Computer
并转到 Properties
- Select
Advanced system settings
- 转到选项卡
Advanced
- 点击
Environment Variables
- 在
System Variables
部分搜索 Path
变量
- 双击它并在其
value
列表中添加 chromedriver.exe
的路径
我试图让 selenium 与 goorm 一起工作,但它不起作用。 我正在使用云服务 goorm IDE。
from selenium import webdriver
driver = webdriver.Chrome("C:Users/chromedriver.exe")
运行 时,我收到此消息: 'chromedriver.exe' 可执行文件需要在 PATH 中。请参阅 https://sites.google.com/a/chromium.org/chromedri
检查以下内容:
driver = webdriver.Chrome("C:/Users/chromedriver.exe")
在Environmental Variable
Path
中添加chromedriver.exe的路径
如果您正在使用 Windows
- 右键单击
My Computer
并转到Properties
- Select
Advanced system settings
- 转到选项卡
Advanced
- 点击
Environment Variables
- 在
System Variables
部分搜索Path
变量 - 双击它并在其
value
列表中添加
chromedriver.exe
的路径