[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: multiple versions of python



On 12/29/2014 09:17 PM, Boruch Baum wrote:
Hello everyone,

I'm preparing two bug reports, and in trying to sort one of them out, it
seems that it may be linked to an incompatibility of a script with
python2.7 (see bug #659831). So, in test that possibility, what I would
like to do is install some other version of python (I see 2.5 and 2.6 in
the repositories), in order to see whether the package works with
another version.

My questions revolve around how time-consuming and worthwhile this
exercise will be:

1] Can I have multiple versions of python simultaneously?

2] Is there a way to specify that one package use a non-default version
of python? (I don't want to set an old version of python as default, if
that risks having other packages, depending on 2.7, break).

3] Is this a quick, straightforward install? Or is it going to be
something like an emacs install, with all kinds of time-consuming,
interminable local compilations and configurations?

Please respond to me directly, and on list. Thanks.

It sounds like you need virtualenv: https://pypi.python.org/pypi/virtualenv

Regards,
Alex


Reply to: