I just downloaded and added a PATH to python, but my cmd still doesn't recognize it.
When I type python --version i get:
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
This is very strange because when I type “Where python” it says:
C:\Users\nando\AppData\Local\Microsoft\WindowsApps\python.exe
C:\Users\nando\AppData\Local\Programs\Python\Python310\python.exe
and when I type echo %path% it does show up the path (along with many other paths):
C:\Users\nando\AppData\Local\Programs\Python\Python310\Scripts\
I also have a path in my User variables, the path python makes self by installing (I selected add PATH).
What can i do so it does work?
edit: Pip does work, i tried to instal pygame without any problems.
CodePudding user response:
looks like the path is wrong. The set path goes to
- ....\Python310\Scripts
while the .exe resides in
- ....\Python310\
CodePudding user response:
You could try adding the path to the system variables, making it accessible to all users.
Also, try running the command python3 --version.
