[Python] Windows getting freeze while running python script

Discussão em 'Python' iniciado por Stack, Julho 13, 2025.

  1. Stack

    Stack Membro Participativo

    I have made a project using fastapi. I have tested it few days ago and it was working fine. But since yesterday when I try to run the code using python main.py the windows get freeze I tried running it on different device but the issue still exists. I thought it was an issue related to the cache system I am using (I have made dictionaries to store values so I don't have to call database too frequently) so I shifted to Redis cache, but the problem still exists. I have tried to run the script using uvicorn web.src.main:app but the issue still exists. I also tried commenting out every import I have done in the main.py to see if the fastapi is starting or not but the issue still exists.

    Continue reading...

Compartilhe esta Página