Skip to content
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

运行后界面是空白的 #82

Open
zhaiyuanGC opened this issue Dec 5, 2023 · 2 comments
Open

运行后界面是空白的 #82

zhaiyuanGC opened this issue Dec 5, 2023 · 2 comments

Comments

@zhaiyuanGC
Copy link

我在windows用conda和Python3.10运行main.py后为什么是空白的,什么都没有,只有libpng warning: iCCP: cHRM chunk does not match sRGB

@xszyou
Copy link
Owner

xszyou commented Dec 6, 2023

空白通常是因为qt5库出错,或者用户权限不够创建初始文件导致的。你可以更换成超给管理员启动试试,若不行可以使用无qt方式启动:http://yafrm.com/forum.php?mod=viewthread&tid=319&extra=page%3D1

@AliyMl
Copy link

AliyMl commented Mar 6, 2024

ubuntu系统,运行空白
解决方案:
main.py文件
import os
os.environ['QTWEBENGINE_CHROMIUM_FLAGS'] = '--no-sandbox' 要加这个参数,才能显示界面
感谢白大佬,跟大家分享!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants