[Distutils] Newby Question: install easy_install for python2.5 on RHEL

Bill Janssen janssen at parc.com
Wed Mar 3 19:26:23 CET 2010


Walter Coole <WCoole at aperiogroup.com> wrote:

> When I try to install with:
> 
>  
> 
>                 sudo sh setuptools-0.6c11-py2.5.egg

Walter, I believe you want

          sudo sh setuptools-0.6c11-py2.5.egg --install-dir MYDIR

which tells it exactly where to put the setuptools package.

Bill

> 
>  
> 
> 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.
> 
>  
> 
> I haven't had much trouble with my Fedora box (which uses 2.5 by
> default) or the default 2.4 installation on my RHEL (which doesn't help,
> since my application needs 2.5), so I started thinking I knew what I was
> doing.
> 
>  
> 
> I'm sure that there is some confusion due to the fact that I've
> installed python2.5 in a different-than-usual directory.  I need to keep
> "python" referring to python2.4, since RHEL 5.2 depends on it.
> Presumably, if I can tell setuptools-0.6c11-py2.5.egg enough about where
> things are, it should be able to adapt.
> 
>  
> 
> I've tried several variations, but haven't made much progress.   If
> anyone could point out which option to use to override its choice of
> directory or which directory to point it to, that would be a big help.
> 
>  
> 
> Or perhaps I've just been looking at this completely wrong-headedly, in
> which case I'd be most grateful for instructions on how to install some
> variation of setuptools to work with python2.5 on a RHEL 5 system.
> 
>  
> 
> Thanks!
> 
> Walter
> 
>  
> 
> PS. In case it matters to anyone, all I really need to do is to install
> the beatbox module, for which I have the .egg file, but I don't know how
> to install a .egg file in a useful way without setuptools or some such.
> It seem a shame to break open the egg and install its guts manually, but
> if that seems like the available alternative, I'd welcome any pointers.
> 
>  
> 
>  
> 
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig


More information about the Distutils-SIG mailing list