重新安装了pip就ok了[参见:http://pip.readthedocs.org/en/latest/installing.html]
使用wget https://bootstrap.pypa.io/get-pip.py
[root@bogon py]# wget https://bootstrap.pypa.io/get-pip.py
--2014-06-23 16:37:50-- https://bootstrap.pypa.io/get-pip.py
Resolving bootstrap.pypa.io... 103.245.222.175
Connecting to bootstrap.pypa.io|103.245.222.175|:443... connected.
ERROR: certificate common name `*.c.ssl.fastly.net' doesn't match requested host name `bootstrap.pypa.io'.
To connect to bootstrap.pypa.io insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.
就手动下载了一份
然后python get-pip.py
之后再pip install -U selenium 就全部ok了
看来是centos上升级了python版本后安装pip有问题,
安装成功后到[root@bogon py]# ls -all /usr/local/lib/python2.7/|grep ^d
drwxr-xr-x 9 root root 4096 Jun 23 16:30 site-packages 就更新了,ok了看来之前的种种提示都是因为pip的安装问题了
使用wget https://bootstrap.pypa.io/get-pip.py
[root@bogon py]# wget https://bootstrap.pypa.io/get-pip.py
--2014-06-23 16:37:50-- https://bootstrap.pypa.io/get-pip.py
Resolving bootstrap.pypa.io... 103.245.222.175
Connecting to bootstrap.pypa.io|103.245.222.175|:443... connected.
ERROR: certificate common name `*.c.ssl.fastly.net' doesn't match requested host name `bootstrap.pypa.io'.
To connect to bootstrap.pypa.io insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.
就手动下载了一份
然后python get-pip.py
之后再pip install -U selenium 就全部ok了
看来是centos上升级了python版本后安装pip有问题,
安装成功后到[root@bogon py]# ls -all /usr/local/lib/python2.7/|grep ^d
drwxr-xr-x 9 root root 4096 Jun 23 16:30 site-packages 就更新了,ok了看来之前的种种提示都是因为pip的安装问题了
没有评论:
发表评论