wo don't know his answer, but I met a different case. I use pycharm for coding, and my pycharm install folder name contains 'space' like 'PyCharm 2024.1.5', so i use it for start flask program occur error, i think it was flask BUG, you can delete space and retry it. good luckļ¼