I installed sublime text on my Ubuntu 11.10 box but I had some troubled loading external python modules:
CODE:
-
loaded 937 snippets
-
>>> import distutils
-
Traceback (most recent call last):
-
File "<string>", line 1, in <module>
-
ImportError: No module named distutils
This is how I solved it:
Edited ~/.local/share/applications/sublime.desktop
Especially this line:
CODE:
-
Exec="/home/leon/Software/bin/sublime" %U
/home/leon/Software/bin/sublime contains this:
CODE:
-
#!/bin/bash
-
cd /usr/lib/python2.7
-
/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