Skip to content

Cannot start emailproxy.py #1

Closed
@0x7464

Description

@0x7464

Hi,

Following your readme - everything went fine until I tried to start emailproxy.py and got the following error below, please forgive me if this is something trivial - I'm not a programmer :)

Error:

Traceback (most recent call last):
File "emailproxy.py", line 26, in
import pystray
File "/usr/local/lib/python3.6/dist-packages/pystray/init.py", line 48, in
Icon = backend().Icon
File "/usr/local/lib/python3.6/dist-packages/pystray/init.py", line 40, in backend
return importlib.import_module(package + '._' + module)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/local/lib/python3.6/dist-packages/pystray/_appindicator.py", line 19, in
gi.require_version('Gtk', '3.0')
File "/usr/lib/python3/dist-packages/gi/init.py", line 130, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gtk not available

OS: Ubuntu 18.04 LTS
Python: 3.6.9

Things I tried:
sudo apt-get install libgtk-3-dev
sudo apt install python3-gi gobject-introspection gir1.2-gtk-3.0

Thanks for any help you can give - your app sounds really great and could save me a lot of headaches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions