Sublime Text 2

I installed sublime text on my Ubuntu 11.10 box but I had some troubled loading external python modules:

CODE:
  1. loaded 937 snippets
  2. >>> import distutils
  3. Traceback (most recent call last):
  4.   File "<string>", line 1, in <module>
  5. ImportError: No module named distutils

This is how I solved it:

Edited ~/.local/share/applications/sublime.desktop
Especially this line:

CODE:
  1. Exec="/home/leon/Software/bin/sublime" %U

/home/leon/Software/bin/sublime contains this:

CODE:
  1. #!/bin/bash
  2. cd /usr/lib/python2.7
  3. /home/leon/Software/SublimeText2/sublime_text

Then I installed some excellent plugins:

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment