da-rth / yasb

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

[BUG] DLL load failed while importing QtGui: The specified procedure could not be found. #19

Closed kuwii closed 2 years ago

kuwii commented 2 years ago

Following the installation section in Wiki to setup, but can not start src/main.py.

Expected Behavior

When running python src\main.py, the programs should start.

Current Behavior

Traceback (most recent call last):
  File "C:\Users\...\yasb\src\main.py", line 2, in <module>
    from PyQt6.QtWidgets import QApplication
ImportError: DLL load failed while importing QtGui: The specified procedure could not be found.

Possible Solution

pip install --upgrade PyQt6

Steps to Reproduce

  1. Install Python 3.9.
  2. pip install -r requirements.txt
  3. python src\main.py

Context (Environment)

System is a newly installed Windows 11. Tried both Conda and native Python 3.9 but none works.