Sublime Forum

My Sublime cannot run py files

#1

%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE(16) %E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE(17) %E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE(18) %E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE(19)
I am a novice, I followed the steps in the book, I created the New Build System, and then I created a new file and tried to use it to do simple commands, but I pressed Ctrl+B but nothing happened. I don’t know what went wrong, help me, thank you!

0 Likes

#2

2 points about what you are trying to do.

  1. It seems you have saved the build system file somewhere outside of the Packages directory. In such a case, ST will not pick up that build system (& hence will not be shown in the build system menu). You need to save your build system file somewhere in Packages directory (The User directory within Packages is the best place for user customizations). If you are not sure how to get to Packages, then use Preferences -> Browse Packages ... from the main menu.

  2. ST already comes up with a build system for Python (If you are not already aware). You can use that as well.

0 Likes

#3

Thank you!!!!

0 Likes