From owner-freebsd-python@freebsd.org Wed Dec 7 18:45:05 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED8FFC6CEDB for ; Wed, 7 Dec 2016 18:45:05 +0000 (UTC) (envelope-from iblis@hs.ntnu.edu.tw) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id D69E5957 for ; Wed, 7 Dec 2016 18:45:05 +0000 (UTC) (envelope-from iblis@hs.ntnu.edu.tw) Received: by mailman.ysv.freebsd.org (Postfix) id D6061C6CEDA; Wed, 7 Dec 2016 18:45:05 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5AB5C6CED9 for ; Wed, 7 Dec 2016 18:45:05 +0000 (UTC) (envelope-from iblis@hs.ntnu.edu.tw) Received: from d2-forwarder.nctu.edu.tw (d2-forwarder.nctu.edu.tw [140.113.2.79]) by mx1.freebsd.org (Postfix) with ESMTP id A2D7C956 for ; Wed, 7 Dec 2016 18:45:05 +0000 (UTC) (envelope-from iblis@hs.ntnu.edu.tw) Received: from d2-forwarder.nctu.edu.tw (localhost [127.0.0.1]) by d2-forwarder.nctu.edu.tw (Postfix) with ESMTP id 267F2AC358; Thu, 8 Dec 2016 02:44:57 +0800 (CST) X-Virus-Scanned: amavisd-new at d2-forwarder.nctu.edu.tw Received: from d2-forwarder.nctu.edu.tw ([127.0.0.1]) by d2-forwarder.nctu.edu.tw (amavisd.cc.nctu.edu.tw [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Mgm75QhIC3eP; Thu, 8 Dec 2016 02:44:53 +0800 (CST) Received: from smtp.nctu.edu.tw (mailreg [140.113.2.23]) by d2-forwarder.nctu.edu.tw (Postfix) with ESMTP id 9A040AC34E; Thu, 8 Dec 2016 02:44:53 +0800 (CST) Received: from abeing (IP-215-9.cs.nctu.edu.tw [140.113.215.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.nctu.edu.tw (Postfix) with ESMTPS id 60AC74E6C9; Thu, 8 Dec 2016 02:41:23 +0800 (CST) Date: Thu, 8 Dec 2016 02:44:52 +0800 From: Iblis Lin To: Johannes Jost Meixner Cc: python@FreeBSD.org Subject: Re: Installing python2 and python3 alongside one another Message-ID: <20161207184452.GA97603@abeing> References: <7f2a5fe6-f132-4037-a1cf-5674f9b4bfe3@perceivon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7f2a5fe6-f132-4037-a1cf-5674f9b4bfe3@perceivon.net> User-Agent: Mutt/1.7.1 (2016-10-04) X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2016 18:45:06 -0000 Hi, Johannes Please install devel/py-setuptools27 first. Then, try to install py-supervisor again. -- Iblis Lin 林峻頤 On Wed, Dec 07, 2016 at 01:44:14PM +0200, Johannes Jost Meixner wrote: > Hi, > > I'm currently faced with a situation where for some reason I need both > py2.7 and py3.5 on my system - 3.5 to do the actual work and 2.7 because > supervisord doesn't run on 3. > > Is there a good way of installing both alongside another? > > By default they seem to conflict at least on > > /usr/local/bin/easy_install > > I'd be glad for any illumination (also, I had thought we'd already > solved this issue a few years ago). > > Thanks > -Johannes > > ---- > What happens when you try to install py-supervisor from ports on a > system that otherwise has a working 3.5 setup . . . > > > ===> Installing for py27-setuptools27-28.1.0 > ===> Checking if py27-setuptools27 already installed > ===> Registering installation for py27-setuptools27-28.1.0 as automatic > Installing py27-setuptools27-28.1.0... > pkg-static: py27-setuptools27-28.1.0 conflicts with > py35-setuptools35-28.1.0 (installs files into the same place). > Problematic file: /usr/local/bin/easy_install >