Archive

Archive for June, 2011

Python.h Problem: No such file or directory

June 9, 2011 1 comment

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

Categories: Uncategorized

A talk at SIAM

June 5, 2011 Leave a comment
Categories: Python

xkcd: Python

June 5, 2011 Leave a comment

Some fun stuff about Python.

Try:

import this

import antigravity # should be included in Python 2.7

Categories: Uncategorized