摘要: fedora23 X64 系统里有多个版本的 python ,默认使用的是 python2.7 现在想切换到默认使用 python3.4 ,考虑使用 alternatives 命令,用 alternatives --display python 发现 python 没有在 alternatives 阅读全文
posted @ 2017-03-26 20:10 cabbage112 阅读(554) 评论(0) 推荐(0) 编辑
摘要: 1、pip install selenium 需要root权限 2、运行一个实例 openchrome.py : 报错: FileNotFoundError: [Errno 2] No such file or directory: 'chromedriver' selenium.common.ex 阅读全文
posted @ 2017-03-26 19:34 cabbage112 阅读(982) 评论(0) 推荐(0) 编辑
摘要: fedora23 x64 安装使用Virtualenv 1、pip install virtualenv 此处需要root权限,否则提示 Permission 问题 为root用户设置了pip的国内源 su切换到root用户 如果网络不好可用国内源 修改 ~/.pip/pip.conf (没有就创建 阅读全文
posted @ 2017-03-26 18:01 cabbage112 阅读(2357) 评论(0) 推荐(0) 编辑