Python2.2/config/makefile?

N

Nathaniel Mallet

I'm trying to install MySQLdb on SuSE 8.1, but the setup script
complains that it can't find /usr/lib/python2.2/config/makefile. I
just looked at the ActiveState distribution on Windows, the default
Python install on SuSE 8.1 AND the Python 2.3 source distribution
downloadable from Python.org, and none of them have any mention of
that makefile. The whole config directory simply doesn't exist.

The MySQLdb setup script doesn't refer to that path or file either.
The error I get is this:

disutils.errors.DistutilsPlatformError: invalid Python installation:
unable to open /usr/lib/python2.2/config/makefile: no such file or
directory.

Any ideas?

Thanks,

Phemur
 
?

=?ISO-8859-1?Q?Gerhard_H=E4ring?=

Nathaniel said:
disutils.errors.DistutilsPlatformError: invalid Python installation:
unable to open /usr/lib/python2.2/config/makefile: no such file or
directory.

Install the Python development package, called python-devel or some such
in your distribution.

This is really a FAQ and probably should be listed in the Python FAQ if
it not already is ...

-- Gerhard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,602
Members
45,182
Latest member
BettinaPol

Latest Threads

Top