解決Sublime 3提示 Sublime Text Error while loading PyV8 binary

轉自: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

  • 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\UserNameon 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
  1. 去gihub下載 PyV8,鏈接地址:https://github.com/emmetio/pyv8-binaries#readmegithub

  2. 進入 路徑 C:\Users\UserName\AppData\Roaming\Sublime Text 2\Packages\PyV8 沒有的文件夾新建ubuntu

  3. 我本身的文件是 C:\Users\BianGX\AppData\Roaming\Sublime Text 3\Packages\PyV8 把下載的 pyv8-win64-p3 解壓 拷貝進來就行了.
  4.  

    b.若是你是linux/ubuntu,找到相應的路徑,根據我在unbuntu14.04下面,解決以下:windows

    (1)在當前用戶中使用命令:llsublime-text

    (2)你會發現一個.config的隱藏文件夾ide

    (3)而後依次進去找到sublime_textcode

    (4)Packages建立PyV8文件夾,把剛纔下載的文件解壓進去,重啓解決。orm

相關文章
相關標籤/搜索