我最近开始学习编码,并遇到了一些具有挑战性的安装问题。我最近在Ubuntu12.04中运行的崇高文本2中安装了Emmet。Emmet安装得很好,但是在“手动”安装PyV8 8-Linux 64位二进制文件之后,通过将两个文件从zip文件夹复制并粘贴到我在ST2's软件包文件夹中创建的文件夹中,Emmet仍然无法工作。在ST的控制台里,我收到了一条错误消息。对于你们中熟悉这一点的人,我们非常感谢你们的帮助!控制台中的完整错误消息如下所示。谢谢。
...
Reloading plugin /home/dqcrevive/.config/sublime-text-2/Packages/Emmet/emmet-plugin.py
PyV8: Creating new thread
Emmet: Creating thread
Emmet: Loading https://api.github.com/repos/emmetio/pyv8-binaries/contents
Reloading plugin /home/dqcrevive/.config/sublime-text-2/Packages/HTML/encode_html_entities.py
Reloading plugin /home/dqcrevive/.config/sublime-text-2/Packages/HTML/html_completions.py
Reloading plugin /home/dqcrevive/.config/sublime-text-2/Packages/Package Control/Package Control.py
Reloading plugin /home/dqcrevive/.config/sublime-text-2/Packages/PyV8/PyV8.py
plugin init time: 0.793147
loading bindings
loading pointer bindings
found 1 files for base name Default.sublime-theme
theme loaded
app ready
pre session restore time: 0.962301
using gamma: 1 (err: 0)
startup cache, total files: 103 cache hits: 103
startup time: 1.10101 (package setup was not run)
loaded 837 snippets
Emmet: Loading PyV8 binary from https://raw.github.com/emmetio/pyv8-binaries/master/pyv8-linux64.zip
Exception in thread Thread-104:
Traceback (most recent call last):
File ".\threading.py", line 532, in __bootstrap_inner
File ".\threading.py", line 736, in run
File "./emmet/pyv8loader.py", line 271, in run
return self.trigger('error', exit_code=self.thread.exit_code, progress=self)
File "./emmet/pyv8loader.py", line 290, in trigger
c(*args, **kwargs)
TypeError: on_error() got an unexpected keyword argument 'progress'
Package Control: No updated packages发布于 2014-06-05 16:53:56
一些谷歌搜索发现了一些针对这个问题的解决方案。具体来说,这个特定的补救措施:https://github.com/sergeche/emmet-sublime/issues/465
简单地说,
手动安装PyV8并重新启动崇高。
zip文件夹的内容放入PyV8文件夹(在上面的步骤中创建)。ctrl shift p和browse packages -> enter这些说明应该适用于崇高2。如果人们正在寻找,上面的链接有关于崇高3的说明。
希望这行得通!
https://askubuntu.com/questions/468463
复制相似问题