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
wuwukai007
V2EX  ›  Python

国内 pypi 的镜像源同步时间为什么要一天啊?

  •  
  •   wuwukai007 · 2020-02-07 15:56:32 +08:00 · 3754 次点击
    这是一个创建于 1533 天前的主题,其中的信息可能已经有所发展或是发生改变。

    自己电脑有外网还好,指定--index-url 可以下最新的,但是公司没有外网要等一天,等镜像源同步第二天才能用。。。。。

    5 条回复    2020-02-07 16:31:01 +08:00
    Showfom
        1
    Showfom  
       2020-02-07 16:04:07 +08:00
    设置了一天同步一次呗
    ClericPy
        2
    ClericPy  
       2020-02-07 16:16:15 +08:00
    豆瓣镜像算较快的了, 我印象中几分钟就有了

    pypi 官方有时候刚发布就有, 有时候得等几分钟, 反正阿里云机器上的我都改了豆瓣, 家里都用官方了
    wuwukai007
        3
    wuwukai007  
    OP
       2020-02-07 16:25:30 +08:00   ❤️ 1
    @ClericPy 谢谢,我试试豆瓣的。原来用的清华的
    ClericPy
        4
    ClericPy  
       2020-02-07 16:30:11 +08:00
    @wuwukai007 #3 如果用阿里云机器, 除了改默认 pypi, 还要改默认 hosts/dns, 默认的各路 bug, 除了快一无是处
    wuwukai007
        5
    wuwukai007  
    OP
       2020-02-07 16:31:01 +08:00
    @ClericPy 确实,改了豆瓣源立马有了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1125 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 18:28 · PVG 02:28 · LAX 11:28 · JFK 14:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.