Windows环境Python 3.11安装guppy3失败:缺失longintrepr.h文件
Windows 下安装 guppy3 失败:无法找到 longintrepr.h 文件
环境信息
- 操作系统:Windows
- 已更新工具版本:
- wheel:0.38.4
- pip:23.0.1
- setuptools:67.6.0
操作步骤
执行安装命令:
pip install guppy3
错误情况
安装初期流程正常,但编译阶段出现致命失败,关键错误信息如下:
Collecting guppy3 Using cached guppy3-3.1.2.tar.gz (335 kB) Preparing metadata (setup.py) ... done Building wheels for collected packages: guppy3 Building wheel for guppy3 (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [95 lines of output] // 省略大量编译输出内容 bitset.c src/sets/bitset.c(7): fatal error C1083: 無法開啟包含檔案: 'longintrepr.h': No such file or directory error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe' failed with exit code 2
已尝试更新所有相关工具版本,但问题仍未解决,求可行的修复方案。
内容的提问来源于stack exchange,提问作者Leee Jeff
相关产品推荐
相关产品推荐

