include Python.h error : initconfig.h not found_include python.h 报错_barbyQAQ的博客-CSDN博客

网站介绍:文章浏览阅读536次。You cannot and should not include Python.h this way.You need to #include <Python.h> and pass an appropriate -I command line argument to the compiler,e.g. -I/usr/include/python3.8.try locate your Python.h:gemfield@ThinkPad-X1C:~$ locate Python.h/_include python.h 报错