Comments (6)
本来就支持吧?什么地方报错了吗
from pyqt-fluent-widgets.
python 3.11
pip install "PySide6-Fluent-Widgets[full]" -i https://pypi.org/simple/
cd examples/gallery
python demo.py
---------------------------------
Traceback (most recent call last):
File "signature_bootstrap.py", line 77, in bootstrap
File "signature_bootstrap.py", line 93, in find_incarnated_files
File "D:\anaconda3\envs\py311\Lib\pathlib.py", line 871, in __new__
self = cls._from_parts(args)
^^^^^^^^^^^^^^^^^^^^^
File "D:\anaconda3\envs\py311\Lib\pathlib.py", line 509, in _from_parts
drv, root, parts = self._parse_args(args)
^^^^^^^^^^^^^^^^^^^^^^
File "D:\anaconda3\envs\py311\Lib\pathlib.py", line 493, in _parse_args
a = os.fspath(a)
^^^^^^^^^^^^
TypeError: expected str, bytes or os.PathLike object, not NoneType
Fatal Python error: could not initialize part 2
Python runtime state: initialized
Current thread 0x00003ff4 (most recent call first):
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 1233 in create_module
File "<frozen importlib._bootstrap>", line 573 in module_from_spec
File "<frozen importlib._bootstrap>", line 676 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1232 in _handle_fromlist
File "D:\anaconda3\envs\py311\Lib\site-packages\PySide6\__init__.py", line 64 in _setupQtDirectories
File "D:\anaconda3\envs\py311\Lib\site-packages\PySide6\__init__.py", line 124 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1126 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "D:\anaconda3\envs\py311\Lib\site-packages\qfluentwidgets\components\dialog_box\color_dialog.py", line 2 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "D:\anaconda3\envs\py311\Lib\site-packages\qfluentwidgets\components\dialog_box\__init__.py", line 1 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "D:\anaconda3\envs\py311\Lib\site-packages\qfluentwidgets\components\__init__.py", line 1 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "D:\anaconda3\envs\py311\Lib\site-packages\qfluentwidgets\__init__.py", line 18 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "E:\PyQt-Fluent-Widgets-master\examples\gallery\demo.py", line 8 in <module>
Extension modules: PyQt5.QtCore, PyQt5.QtGui, PyQt5.QtWidgets, xxsubtype, shiboken6.Shiboken (total: 5)
from pyqt-fluent-widgets.
无法复现啊
from pyqt-fluent-widgets.
用个虚拟机
win11
用最新版本anaconda
创建一个python3.11环境
这样是否能复现
1.判断anacond环境是否有问题
2.判断系统环境是否有问题
from pyqt-fluent-widgets.
你搞个新的虚拟环境试试吧,这个明显不是组件库的报错
from pyqt-fluent-widgets.
用个虚拟机 win11 用最新版本anaconda 创建一个python3.11环境
这样是否能复现
1.判断anacond环境是否有问题 2.判断系统环境是否有问题
我开发和排错组件库都是在3.11上的,一定不会有问题,是你那边的问题
from pyqt-fluent-widgets.
Related Issues (20)
- FluentIconBase 支持自定义亮暗主题下的颜色
- 调整流畅窗口默认背景颜色 HOT 5
- [Bug]: InfoBar causing stack overflow when created (Only PyQt6) HOT 3
- [Bug]: Themes change incorrectly
- Qcompleter的匹配机制问题[Bug]: HOT 3
- [Bug]: 向导窗口点击下一页报错
- QCompleter的匹配与补全建议面板展示问题[Bug]: HOT 3
- [Bug]: Qt Designer中如何将组件提升为SimpleCardWidget HOT 2
- 优化滚动区域在 mac 触控板的平滑滚动
- 如何取消 每次执行前出现的 📢 Tips: QFluentWidgets Pro is now released. Click https://qfluentwidgets.com/pages/pro to learn more about it. HOT 1
- [Bug]: 使用QWebEngineView后,FluentWindow的主题颜色变成纯黑色的 HOT 2
- [Bug]: ExpandLayout 中错误的 y 值计算?
- [Bug]: example tab_view 删除标签页异常 HOT 1
- [Bug]: Nuitka打包编译后的示例navigation1中的demo程序运行后提示“RuntimeError: wrapped C/C++ object of type NavigationTreeWidget has been deleted”
- [Bug]: setThemeColor函数对color参数处理错误 HOT 1
- [Bug]: Pyside6中,OptionsSettingCard类错误接管wheelEvent
- PySide6 QPdfView ScrollBar HOT 3
- 将 macOS 下 FluentWindow 的标题栏按钮更换为原生按钮
- 添加检测系统主题色的接口
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyqt-fluent-widgets.