text: Hello, i tried to install clang and ( as expected ) it came with the warning that it can't import ctypes. Pointing to the workaround (sublimetext.userecho.com/topic/8 ... -in-linux/).the first step in there is:
  But on my machine the system wide python behavies differently:Andrew
  any help/advise please ?
  Create symbol link.
  sudo ln -s /usr/lib/python2.6 /usr/lib/sublime-text-2/lib/python2.6
  Sublime has a minimal python distribution. It is situated in python26.zip. And you need the full version.
  I also have a pain installing SublimeClang on Ubuntu x64...
  Should Sublime use the default system python first? In this case if Python is already installed (I believe this is majority of users) then plugins can use full power of python (including ctypes). Otherwise Sublime should use the internal minimal version of python but most plugins will still be usable..
  Also why sublime uses python 2.6 and not 2.7? For example Ubuntu ships 2.7 by default..
  that didn't work - first they put python26.zip in, not the not the actual executable.Here is the output from console:
  libgio version is less than 2.26, single instance support disabled
  PackageSetup not required(): .
  catalogue loaded
  found 5 files for base name Default.sublime-keymap
  found 2 files for base name Default.sublime-mousemap
  found 3 files for base name Main.sublime-menu
  Traceback (most recent call last):
  File "./sublime_plugin.py", line 1, in <module>
  import os
  ImportError: No module named os
  What (partially) worked is :
  ln -s /usr/lib64/python2.6 python2.6
  but that's not a 100% good either - i ended up with the same problem as knifter i agree with him about maintaining yet another install of the python just for this app... Doesn't make a lot of sense to me.
  Would be nice to see this fixed already, but based on the stats - i doubt author(s) will ever get to this. Until then i'll use other means to edit files
  A potential solution for the import urandom problem.
  Sorry, just wanted to make sure people landing here from Google see this.