-
-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
跑readme中的案例报错 #113
Comments
版本太低了,建议到 pypi 官网下载最新版 |
建一个新的虚拟环境试试? |
创了新环境,也还是不行,报错
类似的combo_box/demo.py,也是 |
用的 pyqt6 版本是多少?我平时测试都是用的 6.4.2 |
要不换成 pyqt6.4.2试试 |
我的是6.5.0 |
@CharlesKeeling65 |
Name: PyQt6
Version: 6.4.2
Summary: Python bindings for the Qt cross platform application toolkit
Home-page: https://www.riverbankcomputing.com/software/pyqt/
Author: Riverbank Computing Limited
Author-email: info@riverbankcomputing.com
License: GPL v3
Location: e:\anaconda3\envs\pyqt_envs\lib\site-packages
Requires: PyQt6-Qt6, PyQt6-sip
Required-by: 换成6.4.2 还是和上面的错误一样 (pyqt_envs) PS F:\005_Programming\PyQt6项目\PyQt-Fluent-Widgets-PyQt6\examples\gallery> python demo.py
QWidget: Must construct a QApplication before a QWidget 而且我的PyQt-Fluent-Widgets版本信息是 Name: PyQt-Fluent-Widgets
Version: 0.6.9
Summary: A fluent design widgets library based on PyQt5
Home-page: https://github.com/zhiyiYo/PyQt-Fluent-Widgets
Author: zhiyiYo
Author-email: shokokawaii@outlook.com
License: GPLv3
Location: e:\anaconda3\envs\pyqt_envs\lib\site-packages
Requires: darkdetect, PyQt5, PyQt5-Frameless-Window
Required-by: 好像和最新的那个issue里那个人的版本不一样,他是 问题解决了,我当时下载成PyQt-Fluent-Widgets,重新下了PyQt6-Fluent-Widgets就可以了,感谢作者! |
Describe the bug
A clear and concise description of what the bug is.
跑readme中的案例报错
examples\gallery> python demo.py
demo.py 9
from app.view.main_window import MainWindow
main_window.py 14
from .basic_input_interface import BasicInputInterface
basic_input_interface.py 4
from qfluentwidgets import (PushButton, ToolButton, PrimaryPushButton, HyperlinkButton,
ImportError:
cannot import name 'EditableComboBox' from 'qfluentwidgets'
Environment
The text was updated successfully, but these errors were encountered: