首页 > 解决方案 > 'chromedriver' 可执行文件需要在 PATH 中

问题描述

$ brew install chromedriver -bash: brew: command not found

我已经下载了 chrome 驱动程序,我什至把它放在了工作目录中。仍然收到此错误。我几乎不知道蟒蛇是什么。请帮忙。

标签: google-chromedriver

解决方案


看起来你没有安装自制软件。说明可以在 homebrew 的网站上找到。https://brew.sh

为方便起见,命令如下:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"


推荐阅读