From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: PYTHONPATH woes Date: Tue, 20 Feb 2018 17:40:02 +0100 Message-ID: <20180220164002.GA20464@thebird.nl> References: <20180220150135.GA20101@thebird.nl> <87a7w3r8of.fsf@igalia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoB1H-00042i-EY for guix-devel@gnu.org; Tue, 20 Feb 2018 11:43:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoB1E-0002s3-Rq for guix-devel@gnu.org; Tue, 20 Feb 2018 11:43:55 -0500 Received: from mail.thebird.nl ([95.154.246.10]:58432) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eoB1E-0002r3-La for guix-devel@gnu.org; Tue, 20 Feb 2018 11:43:52 -0500 Content-Disposition: inline In-Reply-To: <87a7w3r8of.fsf@igalia.com> 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: Andy Wingo Cc: guix-devel@gnu.org, Ricardo Wurmus On Tue, Feb 20, 2018 at 04:18:40PM +0100, Andy Wingo wrote: > In Guix we don't set LD_LIBRARY_PATH but we do set PYTHONPATH, so it's > not quite the same I don't think. Not exactly the same, but close enough ;). But it is clearer now that mixing is the problem. Ricardos .pth may be an option if that works, or we introduce a separate GUIX_PYTHONPATH2 and GUIX_PYTHONPATH for 3. Python2 is at end of life, so we may set an example there for others. Even so, I don't think it will solve the particular conflict that Ricardo was describing. There will always be hairy mix-ins. Pj. --