python - 在python中找不到满足要求的版本

标签 python pip virtualenv

我正在尝试在 here 的 mac os 中使用 python2 创建虚拟环境.
运行时 pip install virtualenv命令在终端我收到以下错误。

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

详细说明可以在link中找到。 Anupam 在评论中分享。

关于python - 在python中找不到满足要求的版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49745105/

相关文章:

python - 如何从 tensorflow 检查点文件正确恢复网络训练?

python - 为什么我不能在 collections.MutableMapping 的子类上对 __setitem__ 进行猴子修补

docker 容器中的 Python

Python-Nmap.0.3.4安装失败

python - 如何通过 python setuptools 执行脚本或函数?

python - 如何在 linux ubuntu 18.04 python 3.7 上使用 pip 安装 venv

python - 运行 django 时,Twisted 服务器意外崩溃

ubuntu - 为什么 virtualenv workon 不带我到 env 目录

python - 如何解决 "dyld: Library not loaded: @executable_path.."错误

python - Pip install 不会将模块添加到 Microsoft Azure 中的 python