Closed chunleili closed 1 year ago
InfoBar is a new component and I haven't publish it to pypi. You can move subfiles and subfolders of gallery folder to project root folder, then run demo.py should work well.
@chunleili
I have released the new version package to pypi. You can now run demo.py
directly.
Describe the bug A clear and concise description of what the bug is.
Environment
Python: [e.g. 3.10.9 64-bit]
File "D:\Dev\PyQt-Fluent-Widgets\examples\gallery\demo.py", line 9, in
from app.view.main_window import MainWindow
File "D:\Dev\PyQt-Fluent-Widgets\examples\gallery\app\view\main_window.py", line 21, in
from .status_info_interface import StatusInfoInterface
File "D:\Dev\PyQt-Fluent-Widgets\examples\gallery\app\view\status_info_interface.py", line 5, in
from qfluentwidgets import (StateToolTip, ToolTipFilter, PushButton, PixmapLabel,
ImportError: cannot import name 'InfoBar' from 'qfluentwidgets' (C:\Users\GRBJ200045.conda\envs\ti-build\lib\site-packages\qfluentwidgets__init__.py)