Fwd: [Nix-dev] Python 2 versus 3
Juan Daugherty
juan at acm.org
Thu Apr 22 14:58:12 CEST 2010
---------- Forwarded message ----------
From: Juan Daugherty <juan at acm.org>
Date: Thu, Apr 22, 2010 at 12:57 PM
Subject: Re: [Nix-dev] Python 2 versus 3
To: Peter Simons <simons at cryp.to>
Just out of curiosity what is the requirement to have both 2 and 3
in the same profile? Why can't you use 2 profiles?
On Thu, Apr 22, 2010 at 12:53 PM, Peter Simons <simons at cryp.to> wrote:
> Hi,
>
> as of now, it seems to be impossible to install Python 2 and 3 into the same
> profile. There is no technical reason for that restriction, rather, the problem
> is that both packages differ only in their version number, i.e. they're both
> called "python", so nix-env won't install both of them at the same time.
> Another side effect is that "nix -u python" will update the installed version
> from 2.6.5 to 3.1.1. This is really not desirable, because Python 3 is a
> different thing from Python 2.
>
> Personally, I need to use both Python 2 and 3 at the same time. There are
> several options to accomplish that, but IMHO the most straightforward solution
> would be to change the name of the python 3.x package to *gasp* "python3"?
>
> Does anyone other than me have an opinion regarding this issue?
>
> Take care,
> Peter
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>
--
===============================================
juan at acm.org Juan Daugherty on Skype
iPhone 01 716 285 0414 (USA)
===============================================
-------PGP SIGNATURE Attached If Signed-------=
--
===============================================
juan at acm.org Juan Daugherty on Skype
iPhone 01 716 285 0414 (USA)
===============================================
-------PGP SIGNATURE Attached If Signed-------=
More information about the nix-dev
mailing list