From owner-freebsd-python@FreeBSD.ORG Sat Jun 7 01:16:53 2014 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D06696D3 for ; Sat, 7 Jun 2014 01:16:53 +0000 (UTC) Received: from mail-pd0-x22b.google.com (mail-pd0-x22b.google.com [IPv6:2607:f8b0:400e:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A4C13252A for ; Sat, 7 Jun 2014 01:16:53 +0000 (UTC) Received: by mail-pd0-f171.google.com with SMTP id y13so3074742pdi.2 for ; Fri, 06 Jun 2014 18:16:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Lw8m9XLdCLVscZZmB8J8KXed2xeR3YdB4izymVwAKzQ=; b=Udi/k2YHDIvEko+AJ+HXZOaRj2L57KtFTwDNWcGYDyMVh/AhVJKtANmGtGAbFRsbKq f8FJHaSXc85jHX70sQ6xIzwWkUfmrfIKdIYozHKnp6qBjxO52fRzzojkhzcInX/wvLpQ jqz03nXdvXhz0Eq+QXcgcD/eUuHmUUVobcPGB1lqorE1TcabIg74NLLWfXMV7jZlr3qa R1cgB+URKwirtdw+VqnSFmHJHG6m/wbF0dgiaROM9C1BVEFYpOnUKD6u2xkcogmShrTp c8/EdAzbrZOjDowpsBxxP9dgM27mPZKIgKHAp30wM4s7snl/iYA0T+UVXj6dXqcTt9NK rwMw== X-Received: by 10.68.134.101 with SMTP id pj5mr6521521pbb.62.1402103813314; Fri, 06 Jun 2014 18:16:53 -0700 (PDT) Received: from [192.168.1.7] (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPSA id bz4sm41535641pbb.12.2014.06.06.18.16.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Jun 2014 18:16:52 -0700 (PDT) Sender: Kubilay Kocak Message-ID: <539267F5.6040906@FreeBSD.org> Date: Sat, 07 Jun 2014 11:16:37 +1000 From: Kubilay Kocak Reply-To: koobs@FreeBSD.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Thunderbird/30.0 MIME-Version: 1.0 To: Paul Hoffman , freebsd-python@freebsd.org Subject: Re: NUDGE: pip for v3? References: <36444A45-D079-411F-9871-8B0E79F069F3@proper.com> In-Reply-To: <36444A45-D079-411F-9871-8B0E79F069F3@proper.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2014 01:16:53 -0000 On 7/06/2014 7:43 AM, Paul Hoffman wrote: > Greetings. In the package system for FreeBSD 10, pip seems to only exist for Python 2.7: > > # pkg search pip- > grepip-1.0_2 > p5-pip-1.19 > phpip-200611081420_1 > py27-pip-1.5.6 > vdr-plugin-osdpip-0.1.1_6 > # > > I have installed both Python 2.7 and 3.3 from pkg: > > # pkg info | grep python > python2-2_2 The \"meta-port\" for version 2 of the Python interpreter > python27-2.7.6_4 Interpreted object-oriented programming language > python3-3_1 The \"meta-port\" for version 3 of the Python interpreter > python33-3.3.5_1 Interpreted object-oriented programming language > > What is the best way for me to install pip for Python 3 if not from pkg? > > --Paul Hoffman > _______________________________________________ > freebsd-python@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-python > To unsubscribe, send any mail to "freebsd-python-unsubscribe@freebsd.org" > Hi Paul, You may use the Ports framework DEFAULT_VERSIONS mechanism to build any python port (that supports 2 *and* 3) with a non-default version of Python. Also a quick note that while we (Team Python) are aiming for multiple concurrently installed versions of python packages in a single environment, there are some rough edges which precludes some scenarios. Have a play and let us know what works and what doesn't, and we're always available on #freebsd-python (freenode IRC) if you'd like to have a chat -- Koobs