- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 119
Closed
Description
After cloning the repo and (trying to) install the requirements, I get this error:
2024-11-18 11:26:57: Unable to load all GUI requirements: [ValueError('Namespace AyatanaAppIndicator3 not available'), ImportError("cannot import name 'Unpack' from 'typing_extensions' (/usr/lib/python3/dist-packages/typing_extensions.py)")] - did you mean to run in `--no-gui` mode? If not, please run `python -m pip install -r requirements-gui.txt` or install from PyPI with GUI requirements included: `python -m pip install emailproxy[gui]`
2024-11-18 11:26:57: Stopping Email OAuth 2.0 Proxy
Running python -m pip install -r requirements-gui.txt
gives
Defaulting to user installation because normal site-packages is not writeable
Ignoring importlib_metadata: markers 'python_version < "3.8"' don't match your environment
Ignoring pyobjc-framework-Cocoa: markers 'sys_platform == "darwin"' don't match your environment
Ignoring pyobjc-framework-SystemConfiguration: markers 'sys_platform == "darwin"' don't match your environment
Requirement already satisfied: packaging in /usr/lib/python3/dist-packages (from -r requirements-gui.txt (line 5)) (21.3)
Requirement already satisfied: pillow in /usr/lib/python3/dist-packages (from -r requirements-gui.txt (line 6)) (9.0.1)
Requirement already satisfied: timeago in /home/rn/.local/lib/python3.10/site-packages (from -r requirements-gui.txt (line 7)) (1.0.16)
Requirement already satisfied: pystray>=0.19.4 in /home/rn/.local/lib/python3.10/site-packages (from -r requirements-gui.txt (line 10)) (0.19.5)
Requirement already satisfied: pywebview>=4.2.1 in /home/rn/.local/lib/python3.10/site-packages (from -r requirements-gui.txt (line 16)) (5.3.2)
Requirement already satisfied: python-xlib>=0.17 in /home/rn/.local/lib/python3.10/site-packages (from pystray>=0.19.4->-r requirements-gui.txt (line 10)) (0.33)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from pystray>=0.19.4->-r requirements-gui.txt (line 10)) (1.16.0)
Requirement already satisfied: typing-extensions in /usr/lib/python3/dist-packages (from pywebview>=4.2.1->-r requirements-gui.txt (line 16)) (3.10.0.2)
Requirement already satisfied: proxy-tools in /home/rn/.local/lib/python3.10/site-packages (from pywebview>=4.2.1->-r requirements-gui.txt (line 16)) (0.1.0)
Requirement already satisfied: bottle in /home/rn/.local/lib/python3.10/site-packages (from pywebview>=4.2.1->-r requirements-gui.txt (line 16)) (0.13.2)
Activity
simonrob commentedon Nov 18, 2024
This is mentioned in the readme already. From the specific error you've encountered, my guess is that installing
gir1.2-ayatanaappindicator
will fix things for you.robertnurnberg commentedon Nov 18, 2024
Thanks for your quick reply, much appreciated. I did a quick
sudo apt install gir1.2-ayatanaappindicator3-0.1
, but this changed nothing for the above error. Will take a closer look at the readme section you linked to now.Edit: Also after
as suggested here, the original error persists.
robertnurnberg commentedon Nov 18, 2024
Right, so doing
pip install --upgrade typing_extensions
fixed this for me. Thanks for your help, and your overall work!robertnurnberg commentedon Nov 18, 2024
For completeness, here the output of my upgrading, in case you want to add the particular version of the package to your requirements file:
simonrob commentedon Nov 18, 2024
Thanks for following up – I'm glad this was resolved. I'll link to this issue along with the other ones at that part of the readme.