Django报错Watching for file changes with StatReloader

Django项目运行时出现:Watching for file changes with StatReloader错误

原因:环境里的django或者python的版本有问题

解决方案:升级或者降级Django版本

1、直接安装需要的指定版本:

pip install django==2.0

或者更新版本:

pip install --upgrade ***

2、先卸载原来的版本再安装需要的版本:

pip uninstall xxx
pip install xxx
posted @ 2020-01-08 17:06  阿里云认证专家  阅读(11922)  评论(0)    收藏  举报