Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No module named pip
#1
I try to use pip

python -m pip install --user numpy

and get

Output:
/usr/bin/python: No module named pip
I work with Python 2.7.12

How to make pip available?
Reply
#2
Assuming you are trying to install numpy, is that correct? if so:
pip install numpy
# or if python 3
pip3 install numpy
Reply
#3
For python 2,if pip not there.
sudo apt-get install python-pip
Or get-pip.py.
Verify and upgrade pip Pip Installation.
pip -V

pip install -U pip
You should try to move on to and use Python 3.5 or newer 3.6.
Linux Python 3 environment
Reply
#4
If you using windows try this

[Image: pip.jpg]
Reply
#5
(Jun-07-2018, 10:35 PM)Blue Dog Wrote: If you using windows try this

No /usr/bin/python in Windows Rolleyes
Test everything in a Python shell (iPython, Azure Notebook, etc.)
  • Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
  • Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
  • You posted a claim that something you did not test works? Be prepared to eat your hat.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Keras. ModuleNotFoundError: No module named 'error' agatte 1 7,061 Sep-18-2019, 12:27 PM
Last Post: shivani
  ModuleNotFoundError: No module named 'stop_words' knchris2004 6 12,722 Jul-04-2019, 10:31 PM
Last Post: snippsat
  ModuleNotFoundError: No module named '_pywrap_tensorflow_internal' rajeev1729 1 24,363 Jul-04-2018, 06:26 PM
Last Post: stpaulchuck
  No module named scipy kirill 2 9,379 Mar-16-2018, 04:19 PM
Last Post: kirill
  ModuleNotFoundError: No module named 'adspy_shared_utilities' POOJASWAMY 0 8,151 Feb-09-2018, 05:46 AM
Last Post: POOJASWAMY
  No module named numpy rdx 7 59,050 Sep-24-2017, 07:12 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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