da-rth / yasb

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

[BUG] Error Installing #70

Closed liamtsang closed 1 year ago

liamtsang commented 1 year ago

When installing it gives this TypeError

λ python src/main.py

Traceback (most recent call last): File "src/main.py", line 3, in from core.bar_manager import BarManager File "C:\Users\liamt\Documents\Python Scripts\yasb-main\src\core\bar_manager.py", line 7, in from core.bar import Bar File "C:\Users\liamt\Documents\Python Scripts\yasb-main\src\core\bar.py", line 17, in class Bar(QWidget): File "C:\Users\liamt\Documents\Python Scripts\yasb-main\src\core\bar.py", line 31, in Bar padding: dict = BAR_DEFAULTS['padding'] TypeError: 'type' object is not subscriptable

liamtsang commented 1 year ago

My ENV was still set to python 3.7 instead of 3.10 lol oops