My python is not recognized as the name of a cmdlet, when I uninstall the old version (3.9
) to the new version (3.10
), i have tried to update my path in the environment variable, but it still goes to the previous python (3.9)
here's my path :
PS D:\CodingFile> & C:/Users/amirc/AppData/Local/Programs/Python/Python39/Scripts/python.exe "d:/CodingFile/Python/Latihan Kuliah/Struktur-Data/amir.py"
& : The term 'C:/Users/amirc/AppData/Local/Programs/Python/Python39/Scripts/python.exe' 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:3
+ & C:/Users/amirc/AppData/Local/Programs/Python/Python39/Scripts/pytho ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:/Users/amirc/...ipts/python.exe:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
the error occurs based on the information it is still on the old version path,can anyone help..