- ubuntu20.04
- python的头文件,
- 在python-dev里
- python 安装后是python2.7
- python3要单独安装
必须要有 :pyconfig.h: No such file or directory
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-7/release/threading-multi/wrapper.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-7/release/threading-multi/import.o
In file included from ./boost/python/detail/prefix.hpp:13:0,
from ./boost/python/ssize_t.hpp:9,
from ./boost/python/object.hpp:8,
from ./boost/python/import.hpp:8,
from libs/python/src/import.cpp:6:
./boost/python/detail/wrap_python.hpp:50:11: fatal error: pyconfig.h: No such
|