da-rth / yasb

A highly configurable cross-platform (Windows) status bar written in Python.
MIT License
1.39k stars 81 forks source link

[BUG] When I try to run `python src/main.py` #120

Open Virnnar opened 9 months ago

Virnnar commented 9 months ago

When I type python src/main.py image

theSoberSobber commented 9 months ago

yep, it's a version problem, python is an extremely fragile language and breaking changes from dependencies is extremely common, using an older commit would be the best you can probably do.

theSoberSobber commented 9 months ago

Update: Reinstalling PyQt6 seems to make it work again, I really really hate python, anyways just run this pip install PyQT6 --force.

zhulaee commented 9 months ago

thanks, install cmd solved my problem

Rakyarvik commented 9 months ago

On my computer, this is an issue caused by the different versions of PyQt6 and PyQt6 Qt6. The requirements. txt file specifies that the version of pyqt6 is 6.3.1. When we enter the pip list, we will see that the versions of PyQt6 and PyQt6 Qt6 are different. Please reinstall version 6.3.1 of PyQt6 Qt6.pip uninstall PyQt6-Qt6,pip install pyqt6-qt6==6.3.1