w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Missing Python.h and impossible to find

Ubuntu (and Debian) stores Python include files in /usr/include/python2.7. If the python2.7-dev package is installed (a dependency of python-dev) then Python.h will be located at:

/usr/include/python2.7/Python.h

You can locate what packages contain the file with the command:

dpkg -S Python.h

or list what files are installed with a package with:

dpkg -L python2.7-dev




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.