Posted by: terryhowe | December 23, 2014

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

When running multiple versions of tests this is a common problem caused by not having the correct development package installed. You do a find and you have a version of Python.h, but not the right now. There are potentially several packages you need to install on Ubuntu for python or pypy:


sudo apt-get install python-dev
sudo apt-get install python3-dev
sudo apt-get install python3.3-dev
sudo apt-get install python3.4-dev
sudo apt-get install pypy-dev

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: