首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我怎样才能在Ubuntu16.04上运行轻快呢?

我怎样才能在Ubuntu16.04上运行轻快呢?
EN

Ask Ubuntu用户
提问于 2016-09-03 21:34:28
回答 1查看 383关注 0票数 0

我试着跑快步,我试着写‘快步’命令,但是它给我显示了这样的消息:

代码语言:javascript
复制
/home/quickly_trunk/lightread/__init__.py:40: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gio  # pylint: disable=E0611
/home/quickly_trunk/lightread/LightreadWindow.py:44: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, WebKit, Notify, Soup  # pylint: disable=E0611
/home/quickly_trunk/lightread/LightreadWindow.py:44: PyGIWarning: Soup was imported without specifying a version first. Use gi.require_version('Soup', '2.4') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, WebKit, Notify, Soup  # pylint: disable=E0611
Traceback (most recent call last):
  File "/home/quickly_trunk/bin/lightread", line 60, in <module>
    import lightread
  File "/home/lucifer/Downloads/quickly_trunk/lightread/__init__.py", line 42, in <module>
    from lightread import LightreadWindow
  File "/home/lucifer/Downloads/quickly_trunk/lightread/LightreadWindow.py", line 44, in <module>
    from gi.repository import Gtk, Gdk, WebKit, Notify, Soup  # pylint: disable=E0611
ImportError: cannot import name WebKit

我今天只是下载Ubuntu,我不知道是怎么回事。谢谢。

EN

回答 1

Ask Ubuntu用户

发布于 2016-09-03 21:40:09

它已经在错误- ImportError: cannot import name WebKit中提到过了。

要纠正它,请在终端中键入以下命令:

代码语言:javascript
复制
sudo apt-get update && sudo apt-get install python-webkit
票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/820606

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档