<Python>OpenPIV安装E

2024-04-19 13:07:01 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试在64位Win7上安装OpenPIV(python构建)。在

{(安装程序-}正在下载文件^:

python setup.py install

我收到错误:

^{pr2}$

一些研究建议我使用:

python setup.py build --compiler=mingw32

结果是:

error: command 'gcc' failed: No such file or directory.

因此,我安装了MinGW并调整了PATH变量以包括C:\MinGW\bin,其中{}位于其中,但没有骰子。接下来,我尝试重新启动命令提示符,重新启动计算机,重新安装MinGW,并重新安装安装文件。在

运行gcc:

C:\OpenPIV\> gcc
gcc:fatal error: no input files
compilation terminated.

我想这意味着gcc可以工作,但是

python setup.py build --compiler=mingw32

仍然会导致:

error: command 'gcc' failed: No such file or directory.

谢谢大家。如有任何建议/建议,我们将不胜感激。在


Tags: nopybuildcompilersetuperroropenpiv建议
1条回答
网友
1楼 · 发布于 2024-04-19 13:07:01

经过数小时的搜索,我发现这是MinGW和Python之间的一个问题。他们彼此沟通不好。在

存在一个MinGW(非官方)的二进制包,用于位于here的Python

这就解决了问题!在

相关问题 更多 >