Syncplay / syncplay

Client/server to synchronize media playback on mpv/VLC/MPC-HC/MPC-BE on many computers
http://syncplay.pl/
Apache License 2.0
2.07k stars 211 forks source link

AttributeError: module 'syncplay.vendor.Qt' has no attribute 'QtGui' [Windows10, conda] #676

Open Voodoo-MAN opened 3 months ago

Voodoo-MAN commented 3 months ago

Traceback (most recent call last): File "syncplayClient.py", line 14, in File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 655, in _load_unlocked File "", line 618, in _load_backward_compatible File "", line 259, in load_module File "syncplay\ep_client.pyc", line 3, in File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 655, in _load_unlocked File "", line 618, in _load_backward_compatible File "", line 259, in load_module File "syncplay\clientManager.pyc", line 2, in File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 655, in _load_unlocked File "", line 618, in _load_backward_compatible File "", line 259, in load_module File "syncplay\ui__init__.pyc", line 11, in File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 655, in _load_unlocked File "", line 618, in _load_backward_compatible File "", line 259, in load_module File "syncplay\ui\gui.pyc", line 21, in File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 655, in _load_unlocked File "", line 618, in _load_backward_compatible File "", line 259, in load_module File "syncplay\vendor\Qt.pyc", line 2029, in File "syncplay\vendor\Qt.pyc", line 2007, in _install AttributeError: module 'syncplay.vendor.Qt' has no attribute 'QtGui'

I use: Windows 10> Anaconda> Python 3.11.5; The paths are registered, but I get this error. It is noteworthy that I received it before installing python and registering paths for it. Another person without paths in variable environments started up fine on Windows 10. Please help me with this problem. Thank you.

Et0h commented 1 month ago

Hi, sorry for the delay in my response.

I don't understand why you are running Syncplay on Windows using Anaconda rather than just running the official binaries. Are you wanting to do Syncplay development?

Also, does Syncplay work fine if you run it in --no-gui mode?

My guess as to the error is that you do not have a compatible version of PySide installed.

For reference, the official Syncplay binaries use Python 3.8 and PySide2>=5.11.0. We go with those versions because they are compatible with one another.