[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27572: simultaneous installation of python2 and python3 fails
From: |
Diego Nicola Barbato |
Subject: |
bug#27572: simultaneous installation of python2 and python3 fails |
Date: |
Mon, 10 Jul 2017 17:59:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello Ludo,
Thanks for your reply.
address@hidden (Ludovic Courtès) writes:
> Hello Diego,
>
> Diego Nicola Barbato <address@hidden> skribis:
>
>> When running the command "guix pull && guix package -i address@hidden python"
>> instead of installing the latest version of python2 and python3, as it
>> used to do until about four weeks ago, guix gives following error
>> message (hash values replaced with ...):
>>
>> guix package: error: profile contains conflicting entries for python:out
>> guix package: error: first entry: address@hidden:out
>> /gnu/store/...-python-2.7.13
>> guix package: error: second entry: address@hidden:out
>> /gnu/store/...-python-3.5.3
>
> Indeed, Guix now refuses to install two different versions or variants
> of the same package since in general they would conflict.
>
> In this particular case, they do not actually conflict, I think, since
> address@hidden provides executables prefixed by “3” whereas address@hidden
> does not.
>
> Perhaps we should rename “python” to “python2” or something like that?
>
> In the meantime, I recommend using separate profiles for your Python 2
> and Python 3 development environments. Is that a viable option for you?
Using separate profiles seems like a reasonable option. I also tried
using guix environment with the --ad-hoc flag.
> Thanks,
> Ludo’.
Greetings
Diego