Pip not installed?

5,589

For using pip in python3 you need to run this command to install pip module also for python3:

sudo apt update
sudo apt install python3-pip
Share:
5,589

Related videos on Youtube

Braythor
Author by

Braythor

Updated on September 18, 2022

Comments

  • Braythor
    Braythor over 1 year

    Ok. I know what you are thinking. It is an already asked question. Just mark it as multiple and move on. BUT... I have installed python-pip, and when I try to do something using PIP, it says I don't have it.

        sudo apt-get install python-pip
    

    THEN....

        python3 -m pip install --upgrade pip
        /usr/local/bin/python3: No module named pip
    

    Please help!
    I have Ubuntu 16.04, by the way.

    • edwinksl
      edwinksl almost 7 years
      You need to install pip for Python 3 instead by running sudo apt-get install python3-pip.
  • Braythor
    Braythor almost 7 years
    Hello, thanks, it installed without a problem, but then the above problem occurred again. Thanks for stopping by!
  • Matt West
    Matt West almost 4 years
    I know this is an old answer but it popped up first on my search. For anyone else in the same boat: Python 3 pip uses the pip3 command. pip3 install <package name>