Cannot fetch index base URL https://pypi.python.org/simple/
2016-10-10 20:49
876 查看
这个就是相源的问题,正常安装你的根目录下会有这个pip.log文件,如下
root@liu:~# ll .pip/
total 16
drwxr-xr-x 2 root root 4096 Sep 1 23:06 ./
drwx—— 6 root root 4096 Sep 1 23:06 ../
-rw-r–r– 1 root root 85 Sep 1 23:04 pip.conf
现在修改源,创建文件php.conf,内容如下
root@liu:~# cat .pip/pip.conf
[global]
index-url=http://pypi.douban.com/simple
v2ex:
http://pypi.v2ex.com/simple
好的,重新安装就ok了。
From: http://www.knowsky.com/886127.html
root@liu:~# ll .pip/
total 16
drwxr-xr-x 2 root root 4096 Sep 1 23:06 ./
drwx—— 6 root root 4096 Sep 1 23:06 ../
-rw-r–r– 1 root root 85 Sep 1 23:04 pip.conf
现在修改源,创建文件php.conf,内容如下
root@liu:~# cat .pip/pip.conf
[global]
index-url=http://pypi.douban.com/simple
v2ex:
http://pypi.v2ex.com/simple
好的,重新安装就ok了。
From: http://www.knowsky.com/886127.html
相关文章推荐
- pip安装python包出现Cannot fetch index base URL http://pypi.python.org/simple/
- pip安装python包出现Cannot fetch index base URL http://pypi.python.org/simple/
- pip安装python包出现Cannot fetch index base URL http://pypi.python.org/simple/
- pip安装python包出现Cannot fetch index base URL http://pypi.python.org/simple/
- pip安装python包出现Cannot fetch index base URL http://pypi.python.org/simple/
- pip install requests 报错 Could not fetch URL https://pypi.python.org/simple/requests/: There was ..r
- python安装时出现Could not fetch URL https://pypi.python.org/simple/pool/: There was a problem confirming
- Could not fetch URL https://pypi.org/simple/mysql-python/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443):解决方案
- Download error on https://pypi.python.org/simple/setuptools-scm/解决办法
- .CondaHTTPError: HTTP Error: Could not find URL: https://pypi.python.org/pypi/win-64/
- pip install Error - ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read
- pip安装scrapy报错 ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org, port=443) Read time out
- ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out.
- https://pypi.python.org/pypi/ssh
- pip install Error - ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read
- pip install Error - ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read
- python安装报443,https; HTTPSConnectionPool(host='pypi.python.org', port=443):
- 使用pip install时报错:ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed
- https://pypi.python.org/pypi/lxml/2.3/
- ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out.