我有一些问题和我的新 Ubuntu 12.04 64 安装。
我已经安装了 sublime text,我得到了两个,2/3,当我尝试安装 EMMET 时,两者都给出了这个错误我研究了很多信息,还尝试手动安装 PYV8,但它不起作用。
PyV8: Creating new thread
Emmet: Creating thread
Emmet: Loading https://api.github.com/repos/emmetio/pyv8-binaries/contents
Emmet: Loading PyV8 binary from https://raw.github.com/emmetio/pyv8-binaries/master/pyv8-linux64-p3.zip
Exception in thread Thread-30:
Traceback (most recent call last):
File "X/threading.py", line 639, in _bootstrap_inner
File "X/threading.py", line 825, in run
File "/home/zilashak/.config/sublime-text-3/Installed Packages/Emmet.sublime-package/emmet/pyv8loader.py", line 271, in run
return self.trigger('error', exit_code=self.thread.exit_code, progress=self)
File "/home/zilashak/.config/sublime-text-3/Installed Packages/Emmet.sublime-package/emmet/pyv8loader.py", line 290, in trigger
c(*args, **kwargs)
TypeError: on_error() got an unexpected keyword argument 'progress'
所以如果有人知道如何解决它,非常感谢你。
-------------------------------------------------- - -解决方案 - - - - - - - - - - - - - - - - - !!!!!!!!!!!! !!!!!!解决了!!!!!!!!!!
在这里为大家解决!
好的,对于遇到这个问题的每个人,经过大量研究,我找到了解决方案(终于!)首先,安装 python3.3
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python3.3
然后你必须从https://raw.github.com/emmetio/pyv8-binaries/master/pyv8-linux64-p3.zip手动下载 PyV8 的包 下载后你必须解压缩文件,你将拥有将新文件夹中的 2 个文件复制到 .config/sublime-text3/Installed Packages/PyV8/
您必须之前创建文件夹 PyV8。最后它应该看起来像这样!