From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27572: simultaneous installation of python2 and python3 fails Date: Tue, 11 Jul 2017 11:29:25 +0200 Message-ID: <87k23fxqx6.fsf@gnu.org> References: <877ezoivqd.fsf@GlaDOS.home> <87tw2obi7u.fsf@gnu.org> <87van0b7vd.fsf@GlaDOS.home> 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]:44340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUrUc-0003Eq-Rx for bug-guix@gnu.org; Tue, 11 Jul 2017 05:30:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUrUZ-0006y2-Nt for bug-guix@gnu.org; Tue, 11 Jul 2017 05:30:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58933) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUrUZ-0006xt-Kw for bug-guix@gnu.org; Tue, 11 Jul 2017 05:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dUrUZ-00022f-E8 for bug-guix@gnu.org; Tue, 11 Jul 2017 05:30:03 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <87van0b7vd.fsf@GlaDOS.home> (Diego Nicola Barbato's message of "Mon, 10 Jul 2017 17:59:34 +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: Diego Nicola Barbato Cc: 27572-done@debbugs.gnu.org Hi Diego, Diego Nicola Barbato skribis: > 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:= out >>> guix package: error: first entry: python@2.7.13:out /gnu/store/...-= python-2.7.13 >>> guix package: error: second entry: python@3.5.3: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 >> python@3 provides executables prefixed by =E2=80=9C3=E2=80=9D whereas py= thon@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. Right, that should work fine. I=E2=80=99m closing this bug now; please do reopen it if you feel like the solutions above aren=E2=80=99t quite convenient after all. Thank you, Ludo=E2=80=99.