joaorb64 / joycond-cemuhook

Support for cemuhook's UDP protocol for joycond devices
MIT License
148 stars 18 forks source link

gi module issue while running joycond-cemuhook #98

Open Sailinnov opened 1 month ago

Sailinnov commented 1 month ago

My env is: Ubuntu 24.04 python 3.12.5

when I tried to run joycond-cemuhook, I got the error shown below:

$ joycond-cemuhook Traceback (most recent call last): File "/home/username/anaconda3/bin/joycond-cemuhook", line 5, in from joycond_cemuhook import main File "/home/username/anaconda3/lib/python3.12/site-packages/joycond_cemuhook/init.py", line 19, in from gi.repository import GLib File "/home/username/anaconda3/lib/python3.12/site-packages/gi/init.py", line 40, in from . import _gi ImportError: libgirepository-1.0.so.1: undefined symbol: g_once_init_leave_pointer

I think the dependencies are installed with latest version, maybe a compatibility issue of my system env

AteebXYZ commented 1 week ago

i have the same issue on fedora 41 with python3.13

AteebXYZ commented 1 week ago

Ok i managed to fix my issue by doing this: pip3 uninstall PyGObject-stubs

Then i just installed joycond-cemuhook like this: pip3 install git+https://github.com/joaorb64/joycond-cemuhook

Then PyGObject installed correctly and there were no errors. Hope this helps.