By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,376 Members | 1,599 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,376 IT Pros & Developers. It's quick & easy.

Python2.2/config/makefile?

P: n/a
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
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Nathaniel Mallet wrote:
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
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.