解决步骤:

1、检查是否在系统变量path中配置了python的路径
Sublime安装SublimeREPL插件后,运行带有input的python文件出现Python was not found but can be installed from the Micro

2、在确认已经配置了python环境变量后,检查用户的path环境变量中是否有%USERPROFILE%\AppData\Local\Microsoft\WindowsApps

如果有,点击编辑然后清空这段字符,保存后要重启电脑。

原因:%USERPROFILE%\AppData\Local\Microsoft\WindowsApps会造成用户在使用python时,会优先连到windows应用商店去下载python,而不是使用电脑本地安装的python。

最后运行成功如下:
Sublime安装SublimeREPL插件后,运行带有input的python文件出现Python was not found but can be installed from the Micro
We read the world wrong and say that it deceives us.

相关文章:

  • 2022-12-23
  • 2021-12-07
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-15
  • 2021-08-26
  • 2021-09-26
  • 2021-07-17
  • 2021-09-02
  • 2021-12-19
相关资源
相似解决方案