From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: installing python 2 and python 3 in the same profile Date: Sun, 11 Mar 2018 14:30:25 +0100 Message-ID: <31197f9d-d4bd-da29-3b08-867c73499100@crazy-compilers.com> References: <87y3j4l3xj.fsf@mdc-berlin.de> <20180310083421.GA26219@thebird.nl> <87ina2uaum.fsf@elephly.net> <20180311124239.GA811@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ev13Y-0006QB-3h for guix-devel@gnu.org; Sun, 11 Mar 2018 09:30:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ev13U-0006Lr-V4 for guix-devel@gnu.org; Sun, 11 Mar 2018 09:30:32 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:45809) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ev13U-0006Kg-Ny for guix-devel@gnu.org; Sun, 11 Mar 2018 09:30:28 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3zzhnZ548Zz1qtFW for ; Sun, 11 Mar 2018 14:30:26 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3zzhnZ4yR6z1sQwy for ; Sun, 11 Mar 2018 14:30:26 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id UluP4VN0F_N4 for ; Sun, 11 Mar 2018 14:30:26 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-93-104-182-57.dynamic.mnet-online.de [93.104.182.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Sun, 11 Mar 2018 14:30:26 +0100 (CET) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 7ED936014D for ; Sun, 11 Mar 2018 14:30:25 +0100 (CET) In-Reply-To: <20180311124239.GA811@thebird.nl> Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Am 11.03.2018 um 13:42 schrieb Pjotr Prins: > But even in minor versions there are problems. Yes, but it's not guix's job to solve the language programmer's problems. Since quite some time, then python itnerpreters get installed as "pythonX.Y", in addition to "pythonX" and "python". Thus it is perfectly possible to install several version of python in parallel, give that one decides which should mak to "pythonX" and which to "python". The libraries are always installed into version-specific directories. > Ruby has those too, I > know for a fact, though Python may be worse since it uses compiled > sources. As I've been told, it's worse in Ruby, since rube is using the same gem-directories for all versions. In contrast, python uses different (see above) and if you need to pin specific package versions, virtual environments are for the rescue and quite light-weight. Neverthelesse these are problems out of scope for guix :-) -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |