vyvir / althea

althea sideloads applications on iOS/iPadOS!
GNU Affero General Public License v3.0
175 stars 23 forks source link

Cannot find module 'gi' on Arch #17

Closed ahdeddd closed 3 months ago

ahdeddd commented 1 year ago

Hello, I am trying to install this package through the AUR, but it isn't actually running. To install the package, one needs to make a virtual environment (venv) with python, or just remove /usr/lib/python3.xx/EXTERNALLY-MANAGED. Otherwise the user gets an error.

I opted to remove my EXTERNALLY-MANAGED file. But then I ran the altlinux command,usr/lib/altlinux/altlinux, but this prompted me with an error message relating to the module gi.

Traceback (most recent call last):
  File "main.py", line 6, in <module>
ModuleNotFoundError: No module named 'gi'
[10903] Failed to execute script 'main' due to unhandled exception!

From my research, gi seems to be python's implementation of GTK. So I install pygobject and pycairo using pip install pygobject and pip install pycairo.

But this error message is still there.

Is there a fix for Arch users? Thanks.

vyvir commented 3 months ago

Hi! The AUR isn't actually developed by me, but you could try running the script as shown in README.md.