gpt4 book ai didi

Django runserver 卡在执行系统检查上

转载 作者:行者123 更新时间:2023-12-03 07:06:05 28 4
gpt4 key购买 nike

我正在运行 python manage.py runserver 或 migrate,并且在这两个命令中,它都卡在“执行系统检查”上...您能帮我了解问题是什么以及如何解决它吗?

Admins-MacBook-Pro:driveu_backend gathole$ python manage.py runserver
/Users/gathole/.virtualenvs/du/lib/python2.7/site-packages/social_auth/models.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module

/Users/gathole/.virtualenvs/du/lib/python2.7/site-packages/social_auth/utils.py:14: RemovedInDjango19Warning: The utilities in django.db.models.loading are deprecated in favor of the new application loading system.
from django.db.models.loading import get_model

/Users/gathole/.virtualenvs/du/lib/python2.7/site-packages/social_auth/models.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module

/Users/gathole/.virtualenvs/du/lib/python2.7/site-packages/social_auth/utils.py:14: RemovedInDjango19Warning: The utilities in django.db.models.loading are deprecated in favor of the new application loading system.
from django.db.models.loading import get_model

Performing system checks...

最佳答案

尝试一下

pip install -U Django

在您的虚拟环境中。我通过升级 Django 版本解决了这个问题,没有卸载 MySQL 5.7 服务器。

关于Django runserver 卡在执行系统检查上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35572662/

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