Python Forum
Thread Rating:
  • 4 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pip command not found
#1
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?
Reply
#2
sudo apt install python3-pip
I have a Linux tutorial here .
Reply
#3
I am now getting this message

"The program 'pip' is currently not installed. You can install it by typing: sudo apt install python3-pip
Reply
#4
Try using 'pip3' instead of 'pip'
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply
#5
sudo apt install python-pip
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#6
(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?
Reply
#7
(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.
Reply
#8
Thanks. I guess it is running. I will go over your tutorial and recheck what I have done.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Os.system("shutdown"); command not found cosmin1805 4 1,674 Nov-13-2022, 02:07 PM
Last Post: cosmin1805
  How can I found how many numbers are there in a Collatz Sequence that I found? cananb 2 2,540 Nov-23-2020, 05:15 PM
Last Post: cananb
  Error executing Jupyter command 'notebook': [Errno 'jupyter-notebook' not found] 2 Newtopython123 10 31,287 Apr-25-2019, 07:30 AM
Last Post: banu0395

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020