pip3 更新源出问题啦(_) - V2EX
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
xiaohuangya
V2EX    Python

pip3 更新源出问题啦(_)

  •  
  •   xiaohuangya 2016-07-17 16:00:05 +08:00 5166 次点击
    这是一个创建于 3374 天前的主题,其中的信息可能已经有所发展或是发生改变。
    pip3 安装 packages 的速度好慢啊,怎么办?加入了那些代码
    [global]
    index-url = http://e.pypi.python.org/simple
    timeout = 1000
    [install]
    use-mirrors = true
    mirrors = http://e.pypi.python.org
    但是安装是说,不被信任。
    The repository located at e.pypi.python.org is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with '--trusted-host e.pypi.python.org'.
    Could not find a version that satisfies the requirement sympy (from versions: )
    No matching distribution found for sympy

    或者说--trusted-host 这个应该加在哪里?。或者有别的什么办法?(◎_◎;)
    萌新求教|·ω·)ノ
    6 条回复    2016-07-17 21:39:01 +08:00
    ChiangDi
        1
    ChiangDi  
       2016-07-17 16:12:29 +08:00 via Android
    运行命令时加在最后
    xiaohuangya
        2
    xiaohuangya  
    OP
       2016-07-17 16:30:50 +08:00
    @ChiangDi 为什么我输入这个: pip3 install sympy --trusted-host e.pypi.python.org
    会报错m(._.)m
    Collecting sympy
    Could not find a version that satisfies the requirement sympy (from versions: )
    No matching distribution found for sympy
    onlyice
        3
    onlyice  
       2016-07-17 16:39:00 +08:00
    这个 e.pypi.python.org 本来就是错的啊兄弟。。
    你点开看看能不能访问呀

    pypi.mirrors.ustc.edu.cn/simple
    xiaohuangya
        4
    xiaohuangya  
    OP
       2016-07-17 16:45:33 +08:00
    @onlyice 妥了。。网上都给的这些个网址,感谢大胸弟了|·ω·)ノ
    zsj950618
        5
    zsj950618  
       2016-07-17 18:10:31 +08:00
    用 ustc 的 pypi 源的时候可以使用 https://pypi.mirrors.ustc.edu.cn/
    lslqtz
        6
    lslqtz  
       2016-07-17 21:39:01 +08:00
    pypi.python.org 可以访问。。但 e.是错的
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2391 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 22ms UTC 15:37 PVG 23:37 LAX 08:37 JFK 11:37
    Do have faith in what you're doing.
    ubao snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86