mac安装chromedriver报错

运行提示:Message: ‘chromedriver‘ executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromed

此问题出现的原因是chromedriver路径不对

1.到chromedriver的根目录下

2.移动chromedriver到/usr/local/bin目录

命令如下

$unzip chromedriver_map32.zip

$mv chromedriver/usr/local/bin

时间: 2024-09-30 00:21:20

mac安装chromedriver报错的相关文章

mac 安装mysql 报错“ERROR 2002 (HY000): Can not connect to local MySQL server through socket '/tmp/mysql.sock' (2)” 解决办法

首先安装 homebrew 再 brew install mysql 之后连接 mysql 无论是登录还是修改初始密码都会报如下的错误 ERROR 2002 (HY000): Can not connect to local MySQL server through socket '/tmp/mysql.sock' (2) 运行如下解决:参考 http://www.thinksaas.cn/group/topic/347978/ unset TMPDIR mysql_install_db --v

【Django】Mac 安装pip3-install-mysqlclient 报错

1.首先在pip3-install-mysqlclient时报错 mysql_config not found 2.逛了一些博客 让安装mysql或者mysql-connector-c 我安装了后者还是报错,现在报了这个错误 File "<string>", line 1, in <module> File "/private/var/folders/2f/r1pwfcp521q7z9kd240tr3700000gn/T/pip-build-u8yhU

mac安装mysql报错ERROR 1045 (28000): Access denied for.

安装完后,mysql -h localhost -u root -p 时候报错,ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)第一步:删除 /usr/local/mysql/data/ 下的 ib_logfile0和ib_logfile1文件.第二步:在系统偏好设置中停止Mysql服务第三步:cd /usr/local/mysql/bin/执行 ./mysqld_safe --

MAC 安装psycopg2报错ld: library not found for -lssl

pip3 install psycopg2 报错:ld: library not found for -lssl 解决参考:https://github.com/PyMySQL/mysqlclient-python/issues/169 安装前定义这两个环境变量就好了 export LDFLAGS="-L/usr/local/opt/openssl/lib" export CPPFLAGS="-I/usr/local/opt/openssl/include" 原文地

mac安装html5lib报错

pip安装html5lib包的时候报一下错误: ?  /test sudo  pip install html5lib The directory '/Users/lele/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that d

解决Mac安装tesserocr报错问题 Failed building wheel for

localhost:~ jerry$ Processing /var/www/git/python/tesserocr -bash: Processing: command not found localhost:~ jerry$ pip3 install tesserocr Collecting tesserocr Using cached https://files.pythonhosted.org/packages/f8/6d/4e81e041f33a4419e59edcb1dbdf3c5

Mac brew 安装mysql 报错 ERROR 2002 (HY000): Can&#39;t connect to local MySQL server through socket

安装mysql 最新版 56 brew install mysql 启动报错 ben:~ soul$ which mysql /usr/local/bin/mysql ben:~ soul$ mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) 解决办法 运行 ben:~ soul$ mysql.server start Starting MySQL .

mac上安装pil报错: ERROR: Could not find a version that satisfies the requirement pil (from versions: none):

mac上安装pil报错: ERROR: Could not find a version that satisfies the requirement pil (from versions: none): 原文地址:https://www.cnblogs.com/Zhao159461/p/12629635.html

vuejs npm chromedriver 报错

# 全局安装 vue-cli$ npm install -g vue-cli# 创建一个基于 "webpack" 模板的新项目$ vue init webpack my-project# 安装依赖,走你$ cd my-project$ npm install$ npm run dev 用vue建项目后,npm install 发现老卡在chromedriver 报错上, 后来网上查了下,发现了解决办法 npm install chromedriver --chromedriver_cd