Como posso executar o lightread no Ubuntu 16.04?

0

Eu tentei executar lightread, tentei escrever o comando 'lightread', mas ele me mostra esta mensagem:

/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

Acabei de baixar o Ubuntu hoje e não sei o que está acontecendo. Obrigado.

    
por test me 03.09.2016 / 23:34

1 resposta

0

Já foi mencionado no erro - ImportError: cannot import name WebKit .

Para corrigir, digite o seguinte comando no terminal:

sudo apt-get update && sudo apt-get install python-webkit
    
por Raphael 03.09.2016 / 23:40