mac 安装Selenium Python
安装Selenium Python
使用如下命令安装
pip install selenium
错误信息:Permission denied
OSError: [Errno 13] Permission denied: ‘/usr/local/lib/python2.7/site-packages/selenium’
权限赋予:
sudo chmod -R 777 /usr/local/lib/python2.7/*
再次执行: Successfully installed selenium-3.141.0
参考:
[1] (https://python-selenium-zh.readthedocs.io/zh_CN/latest/1.安装/)
[2] (https://blog.****.net/sinat_33363493/article/details/52734746)