I have to install the Django package to my mint distribution. I want to accomplish this by using pip command but can not find the pip command. How can I install the pip command ? Thanks
Install pip command in Mint
Collapse
X
-
Tags: None
-
pip is a command of Python2, pip3 is a command of Python3.
Install as follows
pip:
pip3:Code:$ sudo apt install python-pip
If that doesn't work, use the curl command to install "get-pip.py".Code:$ sudo apt install python3-pip
Once installed, get the "get-pip.py" file as follows:Code:$ sudo apt install curl
Run "get-pip.py" with python.Code:$ curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
Check if pip is installed.Code:$ sudo python get-pip.py
To install pip3, update the apt command, then upgrade and then install pip3.Code:$ pip --version
Check if pip3 is installed.Code:$ sudo apt update $ sudo apt upgrade $ sudo apt install python3-pip
Code:$ pip3 --version
-
Before you start to install PIP on Linux Mint 19. You must have a non-root user account on your server with sudo privileges.
To install pip run the following code
to confirm its installation run this codeCode:sudo apt install python3-pip
The output should be something like thisCode:pip3 --version
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)Comment
Comment