0

I tried to run lightread, I tried to write 'lightread' command but it shows me this message :

/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

I just download Ubuntu today, and I do not know what is going on. Thank you.

1 Answers1

0

Its already mentioned in the error - ImportError: cannot import name WebKit.

To rectify it type the following command in terminal:

sudo apt-get update && sudo apt-get install python-webkit
Raphael
  • 8,135