how to build with 2.4 having 2.6 as main python

Shashwat Anand anand.shashwat at gmail.com
Mon Jun 14 04:45:40 EDT 2010


You can try a package : python_select

On Mon, Jun 14, 2010 at 2:00 PM, Alexzive <zasaconsulting at gmail.com> wrote:

> Hello there,
>
> my Mandriva has the 2.6.4 python pre-installed (in /usr/lib64/
> python2.6/)
> I need to install numpy 1.4 for python 2.4.3 (I installed it
> separately from source on/usr/local/lib/python2.4/ )
>
> but still typing "python" I get:
> Python 2.6.4 (r264:75706, Jan  8 2010, 18:59:59)
> [GCC 4.4.1] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>>
>
> what to change in order to get "python" calling python 2.4.3 instead
> of 2.6.4 (at least during python setup.py build)?
>
> I suppose I need something like changing the link to /usr/local/bin/
> python..
> but I fear to do something bad by myself..
> please help!
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100614/af93be85/attachment-0001.html>


More information about the Python-list mailing list