Ubuntu - Linking boost.python - Fatal error: pyconfig cannot be found

后端 未结 7 823
走了就别回头了
走了就别回头了 2020-12-08 04:28

Having some issues, now I have read the following:

hello world python extension in c++ using boost?

I have tried installing boost onto my desktop, and, done

7条回答
  •  被撕碎了的回忆
    2020-12-08 04:40

    I had a similar experience when building boost for centos7. I was not able to find pyconfig.h on my system only pyconfig-64.h.

    After searching around I found that you need to install python-devel to get pyconfig.h

提交回复
热议问题