Python报错:Python was not found; run without arguments to install from the Microsoft Store, or disable

  • Post author:
  • Post category:python





问题

在使用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之前


在这里插入图片描述



版权声明:本文为Echouuu原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。