How to install python3.4-pip in FreeBSD 10.1?

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.


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


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.