NUDGE: pip for v3?

Kubilay Kocak koobs at FreeBSD.org
Sat Jun 7 01:16:53 UTC 2014


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-python
> To unsubscribe, send any mail to "freebsd-python-unsubscribe at 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


More information about the freebsd-python mailing list