python manage.py makemigrations

发布于 2023-06-07 16:52:34

我在执行迁移命令python3 manage.py makemigrations时,遇到如下错误,看上去是缺少模块?可是我的项目是用git clone https://gitee.com/liqianglog/django-vue-admin.git,新下载的,请问这是怎么了?

python manage.py makemigrations
Traceback (most recent call last):
File "E:idea-workplacedjango-vue-adminbackendmanage.py", line 22, in <module>

main()

File "E:idea-workplacedjango-vue-adminbackendmanage.py", line 18, in main

execute_from_command_line(sys.argv)

File "C:UsersboAppDataLocalProgramsPythonPython311Libsite-packagesdjangocoremanagement__init__.py", line 442, in execute_from_command_line

utility.execute()

File "C:UsersboAppDataLocalProgramsPythonPython311Libsite-packagesdjangocoremanagement__init__.py", line 416, in execute

django.setup()

File "C:UsersboAppDataLocalProgramsPythonPython311Libsite-packagesdjango__init__.py", line 24, in setup

apps.populate(settings.INSTALLED_APPS)

File "C:UsersboAppDataLocalProgramsPythonPython311Libsite-packagesdjangoappsregistry.py", line 91, in populate

app_config = AppConfig.create(entry)
             ^^^^^^^^^^^^^^^^^^^^^^^

File "C:UsersboAppDataLocalProgramsPythonPython311Libsite-packagesdjangoappsconfig.py", line 193, in create

import_module(entry)

File "C:UsersboAppDataLocalProgramsPythonPython311Libimportlib__init__.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1142, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'django_comment_migrate'

查看更多

关注者
0
被浏览
460
0 个回答
暂无答案,快来添加答案吧

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览