hello world!
I was trying to install a python library and it didn’t work!
for installing the library i typed the following:
pip install numpy
and i got the following error message:
pip : The term ‘pip’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- pip install numpy
-
+ CategoryInfo : ObjectNotFound: (pip:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
so i thought that the problem is coming from vs code but when i typed it in the cmd it gave me the following error message:
‘pip’ is not recognized as an internal or external command,
operable program or batch file.
so the problem must have been coming from pip but when i checked for pip being installed i typed the following:
py -m ensurepip --upgrade
and it said that the requirement is already satisfied
this is really weird also i am using windows 11
what should I do?