multiple python versions in f12?

John Summerfield debian at herakles.homelinux.org
Fri Nov 6 08:57:40 UTC 2009


Robert P. J. Day wrote:
> On Thu, 5 Nov 2009, Rahul Sundaram wrote:
> 
>> On 11/05/2009 11:21 AM, Robert P. J. Day wrote:
>>>   what is the situation with python 2.6 vs 3.1 in f12?  IIRC, f12
>>> will still use python 2.6 internally, but if someone wanted to
>>> start programming in python, is it reasonable to simultaneously
>>> install python 3.1 and let them use that for their programming,
>>> while leaving the OS to continue using 2.6?  i can't see that
>>> causing any problems as long as the programmers explicitly refer
>>> to the python 3.1 program for their coding, but i just want to be
>>> sure.
>>>
>>>   besides, if someone was looking to learn to program in python, it
>>> would seem to make sense to just start with 3.1, no?
>> There is a lot of work being done for Fedora 13
>>
>> https://fedoraproject.org/wiki/Features/Python3F13
> 
>   but just *unofficially*, is there any issue with installing Python 3
> in F12 (or even F11, as i'm trying to do now)?  as it is, i've
> downloaded the Python-3.1.1 tarball, unloaded it and -- following
> along in the README -- just did:
> 
>   $ ./configure
>   $ make
>   $ make test
> 
> after which the README claims that running "make install" will install
> this as "python3", which would *seem* to allow it to co-exist
> peacefully on this system, and programmers could explicitly invoke
> "python3" if they wished.
> 
>   is there any flaw in my reasoning?

It should be installing to /usr/local. If so,it's almostall good - just 
watch for $PATH settings. Probably, you don't want /usr/local 
directories ahead of not-local directories for the normal case.

Alternatively, just use one of your spare lappies for a test system.

Or a virtual system.

-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)




More information about the fedora-test-list mailing list