473,386 Members | 1,652 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Python2.2/config/makefile?

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
1 4123
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Mike S. | last post by:
Hello, Has anyone had success compiling the informixdb-1.3 module under python 2.2? It seems the absense of makefile.pre.in in python 2.2 causes the break under py2.2. Is there an easy way...
1
by: andrew cooke | last post by:
Hi, At work I'm using a machine running Red Hat Linux, with various python versions installed. For some reason there's no config directory (and so no makesetup) in /usr/lib/python2.3/ - is this...
0
by: Wolfgang | last post by:
I have a problem with linking my CPP Code under a irix6 machine (sgi, UNIX). In my CPP code I use some Functions which are written in Python. So its a kind of CPP wrapper for my Python functions In...
3
by: Tin Gherdanarra | last post by:
Hallo, when trying to run the script ez_setup.py, I fail with unable to open /usr/lib/python2.3/config/Makefile This is true. There is no /usr/lib/python2.3/config directory. A check on...
2
by: venkatbo | last post by:
Hi all, I have python2.4 running on ppc-linux 2.6.17. I'm attempting to get a TurboGears 0.9a9 (using CherryPy 2.2.1) based app running on it. During the TG-app startup sequence, it reaches...
0
by: venkatbo | last post by:
Hi, I'm trying to cross compile a C extension - on a i686 linux box, targeting a ppc-linux box. get_config_vars(*args): global _config_vars if _config_vars is None: ... else:
15
by: Christopher Taylor | last post by:
RHEL comes with Python2.3 installed. A program I need to install requires Python2.4 So I got Python2.4 from source and compiled it up. I configured it with --prefix=/usr --exec-prefix=/usr...
7
by: zaperaj | last post by:
I use red hat 9 which comes with python2.2 installed in it. Wanting to use the latest version, i downloaded python 2.5.1 from the official python website. After downloading, i performed the...
5
by: koolest1 | last post by:
I use red hat 9 which comes with python2.2 installed in it. Wanting to use the latest version, i downloaded python 2.5.1 from the official python website. After downloading, i performed the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.