gpt4 book ai didi

python - 卡在使用 StatReloader 监视文件更改

转载 作者:行者123 更新时间:2023-12-03 17:11:59 28 4
gpt4 key购买 nike

I made my project fine and when I run my server through a normal shell it works but I am trying to run my project through git bash. All the commands seem to work fine but when I do python manage.py runserver it gets stuck on Watching for file changes with StatReloader. Apparently after that I go to localhost:8000



但那和我的 127 端口 8000 没有响应并显示那里什么都没有,没有错误或任何东西,就像我说的,如果我 python manage.py runserver通过外壳它可以工作

最佳答案

如果您将 django 与 Dockerfile 一起使用,您将不会错过设置为 1 的 env var PYTHONUNBUFFERED。

关于python - 卡在使用 StatReloader 监视文件更改,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61863806/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com