標籤:
轉自:http://blog.initm.com/sublime-text/
今天開啟sublime遇到一個提示 如Sublime Text Error while loading PyV8 binary:exit code 1 Try to manually install Pyv8 form https://github.com/emetio/pyv8-binaries 於是到網上尋找答案 解決方案如下:
- 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 a PyV8
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#readme
進入 路徑 C:\Users\UserName\AppData\Roaming\Sublime Text 2\Packages\PyV8 沒有的檔案夾建立
- 我自己的檔案是 C:\Users\BianGX\AppData\Roaming\Sublime Text 3\Packages\PyV8 把下載的 pyv8-win64-p3 解壓 拷貝進來就好了.
b.如果你是linux/ubuntu,找到相應的路徑,根據我在unbuntu14.04下面,解決如下:
(1)在目前使用者中使用命令:ll
(2)你會發現一個.config的隱藏檔案夾
(3)然後依次進去找到sublime_text
(4)Packages建立PyV8檔案夾,把剛才下載的檔案解壓進去,重啟解決。
解決Sublime 3提示 Sublime Text Error while loading PyV8 binary