pip install 导入三方包报错

原因:查找网上的解释是网速太慢,或被墙了。
解决办法:使用国内镜像加速。
>pip install pytest -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

原因:查找网上的解释是网速太慢,或被墙了。
解决办法:使用国内镜像加速。
>pip install pytest -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
本文标题:pip install 三方包失败
本文链接:https://www.haomeiwen.com/subject/pcvzmctx.html
网友评论