V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
yxy2829
V2EX  ›  Python

pip install 一些包总是超时, pip 不能用了吗?

  •  
  •   yxy2829 · 2017-10-25 14:25:55 +08:00 · 3543 次点击
    这是一个创建于 2368 天前的主题,其中的信息可能已经有所发展或是发生改变。
    pip install 一些包总是超时,pip 不能用了吗?使用国内源也是这种情况
    5 条回复    2017-10-25 14:43:27 +08:00
    ThinkZ
        1
    ThinkZ  
       2017-10-25 14:34:19 +08:00   ❤️ 1
    yxy2829
        2
    yxy2829  
    OP
       2017-10-25 14:34:36 +08:00
    试了豆瓣的镜像源可以了。。。
    gaojin
        3
    gaojin  
       2017-10-25 14:35:18 +08:00
    你检查一下 你设置国内源失效了么?
    就是当超时的时候,看一下 他连接的地址, 可以看出来是不是你这设置的源

    如果发现是国内源设置没有生效的话,可以看这篇 https://stackoverflow.com/questions/28278207/python-cant-find-pip-ini-or-pip-conf-in-windows7
    ThinkZ
        4
    ThinkZ  
       2017-10-25 14:35:20 +08:00
    国内源一切正常. 国外源主要是慢.
    yxy2829
        5
    yxy2829  
    OP
       2017-10-25 14:43:27 +08:00
    @gaojin
    @ThinkZ
    非常感谢,原来是使用的国外源,现在换成国内的了,正常了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   931 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 22:20 · PVG 06:20 · LAX 15:20 · JFK 18:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.