Home > Uncategorized > Python.h Problem: No such file or directory

Python.h Problem: No such file or directory

some Python package with easy_install and got the following error:

Python.h: No such file or directory

To solve this problem, you need to install the Python development headers:

To get the best version of the apt-package search for it using e.g.

sudo apt-cache search python

For case that you are using python2.6, you should be able to find the python2.6-dev in the list, then type:

sudo apt-get install python2.6-dev

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. July 10, 2011 at 8:33 AM

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

%d bloggers like this: