今天打開sublime遇到一個提示 如上圖Sublime Text Error while loading PyV8 binary:exit code 1 Try to manually install Pyv8 form https://github.com/emetio/pyv8-binaries 因而到網上尋找答案 解決方法以下:html
- Go to the link provided in the dialog box and download the plugin. See below for more details
- Go to your windows’ home directory (
C:\Users\UserName
on Windows 7, something likeC:\Documents and Settings\UserName
on Windows XP) and make sure you can view hidden and system directories - Go to
C:\Users\UserName\AppData\Roaming\Sublime Text 2\Packages
and create aPyV8
directory if it does not exist - Change to
C:\Users\UserName\AppData\Roaming\Sublime Text 2\Packages\PyV8
and copy the files contained in the archive you downloaded at the first step - Restart Sublime Text
-
去gihub下載 PyV8,鏈接地址:https://github.com/emmetio/pyv8-binaries#readmelinux
-
而後找到你的Sublime_text_3的packages的安裝包路徑git
a.若是你是windows系統:解壓文件至Packages\PyV8文件夾內(Preferences – Browser Packages),重啓解決。github
b.若是你是linux/ubuntu,找到相應的路徑,根據我在unbuntu14.04下面,解決以下:ubuntu
(1)在當前用戶中使用命令:llwindows
(2)你會發現一個.config的隱藏文件夾sublime-text
(3)而後依次進去找到sublime_textide
(4)Packages建立PyV8文件夾,把剛纔下載的文件解壓進去,重啓解決。post
感謝大神-----》夢迴起點,發佈的解決方案,高效快速spa