pip 기본 서버 변경
http://pypi.douban.com/ 콩짜개
http://mirrors.aliyun.com/pypi/ ( , Orz)
http://pypi.sdutlinux.org/ ( , )
http://e.pypi.python.org/
http://pypi.hustunique.com/
http://pypi.mirrors.ustc.edu.cn
수 동 테스트
<!-- lang: shell -->
pip install web2py -i http://pypi.douban.com/simple
기본 서버 로 설정:
~/.pip/pip.conf 를 엽 니 다(저장 할 수 없 으 면 권한 을 보십시오)다음 내용 을 입력 하 십시오:[global]timeout=6000 index-url=http://pypi.douban.com/simple/ 테스트:
<!-- lang: shell -->
sudo pip install Scrapy
다음 정 보 를 표시 하면 성공 합 니 다.(국내 에 HTTPS 를 지원 하 는 pypi 서버 가 없 는 것 같 습 니 다.)
Downloading/unpacking Scrapy http://pypi.douban.com/simple/Scrapy/ uses an insecure transport scheme (http). Consider using https if pypi.douban.com has it available http://pypi.douban.com/Scrapy/ uses an insecure transport scheme (http). Consider using https if pypi.douban.com has it available Downloading Scrapy-0.24.4-py2-none-any.whl (444kB): 444kB downloaded Requirement already satisfied (use –upgrade to upgrade): pyOpenSSL in /usr/lib/python2.7/dist-packages (from Scrapy) Requirement already satisfied (use –upgrade to upgrade): six>=1.5.2 in /usr/lib/python2.7/dist-packages (from Scrapy) Downloading/unpacking queuelib (from Scrapy) http://pypi.douban.com/simple/queuelib/ uses an insecure transport scheme (http). Consider using https if pypi.douban.com has it available http://pypi.douban.com/queuelib/ uses an insecure transport scheme (http). Consider using https if pypi.douban.com has it available Downloading queuelib-1.2.2-py2.py3-none-any.whl Requirement already satisfied (use –upgrade to upgrade): lxml in /usr/lib/python2.7/dist-packages (from Scrapy) Downloading/unpacking w3lib>=1.8.0 (from Scrapy) http://pypi.douban.com/simple/w3lib/ uses an insecure transport scheme (http). Consider using https if pypi.douban.com has it available http://pypi.douban.com/w3lib/ uses an insecure transport scheme (http). Consider using https if pypi.douban.com has it available Downloading w3lib-1.10.0-py2.py3-none-any.whl Downloading/unpacking cssselect>=0.9 (from Scrapy) http://pypi.douban.com/simple/cssselect/ uses an insecure transport scheme (http). Consider using https if pypi.douban.com has it available http://pypi.douban.com/cssselect/ uses an insecure transport scheme (http). Consider using https if pypi.douban.com has it available Downloading cssselect-0.9.1.tar.gz Running setup.py (path:/tmp/pip_build_root/cssselect/setup.py) egg_info for package cssselect no previously-included directories found matching 'docs/build' Requirement already satisfied (use –upgrade to upgrade): Twisted>=10.0.0 in /usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg (from Scrapy) Requirement already satisfied (use –upgrade to upgrade): zope.interface>=3.6.0 in /usr/lib/python2.7/dist-packages (from Twisted>=10.0.0->Scrapy) Installing collected packages: Scrapy, queuelib, w3lib, cssselect Running setup.py install for cssselect no previously-included directories found matching 'docs/build' Successfully installed Scrapy queuelib w3lib cssselect Cleaning up…
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
다양한 언어의 JSONJSON은 Javascript 표기법을 사용하여 데이터 구조를 레이아웃하는 데이터 형식입니다. 그러나 Javascript가 코드에서 이러한 구조를 나타낼 수 있는 유일한 언어는 아닙니다. 저는 일반적으로 '객체'{}...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.