使用aptget install python3dev重新安装后未找到Python.h文件错误

2024-06-28 18:44:10 发布

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

/SPlisHSPlasH/extern/pybind/include/pybind11/detail/common.h:112:10: fatal error: Python.h: No such file or directory

#包括<;Python.h>

即使在运行sudoapt-get-install开发工具和前面答案中提出的所有其他解决方案之后,我仍然会遇到这个CMake错误。在我做了。。我确实犯了Python.h错误,并一直得到这个错误


Tags: ornoinclude错误externerrorcommondirectory