0

[wsgi:error][remote] mod_wsgi (pid=1183): 目标 WSGI 脚本 '/root/backup_status/django_webapp/wsgi.py' 不能作为 Python 模块加载。[wsgi:error][remote] mod_wsgi (pid=1183): 处理 WSGI 脚本 '/root/backup_status/django_webapp/wsgi.py' 时发生异常。[wsgi:error][remote] Traceback(最近一次调用最后):[wsgi:error][remote] 文件“/root/backup_status/django_webapp/wsgi.py”,第 17 行,在 [wsgi:error][remote] application = get_wsgi_application() [wsgi:error][remote] 文件“/root/env/lib64/python3.6/site-packages/django/core/wsgi.py”,第 12 行,在 get_wsgi_application [wsgi:error][远程] django.setup(set_prefix=False) [wsgi:error][远程] 文件“ /root/env/lib64/python3.6/site-packages/django/init.py”,第 19 行,在设置 [wsgi:error][remote] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) [wsgi:error][remote] 文件“/root/env/lib64/python3.6/site- packages/django/conf/ init .py”,第 56 行,在getattr [wsgi:error][remote] self._setup(name) [wsgi:error][remote] 文件“/root/env/lib64/python3.6 /site-packages/django/conf/ init .py",第 43 行,在 _setup [wsgi:error][remote] self._wrapped = Settings(settings_module) [wsgi:error][remote] 文件“/root/env/ lib64/python3.6/site-packages/django/conf/ init .py",第 106 行,在init [wsgi:error][remote] mod = importlib.import_module(self.SETTINGS_MODULE) [wsgi:error][remote]文件“/usr/lib64/python3.6/importlib/初始化.py”,第 126 行,在 import_module [wsgi:error][remote] return _bootstrap._gcd_import(name[level:], package, level) [wsgi:error][remote] 文件“”,第 994 行,在 _gcd_import [ wsgi:error][remote] 文件“”,第 971 行,在 _find_and_load [wsgi:error][remote] 文件“”,第 941 行,在 _find_and_load_unlocked [wsgi:error][remote] 文件“”,第 219 行,在 _call_with_frames_removed [wsgi:error][remote] 文件“”,第 994 行,在 _gcd_import [wsgi:error][remote] 文件“”,第 971 行,在 _find_and_load [wsgi:error][remote] 文件“”,第 953 行,在_find_and_load_unlocked [wsgi:error][remote] ModuleNotFoundError: No module named 'django_webapp'

4

0 回答 0