Install pip command in Mint

Discussion in 'Linux' started by Gabriel9999, Oct 23, 2019.

Tags:
  1. Gabriel9999

    Gabriel9999 MDL Novice

    Mar 11, 2019
    37
    5
    0
    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
     
  2. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    12,052
    12,578
    340
    #2 Yen, Oct 23, 2019
    Last edited: Oct 23, 2019
    Usually pip comes for python2 >=2.79 and python3 >=3.4
    pip refers to python2 and pip3 to python3. Ubuntu has both versions of python installed (mint probably as well)...

    AFAIK those 2 packages are mandatory...(setuptools and pip)..at least the pip package should be installed.
    For python3 for instance...
    Code:
    sudo apt-get install python3-setuptools python3-pip
    For python 2 just remove the number 3 at the commands
    Code:
    sudo apt-get install python-pip
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...