I am unable to use the pip command. Every time I try I am met with the following error:
NameError: name 'pip' is not defined
I'm using CMD and Python 3.8. I'm almost certain that C:\python\scripts
is in my path. Yet the pip command continues to elude my capabilities. I've read several articles and threads about other people who've had this problem and those solutions still fail to help me.
Copy Paste from CMD:
C:\Windows\System32>py
Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> pip
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'pip' is not defined
Yes, I'm using CMD
That might be the case, but are you sure you don't have python running in it? Try entering exit()
or exit
, and then run your pip command.
If you are sure python is not running in youe CMD,
An easy solution that may be less convenient:
You can enter the command cd C:\python\scripts
and then run your pip command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With