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



  • To resolve this error install the python development package. For Redhat/Centos.

    $ sudo yum install python-devel
    

    For Ubuntu, python2 or python3

    sudo apt-get install python-dev  
    
    sudo apt-get install python3-dev 
    

Log in to reply
 

© Lightnetics 2024