![](/img/trans.png)
[英]Could not find a version that satisfies the requirement optapy (from versions: none)
[英]Could not find a version that satisfies the requirement gcc7 (from versions: )
我尝试使用命令安装 gcc7
pip install gcc7
如https://pypi.org/project/gcc7/所示。
但我收到以下错误。 有人可以建议如何解决这个问题吗?
C:\Users\Harsha>pip install gcc7
ERROR: Could not find a version that satisfies the requirement gcc7 (from versions: none)
ERROR: No matching distribution found for gcc7
这是我的系统信息
C:\Users\Harsha>python --version
Python 3.7.3
我还升级了 pip 版本。
如果您正在谈论这个: https://pypi.org/project/gcc7/ ,那么它不支持 Windows (您似乎在 Windows 基于您的命令行提示符)。
最新版本0.0.9仅具有适用于 Mac 的轮子(因此它可以在 Mac 上正常安装)。 旧版本0.0.7具有 Linux 和 Mac 的轮子(所以这个旧版本可以在 Linux 上正常安装)。 它没有 Windows 的安装文件,因此您将无法在 Windows 上安装它。
这是有道理的,因为gcc
本身不支持 gcc。 您将不得不找到另一种方法以某种方式在gcc
上获得 gcc。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.