Python Forum

Full Version: pip command not found
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just installed Ubuntu 16.04 and checking in the terminal it has both python2 and python3.

However, when I type

sudo pip install joblib

I get a command not found error. I guess I need to install pip.

How do I do this?
sudo apt install python3-pip
I have a Linux tutorial here .
I am now getting this message

"The program 'pip' is currently not installed. You can install it by typing: sudo apt install python3-pip
Try using 'pip3' instead of 'pip'
sudo apt install python-pip
(May-31-2017, 04:33 PM)wavic Wrote: [ -> ]sudo apt install python-pip

That did it.

It now suggests I upgrade by typing: pip install --upgrade pip

Should I do it?
(May-31-2017, 04:43 PM)Able98 Wrote: [ -> ]It now suggests I upgrade by typing: pip install --upgrade pip
Yes,but this is for Python 2.
You do the same for Python 3.
pip3 install -U pip

If you look at my tutorial again,here a quote.
Quote:The main focus will be running Python 3.5 or higher on Linux.
So as new user you should be using Python 3.5 or higher,
there are very few excuses these days to start with Python 2.
Thanks. I guess it is running. I will go over your tutorial and recheck what I have done.