启动django时报错Watching for file changes with StatReloader(使用状态加载程序监视文件更改 )

原因:可能是Django版本和Python版本或者PyMysql版本不一致

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

命令如下:

pip install django==2.1.7  #django==版本号

或者

pip install -upgrade xxxx #来升级包xxx

或者先删除包 再安装
pip uninstall xxx
pip install xxx 

  

猜你喜欢

转载自www.cnblogs.com/lcy-123/p/10750302.html