Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running Manjaro and having problems running any python app. When I do it generates at exception as shown in
Code:
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/enum34-1.0.4-py3.5.egg/enum/__init__.py", line 371, in __getattr__
KeyError: '_convert'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/lightdm-gtk-greeter-settings", line 33, in <module>
lightdm_gtk_greeter_settings.main()
File "/usr/lib/python3.5/site-packages/lightdm_gtk_greeter_settings/__init__.py", line 24, in main
from gi.repository import Gtk
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "/usr/lib/python3.5/site-packages/gi/importer.py", line 115, in load_module
dynamic_module = load_overrides(introspection_module)
File "/usr/lib/python3.5/site-packages/gi/overrides/__init__.py", line 125, in load_overrides
override_mod = importlib.import_module(override_package_name)
File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/lib/python3.5/site-packages/gi/overrides/Gtk.py", line 26, in <module>
from gi.repository import GObject
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "/usr/lib/python3.5/site-packages/gi/importer.py", line 115, in load_module
dynamic_module = load_overrides(introspection_module)
File "/usr/lib/python3.5/site-packages/gi/overrides/__init__.py", line 125, in load_overrides
override_mod = importlib.import_module(override_package_name)
File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/lib/python3.5/site-packages/gi/overrides/GObject.py", line 31, in <module>
from gi.repository import GLib
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "/usr/lib/python3.5/site-packages/gi/importer.py", line 115, in load_module
dynamic_module = load_overrides(introspection_module)
File "/usr/lib/python3.5/site-packages/gi/overrides/__init__.py", line 125, in load_overrides
override_mod = importlib.import_module(override_package_name)
File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/lib/python3.5/site-packages/gi/overrides/GLib.py", line 22, in <module>
import signal
File "/usr/lib/python3.5/signal.py", line 8, in <module>
_IntEnum._convert(
File "/usr/lib/python3.5/site-packages/enum34-1.0.4-py3.5.egg/enum/__init__.py", line 373, in __getattr__
AttributeError: _convert
I have tried downgrading to 3.3 and 3.4 but then I get errors
Code:
ImportError: No module named 'gi'
Back to 3.5 and the program fails with the exception.
Any pointers how to fix this please
Last edited by alleyoopster; 11-17-2015 at 12:23 AM.
Reason: Added traceback
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.