8-2中makemigration失败
来源:8-2 更加强大的后台管理系统-xadmin的配置
kkkkkkkkkkkkkkkdd
2019-09-26
manage.py@mxonline > makemigrations "C:\Program Files\JetBrains\PyCharm 2019.1.3\bin\runnerw64.exe" D:\codes\pythonwebs\mxonline\venv\Scripts\python.exe "C:\Program Files\JetBrains\PyCharm 2019.1.3\helpers\pycharm\django_manage.py" makemigrations D:/codes/pythonwebs/mxonline Tracking file by folder pattern: migrations Traceback (most recent call last): File "C:\Program Files\JetBrains\PyCharm 2019.1.3\helpers\pycharm\django_manage.py", line 52, in <module> run_command() File "C:\Program Files\JetBrains\PyCharm 2019.1.3\helpers\pycharm\django_manage.py", line 46, in run_command run_module(manage_file, None, '__main__', True) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 205, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 96, in _run_module_code mod_name, mod_spec, pkg_name, script_name) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "D:/codes/pythonwebs/mxonline\manage.py", line 21, in <module> main() File "D:/codes/pythonwebs/mxonline\manage.py", line 17, in main execute_from_command_line(sys.argv) File "D:\codes\pythonwebs\mxonline\venv\lib\site-packages\django\core\management\__init__.py", line 381, in execute_from_command_line utility.execute() File "D:\codes\pythonwebs\mxonline\venv\lib\site-packages\django\core\management\__init__.py", line 357, in execute django.setup() File "D:\codes\pythonwebs\mxonline\venv\lib\site-packages\django\__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "D:\codes\pythonwebs\mxonline\venv\lib\site-packages\django\apps\registry.py", line 122, in populate app_config.ready() File "D:/codes/pythonwebs/mxonline\xadmin\apps.py", line 14, in ready self.module.autodiscover() File "D:/codes/pythonwebs/mxonline\xadmin\__init__.py", line 49, in autodiscover register_builtin_plugins(site) File "D:/codes/pythonwebs/mxonline\xadmin\plugins\__init__.py", line 43, in register_builtin_plugins [import_module('xadmin.plugins.%s' % plugin) for plugin in PLUGINS if plugin not in exclude_plugins] File "D:/codes/pythonwebs/mxonline\xadmin\plugins\__init__.py", line 43, in <listcomp> [import_module('xadmin.plugins.%s' % plugin) for plugin in PLUGINS if plugin not in exclude_plugins] File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "D:/codes/pythonwebs/mxonline\xadmin\plugins\ueditor.py", line 7, in <module> from DjangoUeditor.models import UEditorField ModuleNotFoundError: No module named 'DjangoUeditor'
系统报错如下 请问我该怎么处理这个问题啊
写回答
3回答
-
拾荒者_640
2019-10-18
这个解决看16-11章节视频解决
00 -
kkkkkkkkkkkkkkkdd
提问者
2019-09-26
我自己搞定了
老师你这里是个坑啊
需要配置ueditor
042019-10-18 -
kkkkkkkkkkkkkkkdd
提问者
2019-09-26
以上是8-2安装xadmin,代码来源于课程git,第四步 遇到的问题
00
相似问题