账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    cefpython打包后运行白屏
    35
    0

    使用cepython写了1个简单demo,其代码如下:

    from cefpython3 import cefpython as cef
    
    def main():
        settings = {
            "single_process": False
        }
        sys.excepthook = cef.ExceptHook
        cef.Initialize(settings=settings)
        brower = cef.CreateBrowserSync(url="https://www.dida365.com/signin")
        #brower.ShowDevTools()
        cef.MessageLoop()
        cef.Shutdown()

    使用的cefpython版本是57.0,pyinstaller的版本是3.2.1。然后打包成exe后运行直接就是白屏,页面都不加载。有什么方法可以让页面加载出来

    0
    打赏
    收藏
    点击回答
        全部回答
    • 0
    • 君清邪 普通会员 1楼
      502 Bad Gateway

      502 Bad Gateway


      nginx
    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部