美文网首页
解决virtualenv(虚拟环境)中 pip install

解决virtualenv(虚拟环境)中 pip install

作者: 成功在于实践 | 来源:发表于2020-09-12 10:06 被阅读0次

1.解决方案:

(1). 重新执行命令,反复安装,直到成功

(2). 指定镜像源:

pip install xxxxxxxx   -i https://pypi.tuna.tsinghua.edu.cn/simple/

(3)如果还是下载安装比较慢,可以把上面的镜像源链接换为下面的任意一个

http://mirrors.aliyun.com/pypi/simple/

http://pypi.douban.com/simple/

http://pypi.mirrors.ustc.edu.cn

2.举例如下:

image.png

3.参考文章:

https://blog.csdn.net/qq_38582906/article/details/106150554

4.拓展文章:

让PIP源使用国内镜像,提升下载速度和安装成功率。

https://www.cnblogs.com/microman/p/6107879.html

相关文章

网友评论

      本文标题:解决virtualenv(虚拟环境)中 pip install

      本文链接:https://www.haomeiwen.com/subject/mbtwektx.html