Target WSGI script '.../wsgi.py' cannot be loaded as Python module.
Primary tabs
mod_wsgi (pid=...): Target WSGI script '.../wsgi.py' cannot be loaded as Python module.
Полный лог:
mod_wsgi (pid=6872): Target WSGI script '/home/myuser/Python/mydjango/mydjango/wsgi.py' cannot be loaded as Python module. mod_wsgi (pid=6872): Exception occurred processing WSGI script '/home/myuser/Python/mydjango/mydjango/wsgi.py'. Traceback (most recent call last): File "/home/myuser/Python/mydjango/mydjango/wsgi.py", line 16, in <module> application = get_wsgi_application() File "/home/myuser/Python/django/django/core/wsgi.py", line 12, in get_wsgi_application django.setup(set_prefix=False) File "/home/myuser/Python/django/django/__init__.py", line 19, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/home/myuser/Python/django/django/conf/__init__.py", line 57, in __getattr__ self._setup(name) File "/home/myuser/Python/django/django/conf/__init__.py", line 44, in _setup self._wrapped = Settings(settings_module) File "/home/myuser/Python/django/django/conf/__init__.py", line 107, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 986, in _gcd_import File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 944, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 986, in _gcd_import File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 956, in _find_and_load_unlocked ImportError: No module named 'mydjango'
- Log in to post comments
- 2054 reads