Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jun 2014 11:16:37 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Paul Hoffman <phoffman@proper.com>, freebsd-python@freebsd.org
Subject:   Re: NUDGE: pip for v3?
Message-ID:  <539267F5.6040906@FreeBSD.org>
In-Reply-To: <36444A45-D079-411F-9871-8B0E79F069F3@proper.com>
References:  <36444A45-D079-411F-9871-8B0E79F069F3@proper.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539267F5.6040906>