From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diego Nicola Barbato Subject: bug#27572: simultaneous installation of python2 and python3 fails Date: Mon, 10 Jul 2017 17:59:34 +0200 Message-ID: <87van0b7vd.fsf@GlaDOS.home> References: <877ezoivqd.fsf@GlaDOS.home> <87tw2obi7u.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUhmk-0001fV-Ax for bug-guix@gnu.org; Mon, 10 Jul 2017 19:08:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUhmd-0003XX-Em for bug-guix@gnu.org; Mon, 10 Jul 2017 19:08:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58678) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUhmd-0003XS-Bi for bug-guix@gnu.org; Mon, 10 Jul 2017 19:08:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dUhmd-0000h6-6n for bug-guix@gnu.org; Mon, 10 Jul 2017 19:08:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87tw2obi7u.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 07 Jul 2017 13:27:01 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 27572@debbugs.gnu.org Hello Ludo, Thanks for your reply. ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hello Diego, > > Diego Nicola Barbato skribis: > >> When running the command "guix pull && guix package -i python@2 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:o= ut >> guix package: error: first entry: python@2.7.13:out /gnu/store/...-p= ython-2.7.13 >> guix package: error: second entry: python@3.5.3:out /gnu/store/...-p= ython-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 > python@3 provides executables prefixed by =E2=80=9C3=E2=80=9D whereas pyt= hon@2 does not. > > Perhaps we should rename =E2=80=9Cpython=E2=80=9D to =E2=80=9Cpython2=E2= =80=9D 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=E2=80=99. Greetings Diego