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

转自: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\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#readme

  2. 进入 路径 C:\Users\UserName\AppData\Roaming\Sublime Text 2\Packages\PyV8 没有的文件夹新建

  3. 我自己的文件是 C:\Users\BianGX\AppData\Roaming\Sublime Text 3\Packages\PyV8 把下载的 pyv8-win64-p3 解压 拷贝进来就好了.
  4. b.如果你是linux/ubuntu,找到相应的路径,根据我在unbuntu14.04下面,解决如下:

    (1)在当前用户中使用命令:ll

    (2)你会发现一个.config的隐藏文件夹

    (3)然后依次进去找到sublime_text

    (4)Packages创建PyV8文件夹,把刚才下载的文件解压进去,重启解决。

上一篇:(原创)win7自带IIS7.5+php7.0.10安装教程(图)


下一篇:php 页面调转导致session丢失解决方法