11

I searched in the ports and can't find a pip installation package other than the pip for python27 py27-pip-6.1.1.

Which way is the best for installing pip for python 3.x in FreeBSD 10.1?

Or is it included in python 3.4 and and I just haven't figured out how yet?

HopelessN00b
  • 54,273
Mr.Gosh
  • 323

4 Answers4

17

With Python 3.4 and later, you can use the ensurepip module to install pip on FreeBSD and elsewhere.

python3.4 -m ensurepip

should install pip as pip3.4.

alanc10n
  • 303
  • 2
  • 7
4

Sadly there doesn't seem to be pip integrated in python3.4 in the FreeBSD ports.

So I had to install pip like discribed here

Mr.Gosh
  • 323
1

Python 3.4+ contains pip by default and need no additional packages to be installed.

https://pip.pypa.io/en/latest/installing.html

pip included with Python

Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include pip by default [1], so you may have pip already.

https://docs.python.org/3/installing/

Python only started bundling pip with Python 3.4. For earlier versions, pip needs to be “bootstrapped” as described in the Python Packaging User Guide.

Kondybas
  • 7,110
0

cd /usr/ports/devel/py-pip && make FLAVOR=py36 all install

drookie
  • 9,120
  • 1
  • 21
  • 29