在使用Python时,突然无法使用,通过cmd查看Python版本号,报错
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.解决
1、查看环境变量中的路径是否配置正确;
2、如果路径正确,将python路径移至WindowsApps之前

在使用Python时,突然无法使用,通过cmd查看Python版本号,报错
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.解决
1、查看环境变量中的路径是否配置正确;
2、如果路径正确,将python路径移至WindowsApps之前