Pyinstaller: path or glob "/usr/include/python3.4m/pyconfig.h" not found or does not match the files. "

I am trying to create my project on the Oracle ubuntu 14.04.2 LTS virtual kernel.

My project is in Python 34. I installed pyinstaller via:

pip install https://github.com/pyinstaller/pyinstaller/archive/python3.zip 

When I run pyinstaller run.py , I get the following error:

 FileNotFoundError: Path or glob "/usr/include/python3.4m/pyconfig.h" not found or matches no files. 

I really don't have the directory '/usr/include/python3.4m', only 'usr / include / python2.7'. Python 34 is installed (by default in Ubuntu).

How can I make it work?

+5
source share
1 answer

Apparently installing the libpython3.4-dev package solved the problem. http://packages.ubuntu.com/utopic/amd64/libpython3.4-dev/filelist

So, sudo apt-get install libpython3.4-dev if you sudo apt-get install libpython3.4-dev into a problem.

+10
source

All Articles