6 Replies Latest reply on Jun 15, 2017 5:54 PM by Intel Corporation

    Python.h not found but python-dev installed

    ayw

      I'm trying to install a python module and get the error

       

      fatal error: Python.h: No such file or directory

      #include "Python.h"

                         ^

      compilation terminated.

       

      but when I enter

       

      sudo opkg install python-dev

       

      as recommended by other posts, I get

       

      Package python-dev (2.7.3-r0.3) installed in root is up to date.

       

      so why is Python.h not found and why can't I install my package?