From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: PYTHONPATH issue explanation Date: Sat, 17 Mar 2018 23:46:30 +0100 Message-ID: <8ef75f70-d772-2c09-8b42-823589314aa0@crazy-compilers.com> References: <87371tqbyb.fsf@elephly.net> <20180223165953.GA6088@thebird.nl> <40dc2378-a039-fec8-55cd-23911f1642ab@crazy-compilers.com> <87lgerwk9s.fsf@member.fsf.org> <87efkjxbg3.fsf@elephly.net> 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]:41299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exKaz-0006Gi-Cz for guix-devel@gnu.org; Sat, 17 Mar 2018 18:46:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1exKaw-00037I-9a for guix-devel@gnu.org; Sat, 17 Mar 2018 18:46:37 -0400 In-Reply-To: <87efkjxbg3.fsf@elephly.net> 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: Ricardo Wurmus , =?UTF-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org Am 17.03.2018 um 11:07 schrieb Ricardo Wurmus: > What I don=E2=80=99t like about this solution is that PYTHONHOME can on= ly hold a > single directory, so composing profiles (that use the same Python > variant) would no longer work. I prefer the What exactly do you mean with "composing profiles"? This fails: guix environment --ad-hoc python echo $GUIX_ENVIRONMENT # /gnu/store/0d8vp2h=E2=80=A6-profile echo $PYTHONPATH # /gnu/store/0d8vp2h=E2=80=A6-profile/lib/python3.5/site-packages guix environment --ad-hoc python-simplejson echo $GUIX_ENVIRONMENT # /gnu/store/5xgfisg=E2=80=A6-profile echo $PYTHONPATH # /gnu/store/0d8vp2h=E2=80=A6-profile/lib/python3.5/site-packages python3 -s -c 'import simplejson' # import error ('-s' avoids leaking packages from =C2=A7HOME/.local/=E2=80=A6) --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |