运行simpleui的demo,报错No module named 'simpleui.admin'

作者:用户_mlc5qknV 327 浏览 0 评论 发布时间:2021-01-07 10:48:46

https://github.com/newpanjing/simpleui_demo github上下载的demo,运行时报错, File "manage.py", line 15, in execute_from_command_line(sys.argv) File "/usr/local/lib/python3.8/dist-packages/django/core/management/init.py", line 401, in execute_from_command_line utility.execute() File "/usr/local/lib/python3.8/dist-packages/django/core/management/init.py", line 377, in execute django.setup() File "/usr/local/lib/python3.8/dist-packages/django/init.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "/usr/local/lib/python3.8/dist-packages/django/apps/registry.py", line 122, in populate app_config.ready() File "/usr/local/lib/python3.8/dist-packages/django/contrib/admin/apps.py", line 24, in ready self.module.autodiscover() File "/usr/local/lib/python3.8/dist-packages/django/contrib/admin/init.py", line 24, in autodiscover autodiscover_modules('admin', register_to=site) File "/usr/local/lib/python3.8/dist-packages/django/utils/module_loading.py", line 47, in autodiscover_modules import_module('%s.%s' % (app_config.name, module_to_search)) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 783, in exec_module File "", line 219, in _call_with_frames_removed File "/root/my-project/simpleui_demo/demo/admin.py", line 8, in from simpleui.admin import AjaxAdmin ModuleNotFoundError: No module named 'simpleui.admin'

Loading...
评论列表 1条评论
社区小助手
2021-01-07 10:48:47

帮您找到一条类似的主题帖,您看看对您是否有帮助。

simplepro 安装报错 ModuleNotFoundError: No module named '_lzma'

有没大佬可以指点下。。。我去搜了lzma 这个包。也没有查到怎么安装

该回复由机器人自动回答,如有其它疑问也可以加入QQ群:786576510