For the life of me, I'm having the hardest time installing pip on my computer.
I have downloaded Python 3.7.4 to my windows 10 operating system. I'm a novice to all of this subject matter but trying to learn.
Many of the pip installation videos I have seen direct me to a scripts folder that does not seem to exist on my computer. The only files that have python in them appear together without scripts. I do not have a Python folder like many of the tutorial indicate that I should have.
Also many of the videos suggest seeing if python is installed correctly by typing python in the command prompt. When I do it returns...
'python' is not recognized as an internal or external command, operable program or batch file.
Please help!!!
how did you install Python 3.7.4? pip should be part of that installation.
Try this:
- Open a command window
- type: pip -V
- report what is printed out
(Sep-12-2019, 01:41 AM)Larz60+ Wrote: [ -> ]how did you install Python 3.7.4? pip should be part of that installation.
Try this:- Open a command window
- type: pip -V
- report what is printed out
Ok I gave it a shot. Here's what it says.
'pip' is not recognized as an internal or external command, operable program or batch file.
(Sep-12-2019, 10:04 PM)jcg36 Wrote: [ -> ] (Sep-12-2019, 01:41 AM)Larz60+ Wrote: [ -> ]how did you install Python 3.7.4? pip should be part of that installation.
Try this:- Open a command window
- type: pip -V
- report what is printed out
Ok I gave it a shot. Here's what it says.
'pip' is not recognized as an internal or external command, operable program or batch file.
Hi!
I think I know what you might be doing wrong!
You have to type
pip -V
with a space between
pip and
-V. If you type
pip-V
without the space, you get that message!
All the best,
I have also checked with my
cmd windows prompt to see if Python is installed or not, and I played with some alternatives. You have to be very precise and type
EXACTLY either
python or
Python, because if you mistype something like
pithon,
piton,
phyton or something similar, you get also the message
...is not recognized as an internal or external command, operable program or batch file.
I hope it helps,
(Sep-12-2019, 10:04 PM)jcg36 Wrote: [ -> ]'pip' is not recognized as an internal or external command, operable program or batch file.
Teh fact that your pip and python is not recognized possibly means that you did not add your python installation to PATH. Uninstall python, reinstall it. However this time make sure that you add python to the PATH. See the link from snippsat for more details.
follow the link snippsat gave you. Your python was not installed correctly
have you tried to validate with pip3 command?
(Sep-13-2019, 08:37 AM)Malt Wrote: [ -> ]have you tried to validate with pip3 command?
Just some info,if
pip
don't work then will not
pip3
either.
In Windows they are in same folder eg
...Python37/Scripts
.
So two way to fix the Environment Variables Path problem.
- A new install and remember to add
Python 3.7 to Path
option in setup.
- If done install and forget the point over can modify
Environment Variables Path
All this is in tutorial just to take out the part about this.
So go into
Environment Variables Path
There add to Path
root folder
and also
Scripts folder
of version installed.
If not change location of Python in install setup,then Python will be in folder far away
C:\Users\(your name)\AppData\Local\Programs\Python\Python37
So what this dos is set
python
and
pip
global available from any folder in command line cmd or better
cmder
Test that it work(any folder) remember restart PC after modify path.
Microsoft Windows [Version 10.0.18362.295]
(c) 2019 Microsoft Corporation. Med enerett.
C:\Windows\System32>cd\
C:\>cd code
C:\code>python -V
Python 3.7.3
C:\code>pip -V
pip 19.2.3 from c:\python37\lib\site-packages\pip (python 3.7)
C:\code>