首页 > 解决方案 > Sublime Text 不能与 Anaconda 一起编译

问题描述

我刚刚安装了 Sublime Text,试图测试这个 IDE,我试图将这个简单的代码行放入:

from matplotlib import pyplot as plt
x = range(100)
y = [x**2 for x in x]
plt.plot(x, y)

只是为了测试它,我收到一条错误消息:

Traceback (most recent call last):
  File "./python3.3/subprocess.py", line 1104, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 1050, in run_
    return self.run(**args)
  File "C:\Users\Or Work\AppData\Roaming\Sublime Text 3\Installed Packages\Conda.sublime-package\commands.py", line 526, in run
  File "C:\Users\Or Work\AppData\Roaming\Sublime Text 3\Installed Packages\Conda.sublime-package\commands.py", line 489, in __enter__
  File "C:\Users\Or Work\AppData\Roaming\Sublime Text 3\Installed Packages\Conda.sublime-package\commands.py", line 473, in conda_version
  File "./python3.3/subprocess.py", line 576, in check_output
  File "./python3.3/subprocess.py", line 819, in __init__
  File "./python3.3/subprocess.py", line 1110, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

有谁知道如何解决这个问题?

Ps 我使用 Anaconda 作为我的 python 环境

感谢您的帮助!

标签: pythonsublimetext3conda

解决方案


推荐阅读