ImportError: DLL load failed: 找不到指定的模块

来源:8-2 更加强大的后台管理系统-xadmin的配置

DduanANan

2020-09-14

Traceback (most recent call last):
File “E:\pythonwork\PyCharm 2019.2.3\helpers\pycharm\django_manage.py”, line 52, in
run_command()
File “E:\pythonwork\PyCharm 2019.2.3\helpers\pycharm\django_manage.py”, line 46, in run_command
run_module(manage_file, None, ‘main’, True)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\runpy.py”, line 205, in run_module
return run_module_code(code, init_globals, run_name, mod_spec)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\runpy.py”, line 96, in run_module_code
mod_name, mod_spec, pkg_name, script_name)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File “K:/xunihua/programFile/studyonline_files\manage.py”, line 21, in
main()
File “K:/xunihua/programFile/studyonline_files\manage.py”, line 17, in main
execute_from_command_line(sys.argv)
File "C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django\core\management_init
.py", line 381, in execute_from_command_line
utility.execute()
File "C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django\core\management_init
.py", line 357, in execute
django.setup()
File "C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django_init
.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django\apps\registry.py”, line 122, in populate
app_config.ready()
File “K:/xunihua/programFile/studyonline_files\xadmin\apps.py”, line 14, in ready
self.module.autodiscover()
File “K:/xunihua/programFile/studyonline_files\xadmin_init_.py”, line 49, in autodiscover
register_builtin_plugins(site)
File “K:/xunihua/programFile/studyonline_files\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 “K:/xunihua/programFile/studyonline_files\xadmin\plugins_init_.py”, line 43, in
[import_module(‘xadmin.plugins.%s’ % plugin) for plugin in PLUGINS if plugin not in exclude_plugins]
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\importlib_init_.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “

写回答

1回答

bobby

2020-09-16

这样看起来不方便 你截图我看看异常把

0
0

Django+ xadmin 开发在线教育网站

一套通用的技术组合拳,助你解决大部分Python类网站后端问题

1911 学习 · 2149 问题

查看课程