本帖最后由 一挽 于 2024-6-19 16:05 编辑
- In file included from /www/server/panel/install/phpy-1.0.4/src/python/reference.cc:18:
- /www/server/panel/install/phpy-1.0.4/include/phpy.h:21:10: fatal error: Python.h: No such file or directory
- 21 | #include <Python.h>
- | ^~~~~~~~~~
- compilation terminated.
- make: *** [Makefile:213: src/python/reference.lo] Error 1
- error
复制代码
在 /opt/anaconda3 安装了虚拟环境 并切换python为3.10.11然后在php8.3安装扩展就提示这个
|