[Python] i had an error with flaskwebgui and flask - python

Discussão em 'Python' iniciado por Stack, Junho 12, 2025.

  1. Stack

    Stack Membro Participativo

    when i want to strat my flask app with flaskwebgui, i had the following error :

    Traceback (most recent call last): File "threading.py", line 1073, in _bootstrap_inner Command: C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
    --user-data-dir=C:\Users\A456WD\AppData\Local\Temp\flaskwebguic79efffc74dc46448836bcd60ff3c220
    --new-window --no-default-browser-check --allow-insecure-localhost --no-first-run --disable-sync --window-size=1100,680 --app=http://127.0.0.1:60066 File "threading.py", line 1010, in run TypeError: Flask.__call__() missing 2 required positional arguments: 'environ' and 'start_response'


    the code in my gui.py :

    from flaskwebgui import FlaskUI from main import app

    FlaskUI(
    app,
    width=1100,
    height=680
    ).run()

    Continue reading...

Compartilhe esta Página