gpt4 book ai didi

python-3.x - 协作实验室 : chromedriver is not included in PATH

转载 作者:行者123 更新时间:2023-12-05 08:08:09 24 4
gpt4 key购买 nike

在安装selenium模块并解压chromedriver_win32.zip后,我尝试在colab上练习selenium模块。我打字,

from selenium import webdriver
driver = webdriver.Chrome()

我收到了错误消息,如我的标题,

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

但我找不到任何“PATH”消息来处理这种情况。我该怎么办?

最佳答案

您需要引用:https://sites.google.com/a/chromium.org/chromedriver/getting-started

然后你在可执行文件或环境变量中找到Path

enter image description here

enter image description here

关于python-3.x - 协作实验室 : chromedriver is not included in PATH,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52176133/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com