轉自:http://blog.initm.com/sublime-text/linux
今天打開sublime遇到一個提示 如上圖Sublime Text Error while loading PyV8 binary:exit code 1 Try to manually install Pyv8 form https://github.com/emetio/pyv8-binaries 因而到網上尋找答案 解決方法以下:git
C:\Users\UserName
on Windows 7, something likeC:\Documents and Settings\UserName
on Windows XP) and make sure you can view hidden and system directoriesC:\Users\UserName\AppData\Roaming\Sublime Text 2\Packages
and create a PyV8
directory if it does not existC:\Users\UserName\AppData\Roaming\Sublime Text 2\Packages\PyV8
and copy the files contained in the archive you downloaded at the first step去gihub下載 PyV8,鏈接地址:https://github.com/emmetio/pyv8-binaries#readmegithub
進入 路徑 C:\Users\UserName\AppData\Roaming\Sublime Text 2\Packages\PyV8 沒有的文件夾新建ubuntu
b.若是你是linux/ubuntu,找到相應的路徑,根據我在unbuntu14.04下面,解決以下:windows
(1)在當前用戶中使用命令:llsublime-text
(2)你會發現一個.config的隱藏文件夾ide
(3)而後依次進去找到sublime_textcode
(4)Packages建立PyV8文件夾,把剛纔下載的文件解壓進去,重啓解決。orm