* [gentoo-user] mixing python-2 and python-3 howto
@ 2010-04-22 13:29 Helmut Jarausch
2010-04-22 14:12 ` Justin
0 siblings, 1 reply; 3+ messages in thread
From: Helmut Jarausch @ 2010-04-22 13:29 UTC (permalink / raw
To: gentoo-user
Here,
several month ago I had problems since I had Python-2.x and Python-3.x
installed. Therefore I have masked Python-3.x since then.
Meanwhile there are packages (like portpeek-2.0.1) which require
Python-3.x . Is it safe to have both Python-2 and Python-3 installed.
I know they are slotted and I know about eselect python but do I have to
switch Python (by using eselect) before emerge a given packages.
And does this work at all (a Gentoo system where different parts use
different versions of Python)?
Many thanks for sharing your experience,
Helmut.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] mixing python-2 and python-3 howto
2010-04-22 13:29 [gentoo-user] mixing python-2 and python-3 howto Helmut Jarausch
@ 2010-04-22 14:12 ` Justin
2010-04-22 16:50 ` Albert W. Hopkins
0 siblings, 1 reply; 3+ messages in thread
From: Justin @ 2010-04-22 14:12 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1317 bytes --]
On 22/04/10 15:29, Helmut Jarausch wrote:
> Here,
>
> several month ago I had problems since I had Python-2.x and Python-3.x
> installed. Therefore I have masked Python-3.x since then.
> Meanwhile there are packages (like portpeek-2.0.1) which require
> Python-3.x . Is it safe to have both Python-2 and Python-3 installed.
> I know they are slotted and I know about eselect python but do I have to
> switch Python (by using eselect) before emerge a given packages.
> And does this work at all (a Gentoo system where different parts use
> different versions of Python)?
>
> Many thanks for sharing your experience,
> Helmut.
>
Currently there is only python version <3 supported as system python. So
you *never* eselect python 3. But there is no problem installing slotted
python versions side by side. There are currently to versions of
packages, those which support installation of multiple python ABIs. They
will install supporting modules for all available ABIs. And those which
support just a single version, they will install as normal and fix the
shebang to the highest supported version.
So in you case, just emerge python-3, but leave the system python to py-2.*.
There will be an announcement, when py-3.* goes stable and is supported
to be used as system python.
justin
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] mixing python-2 and python-3 howto
2010-04-22 14:12 ` Justin
@ 2010-04-22 16:50 ` Albert W. Hopkins
0 siblings, 0 replies; 3+ messages in thread
From: Albert W. Hopkins @ 2010-04-22 16:50 UTC (permalink / raw
To: gentoo-user
On Thu, 2010-04-22 at 16:12 +0200, Justin wrote:
> There will be an announcement, when py-3.* goes stable and is
> supported
> to be used as system python.
Yes, so make certain you leave instructions in your will ;)
(if you didn't get that then just ignore it)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-04-22 16:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-22 13:29 [gentoo-user] mixing python-2 and python-3 howto Helmut Jarausch
2010-04-22 14:12 ` Justin
2010-04-22 16:50 ` Albert W. Hopkins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox