apt - Ubuntu 16.04 -ImportError: No module named 'UbuntuDrivers' - Ask Ubuntu
i having problems opening software-properties , closing; couldn't open. tried open on terminal , i'm getting error:
/usr/lib/python3/dist-packages/softwareproperties/gtk/softwarepropertiesgtk.py:40: pygiwarning: gdk imported without specifying version first. use gi.require_version('gdk', '3.0') before import ensure right version gets loaded. gi.repository import gobject, gdk, gtk, gio, glib /usr/lib/python3/dist-packages/softwareproperties/gtk/softwarepropertiesgtk.py:40: pygiwarning: gtk imported without specifying version first. use gi.require_version('gtk', '3.0') before import ensure right version gets loaded. gi.repository import gobject, gdk, gtk, gio, glib traceback (most recent call last): file "/usr/bin/software-properties-gtk", line 37, in <module> softwareproperties.gtk.softwarepropertiesgtk import softwarepropertiesgtk file "/usr/lib/python3/dist-packages/softwareproperties/gtk/softwarepropertiesgtk.py", line 54, in <module> ubuntudrivers import detect importerror: no module named 'ubuntudrivers'
what can fix this? or did mess shouldn't have done?
it seems have mistakenly deleted python library packages core ubuntu drivers. try reinstalling ubuntu-drivers-common
package.
sudo apt-get install --reinstall ubuntu-drivers-common
Comments
Post a Comment