Unless your kivy
executable is in one of the directories listed in the path shown in the error, it won't be executed. To fix this, go to the command line and type which kivy
. It should return the full path to the kivy
executable. Next, edit your .sublime-build
file to include the full path.
For example, if which kivy
returns /usr/local/bin/kivy
, then your .sublime-build
file should look like this:
{
"cmd": ["/usr/local/bin/kivy", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)"
}