Sublime Forum

No sublime module?

#1

Hi. I want to hack around on some plugins for sublimetext 2, but I am having trouble getting them up and running.
My machine is running OS X 10.6.7

I am unable to build the example plugins from Packages/Default/ due to the following error.

import sublime, sublime_plugin ImportError: No module named sublime

0 Likes

#2

You don’t build them like normal Python files.

Just put the *.py in your /Packages/User folder and Sublime will compile them for you.

You can’t run a Sublime plugin under IDLE or whatever, not with the sublime modules anyway.

0 Likes