在Windows下安装virtualenv 时,碰到了如下问题

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

 

这是由于网络不稳定,因此在安装模块时,指定国内镜像

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

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

相关文章:

  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2022-12-23
  • 2021-11-07
  • 2022-12-23
猜你喜欢
  • 2021-12-21
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
  • 2021-12-11
相关资源
相似解决方案