Python安装包时出现源服务器信任问题
pip install --extra-index-url http://mirror.in.zhihu.com/simple xxx(tzone.client==0.3.3) --trusted-host mirror.in.zhihu.com
-
pip install 表示通过pip 来安装某种包
-
xxx 表示你要安装的包名,比如pipenv,jupyter等等
-
-i http://pypi.douban.com/simple 表示将镜像地址切换为国内,这里切换到了豆瓣
4.--trusted-host pypi.douban.com 表示将指定网站设置为信任服务器

浙公网安备 33010602011771号