Installing Python modules as RPMs when there are 2 interpreters installed!

John johng2001 at rediffmail.com
Tue Mar 4 21:00:58 CET 2003


Jeff Epler <jepler at unpythonic.net> wrote in message news:<mailman.1046742726.10653.python-list at python.org>...
> On Mon, Mar 03, 2003 at 01:26:37PM -0800, John wrote:
> > I have a Linux machine (Red Hat 7.2) that has Python 1.5. I installed
> > Python 2.2 later. It is problematic to remove 1.5 since quite a few
> > tools depend on it. Now I need to install some modules (as RPMS) on
> > 2.2 for my work. But they are getting installed on 1.5. How can I
> > specify 2.2 as the target.
> > 
> > Thanks
> > -- 
> > http://mail.python.org/mailman/listinfo/python-list
> 
> I think this is the magic incantation:
>     python2 setup.py bdist_rpm --python=/usr/bin/python2
> 
> Jeff

Isn't that for "creating" an RPM? My problem is with installing one
that has already been created to a specific interpreter.

Regards,
John.




More information about the Python-list mailing list