pip download in mainland china

pip install ...

  the command above in p.r.china is awfully slow.

  You can use the command below

sudo pip install the-library-you-want-to-install --trusted-host pypi.douban.com -i http://pypi.douban.com/simple

  

时间: 2024-08-24 13:27:05

pip download in mainland china的相关文章

Cross The GFW(Great Firewall of China)

Present Situation GFWGreat Firewall of China Theory How To Present Situation As we all know, those who from Mainland China could not enjoy the freedom which brought by the real Internet. For example, we could not access the websites such as Google, F

使用国内镜像通过pip安装python的一些包 Cannot fetch index base URL http://pypi.python.org/simple/

原文地址:http://www.xuebuyuan.com/1157602.html 学习flask,安装virtualenv环境,这些带都ok,但是一安装包总是出错无法安装, 比如这样超时的问题: (env)[email protected]:~/flask_study/venv-test/test$ easy_install Flask-SQLAlchemy Searching for Flask-SQLAlchemy Reading http://pypi.python.org/simpl

安装setuptools和pip 以及安装时报错解决

1.安装setuptools和pip 安装完python后,需要安装pip,参考网上教程有说可以用easy_install安装pip,那就先安装easy_install再安装pip,安装easy_install和pip的方法如下: wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz tar -vxf setuptools-1.4.2.tar

Ubuntu14.04上安装pip的方法

在Ubuntu14.04上,通过sudo apt-get install python-pip下载的pip版本有些老,在使用时很可能出现下面的问题 [email protected]:~# pip Traceback (most recent call last): File "/usr/bin/pip", line 9, in <module> load_entry_point('pip==1.5.4', 'console_scripts', 'pip')() File

pip安装第三方包超时

1. pip安装requests模块超时 [[email protected]4 zabbix_agentd.d]# pip install requests Collecting requests /usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SN

Windows下使用pip安装python包是报错-UnicodeDecodeError: &#39;ascii&#39; codec can&#39;t decode byte 0xcb in position 0

先交待下开发环境: 操作系统:Windows 7 Python版本:2.7.9 Pip版本:6.1.1 其他环境忽略 在windows下使用pip下载python包,出现如下错误 [plain] view plain copy Collecting xxxxxx Exception: Traceback (most recent call last): File "D:\Python27\lib\site-packages\pip-6.0.8-py2.7.egg\pip\basecommand.

“SSLError: The read operation timed out” when using pip

Downloading/unpacking Django>=1.5.1,<1.6 (from -r requirements.txt (line 1)) Downloading Django-1.5.4.tar.gz (8.1MB): 8.0MB downloaded Cleaning up... Exception: Traceback (most recent call last): File "/vagrant/venv/local/lib/python2.7/site-pac

An interesting experiment on China&rsquo;s censorship

This paper presented a very interesting topic. Censorship in China has always drawn people's attention since in a perspective of universal values censorship repress the free will of people to express themselves. This paper, focusing on the censorship

Debian (Jessie 8.0) 的修复pip AttributeError: &#39;module&#39; object has no attribute &#39;PROTOCOL_SSLv3&#39;

升级到最新的stable后,python的pip还是老的. 在安装一些包的时候,报错了 Traceback (most recent call last): File "/usr/bin/pip", line 9, in <module> load_entry_point('pip==1.5.6', 'console_scripts', 'pip')() File "/usr/lib/python2.7/dist-packages/pkg_resources.py