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?

4 Answers 4


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.

  • 1
    after that use sudo pip3 install --upgrade pip to get to (currently) v9.0.1
    – Mausy5043
    May 27, 2017 at 16:21

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

  • I also had to install pip as described there. But at least it worked after that!
    – mareoraft
    Jun 12, 2015 at 18:42
  • Same situation on Debian Wheezy when installing python3.4 from the sid. Absolutely no pip coming with it. I had to use the get_pip.py script. Jul 11, 2015 at 21:40

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


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.


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.

  • could you clarify how it is used than? I can't find any pip / pypip / pythonpip commands....?
    – Mr.Gosh
    May 27, 2015 at 7:54
  • I'm not familiar with python and don't know how to use it or pip. I've just mention that there is no separate package for pip since 3.4 released.
    – Kondybas
    May 27, 2015 at 9:47
  • @Kondybas Please provide a link to the evidence that this is true.
    – mareoraft
    Jun 12, 2015 at 17:43
  • @mareoraft I've edit my answer.
    – Kondybas
    Jun 12, 2015 at 17:47
  • 2
    2016, FreeBSD 11, Python 3.5 - pip is still not installed by default.
    – andreymal
    Mar 10, 2016 at 19:06

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.