Python.h: No such file or directory

后端 未结 6 1955
误落风尘
误落风尘 2020-12-23 13:12

I recently installed KDevelop 4 for C++ development on my Macbook Pro running Ubuntu 12.04 LTS.

I want to embed Python application in my C++ code. To do that, one ne

6条回答
  •  臣服心动
    2020-12-23 13:46

    I assume that it is already installed. Find the path with:

    find / -iname python.h
    

    and when you have done so, when compiling add

    -I python_h_path
    

提交回复
热议问题