ERROR: Could not find a version that satisfies the requirement virtualenv (from versions: none)

在安装virtualenv 时,碰到了如下问题
在这里插入图片描述
这是由于网络不稳定,因此在安装模块时,指定国内镜像

pip install 包名 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

其后指定的 --trusted-host pypi.douban.com 是为了获得ssl证书的认证

在这里插入图片描述

发布了81 篇原创文章 · 获赞 161 · 访问量 7万+

猜你喜欢

转载自blog.csdn.net/qq_34659777/article/details/104299953