I want to compile a Python module on my Linux system, but some files are missing. Why?

Most packaged versions of Python don’t include the /usr/lib/python2.x/config/ directory, which contains various files required for compiling Python extensions.

For Red Hat, install the python-devel RPM to get the necessary files.

For Debian, run:

apt-get install python-dev.

CATEGORY: extending

 

A Django site. this page was rendered by a django application in 0.02s 2008-10-13 12:47:35.356997. hosted by webfaction.