Thanks, that was just the hint that I needed. In case anyone else that was struggling with this configuration, what I did was:
wget http://bashton.com/downloads/rpm/python/python25-devel-2.5.1-bashton1.x8 6_64.rpm sudo yum --nogpgcheck localinstall python25-devel-2.5.1-bashton1.x86_64.rpm sudo sh setuptools-0.6c11-py2.5.egg sudo python2.5 ez_setup.py ... Now the rest of the install is working (although my code still has a unnecessary dependency for me to work out ;-( ). Walter -----Original Message----- From: P.J. Eby [mailto:[email protected]] Sent: Saturday, March 06, 2010 10:07 AM To: Walter Coole; [email protected] Subject: Re: [Distutils] Newby Question: install easy_install for python2.5 on RHEL At 01:22 PM 3/2/2010 -0800, Walter Coole wrote: >Content-Class: urn:content-classes:message >Content-Type: multipart/alternative; > boundary="----_=_NextPart_001_01CABA4E.86D76612" > >When I try to install with: > > sudo sh setuptools-0.6c11-py2.5.egg > >I get an error: > > error: invalid Python installation: unable to open > /usr/lib64/python2.5/config/Makefile (No such file or directory) > >That I don't really understand. Yes, it's true that there is no >/usr/lib64/python2.5/config directory, but I've gotten along nicely >without one for quite a while. You are probably missing your distribution's "python-dev" or "python-devel" package, which is required to use the distutils at all, let alone setuptools. _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
