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

后端 未结 7 820
走了就别回头了
走了就别回头了 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:46

    In my case, I had to create a soft link in my dir /usr/include/

    ln -s python3.5m python3.5
    

    the probleme was that i was using python 3.5 but only the python3.5m directory was existing so it wasn't able to find the pyconfig.h file.

提交回复
热议问题