How to install pip (Python) on pfSense

Once you have installed python on your pfSense, you might notice that it is missing pip:

pip_not_found.sh
[2.6.0-RELEASE][[email protected]]/root: pip
pip: Command not found.

and also python3.8 -m pip doesn’t work:

python3_no_pip.txt
[2.6.0-RELEASE][[email protected]]/root: python3.8 -m pip
/usr/local/bin/python3.8: No module named pip

Installing it is rather easy, however:

install_pip_ensurepip.sh
python3.8 -m ensurepip

After that, you can run pip using

python3_m_pip.sh
python3 -m pip

 


Check out similar posts by category: Networking, Python