Sublime Forum

Update: WinError 2

#1

I recently updated my sublime Text 3 and when I went to run my program I received the following error;

[WinError 2] The system cannot find the file specified.

The cmd and dir are correct. I believe the path is incorrect but I am unsure of how to change it and when I ctrl+c it opens the correct folder.

0 Likes

#2

What does your sublime-build file look like?

0 Likes

#3

Could you be more specific? Essentially, I will need everything explained like a complete novice.

0 Likes

#4

In order to diagnose the problem, we need details like what programming language or tool you’re working with and how Sublime has been to told to execute it. The way that’s normally done is with a sublime-build file.

It sounds like you don’t know what a sublime-build file is, so chances are good that you’re using a build that either ships with Sublime or comes with a package that you installed, and the text of your error message indicates that you’re on windows.

Are you by chance trying to run Python code under windows (maybe using Miniconda or Anaconda), and it used to work before the update and now it doesn’t?

0 Likes

#5

“Are you by chance trying to run Python code under windows (maybe using Miniconda or Anaconda), and it used to work before the update and now it doesn’t?” This describes exactly what happened.

I am working my way through Python Crash Course. All code worked before the update but not after. As for Miniconda or Anaconda, I don’t believe either?

0 Likes

#6

I resolved the issue.

By clicking ctrl+shift+B, I changed to python 3.

1 Like