Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pip problem
#1
Hi there !

I'm a beginner and I have a problem : I want to install tensorflow and for that I need to import it with pip but unfortunately as soon as I try to do something with pip either to update it or to install something I get this error message :
/Library/Developer/CommandLineTools/Library/Frameworks/Python3. framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'pip': [Errno 2] No such file or directory

Is it a problem of download or location?
Can you help me?

Thank you in advance
Reply
#2
please show your pip command.
Reply
#3
I have tried lot of commands and for all the ones I tried I got tis message, but here is some :

- python3 pip install tensorflow

- pip install -U pip

- python3 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

Thank you for you reply
Reply
#4
from command line issue the following (and report back):
pip -V
python -V
pip3 -V
python3 -V
Reply
#5
I have that for reply :

zsh: command not found: pip
Python 2.7.16
pip 19.0.3 from /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/site-packages/pip (python 3.7)
Python 3.7.3
Reply
#6
OK
from above you don't have pip installed on python (2.7) that's fine as python 2.7 is no longer supported
pip3 is linked to python3.7.3

so pip3 install tensorflow
should do the trick
Reply


Forum Jump:

User Panel Messages

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