AltLinux icon indicating copy to clipboard operation
AltLinux copied to clipboard

Getting error while trying to run main.py on Ubuntu 24.10

Open KrishnamohanKapri opened this issue 11 months ago • 1 comments

I am trying to run the main.py file but getting the below-mentioned error. I tried using Python 3.13 and 3.12. Does it have something to do with the Ubuntu version? Do I need to downgrade any library or dependency?

python3 main.py 
python 3.13 main.py
python 3.12 main.py

Error while running with python3.12: python3: symbol lookup error: /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE

Error while running with python 3.13: ImportError: cannot import name '_gi' from partially initialized module 'gi' (most likely due to a circular import) (/usr/lib/python3/dist-packages/gi/init.py)

KrishnamohanKapri avatar Jan 25 '25 12:01 KrishnamohanKapri