使用homebrew软件包管理工具进行安装时,经常会失败。
- 可直接通过代理进行安装。
ALL_PROXY=socks5://127.0.0.1:1086 brew cask install chromedriver
- 通过查看shell解释器,修改配置文件
% echo $SHELL
/bin/zsh #输出结果
% echo export ALL_PROXY=socks5://127.0.0.1:1086 >> ~/.zsh_profile
参考文献:
使用homebrew软件包管理工具进行安装时,经常会失败。
ALL_PROXY=socks5://127.0.0.1:1086 brew cask install chromedriver
% echo $SHELL
/bin/zsh #输出结果
% echo export ALL_PROXY=socks5://127.0.0.1:1086 >> ~/.zsh_profile
参考文献: