[WinError 2] 系统找不到指定的文件。

[cmd: ['C:/Users/Desktop/wyProject/master/master/Server/venv/Scripts/python.exe', '-u', 'C:\\Users\\Desktop\\wyProject\\sublimePython\\test-math.py']]
[dir: C:\Users\Desktop\wyProject\sublimePython]
[path: C:\Program Files (x86)\NetSarang\Xshell 6\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;]
[Finished]

 

原因:

手误将下载的venv python虚拟环境删了,python的运行文件都在里面,需重新安装python环境

sublime中处理时

2019-05-23 问题记录:sublime text3 python运行报错 [WinError 2] 系统找不到指定的文件。

2019-05-23 问题记录:sublime text3 python运行报错 [WinError 2] 系统找不到指定的文件。

这里有配置写python运行程序的路径,该路径下文件被删了,于是报该错

 

相关文章:

  • 2022-12-23
  • 2021-12-25
  • 2021-08-27
  • 2022-12-23
  • 2021-06-24
  • 2022-12-23
  • 2021-10-05
  • 2022-12-23
猜你喜欢
  • 2021-05-04
  • 2022-12-23
  • 2021-05-23
  • 2021-06-24
  • 2021-05-19
  • 2021-04-12
相关资源
相似解决方案