找不到满足python要求的版本 [英] Could not find a version that satisfies the requirement in python
本文介绍了找不到满足python要求的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试从此处在mac操作系统中使用python2创建虚拟环境. .
在终端中运行pip install virtualenv
命令时,出现以下错误.
I am trying to create virtual env with python2 in mac os from here.
While running pip install virtualenv
command in terminal I am getting following error.
Could not find a version that satisfies the requirement virtualenv (from versions: )
No matching distribution found for virtualenv
推荐答案
运行此命令,然后重试
curl https://bootstrap.pypa.io/get-pip.py | python
详细说明可在Anupam在评论中共享的链接中找到.
The detailed description can be found in the link shared by Anupam in the comments.
这篇关于找不到满足python要求的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文