linux
分类: LINUX
2013-08-08 20:22:52
1.安装完插出现的问题: Unfortunately ctypes can't be imported, so SublimeClang will not work. 2.解决办法: 在终端依次执行以下命令:$ curl -kL | bash $ source "$HOME/.pythonbrew/etc/bashrc" $ pythonbrew install --configure="--enable-unicode=ucs4" 2.6 $ sudo ln -s $HOME/.pythonbrew/pythons/Python-2.6/lib/python2.6/ /usr/lib/sublime-text-2/lib/python2.6
$ mkdir -p .config/sublime-text-2/Packages/SublimeClang/src/build/ $ cd .config/sublime-text-2/Packages/SublimeClang/src/build/ $ cmake .. $ makeOK.
转自:http://www.linux.org.ru/forum/development/8129453
bljswpu2015-05-28 21:20:31
wangspace:要用Python2.6版本的
Reloading plugin /home/tarena/.config/sublime-text-2/Packages/SublimeClang/translationunitcache.py
Traceback (most recent call last):
File \"./sublime_plugin.py\", line 62, in reload_plugin
File \"./translationunitcache.py\", line 26, in <module>
from clang import cindex
File \"./clang/cindex.py\", line 65, in <module>
fro