错误:命令“gcc”;失败,退出状态为 1

发布于 2024-12-08 04:01:21 字数 189 浏览 1 评论 0原文

我收到的错误是“ error: command 'gcc' failed with exit status 1 ”

我使用的命令是: python setup.py build --compiler=mingw32

我使用的是 Windows XP,并且安装了 minGW。我正在尝试将 kinterbasdb 用于 python。

The error I am getting is " error: command 'gcc' failed with exit status 1 "

The command I'm using is: python setup.py build --compiler=mingw32

I'm on Windows XP and I installed minGW. I am trying to use kinterbasdb for python.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

隐诗 2024-12-15 04:01:21

这意味着它没有使用 mingw32 作为编译器。在终端类型中,

which mingw32

如果不返回任何内容,则系统不知道已安装此编译器。这可能就是问题所在。然后您必须将编译器添加到路径变量中并重试。

That means it did not use mingw32 as a compiler. In the terminal type

which mingw32

If that does not return anything the system does not know that this compiler is installed. That could be the problem. Then you'd have to add the compiler to the path variable and try again.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文