[mac笔记]Mac搭建python+selenium环境
2017-11-22 12:02
579 查看
参考链接http://blog.csdn.net/kacylining/article/details/60587484
-cd到这个目录 sudo python setup.py install
macs-Mac-mini:pip-9.0.1 mac$ sudo pip install -U selenium
The directory ‘/Users/mac/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 directory. If executing pip with sudo, you may want sudo’s -H flag.
The directory ‘/Users/mac/Library/Caches/pip’ or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
Requirement already up-to-date: selenium in /Library/Python/2.7/site-packages
http://blog.csdn.net/lj2tj/article/details/53082346
Chrome Driver:
http://chromedriver.storage.googleapis.com/index.html
1下载pip-9.0.1
-解压后保存位位置/usr/local/pip-9.0.1/-cd到这个目录 sudo python setup.py install
creating dist creating 'dist/pip-9.0.1-py2.7.egg' and adding 'build/bdist.macosx-10.12-intel/egg' to it removing 'build/bdist.macosx-10.12-intel/egg' (and everything under it) Processing pip-9.0.1-py2.7.egg creating /Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg Extracting pip-9.0.1-py2.7.egg to /Library/Python/2.7/site-packages Adding pip 9.0.1 to easy-install.pth file Installing pip script to /usr/local/bin Installing pip2.7 script to /usr/local/bin Installing pip2 script to /usr/local/bin Installed /Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg Processing dependencies for pip==9.0.1 Finished processing dependencies for pip==9.0.1
macs-Mac-mini:pip-9.0.1 mac$ sudo pip install -U selenium
The directory ‘/Users/mac/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 directory. If executing pip with sudo, you may want sudo’s -H flag.
The directory ‘/Users/mac/Library/Caches/pip’ or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
Requirement already up-to-date: selenium in /Library/Python/2.7/site-packages
测试安装是否成功
http://blog.csdn.net/zxy987872674/article/details/53082896http://blog.csdn.net/lj2tj/article/details/53082346
Chrome Driver:
http://chromedriver.storage.googleapis.com/index.html
相关文章推荐
- [置顶] python selenium环境搭建笔记
- TensorFlow 笔记1 Mac Python环境搭建
- Mac下selenium3.0+python2.7环境搭建
- python数据分析笔记(1):搭建python的数据分析环境(Mac系统下)
- [2013-11-23]Selenium笔记_Eclipse+Junit+TestNG+Python 环境搭建
- 【selenium和python自动化测试环境搭建】
- VS2013中Python学习笔记[环境搭建]
- 1.python环境搭建(python2.7.10+ PyCharm3.4.1/eclipse+selenium)
- python+ selenium自动化测试环境搭建
- python selenium-webdriver 环境搭建(一)
- React Native MAC上环境搭建笔记
- windows python3自动化环境 selenium3 chrome(63.0.3239.84)搭建
- 基于Selenium2与Python的自动化测试环境配置搭建
- selenium+python环境搭建入门常见问题
- Python学习笔记(二)----Python环境搭建
- python学习笔记二-----手机环境搭建
- mac下android环境搭建笔记(android studio)
- mac下lua环境搭建笔记
- Python2.7.9+selenium2环境搭建Win7