• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

python manage.py runserver 친 후에 아래와 같은 문구들이 뜨면서 127.0.0.1:8000으로 가도 안 떠요 ㅠㅠ

19.09.24 22:32 작성 조회수 155

0

Watching for file changes with StatReloader

Performing system checks...

System check identified no issues (0 silenced).

September 24, 2019 - 22:31:23

Django version 2.2.5, using settings 'my_site_prj.settings'

Starting development server at http://127.0.0.1:8000/

Quit the server with CTRL-BREAK.

Exception in thread django-main-thread:

Traceback (most recent call last):

  File "C:\github\django_sh_website\venv\lib\site-packages\django\core\servers\basehttp.py", line 45, in get_internal_wsgi_application

    return import_string(app_path)

  File "C:\github\django_sh_website\venv\lib\site-packages\django\utils\module_loading.py", line 17, in import_string

    module = import_module(module_path)

  File "C:\Users\kimsh\Anaconda3\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 965, in _find_and_load_unlocked

ModuleNotFoundError: No module named 'my_site_prj.wsgi'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

  File "C:\Users\kimsh\Anaconda3\lib\threading.py", line 917, in _bootstrap_inner

    self.run()

  File "C:\Users\kimsh\Anaconda3\lib\threading.py", line 865, in run

    self._target(*self._args, **self._kwargs)

  File "C:\github\django_sh_website\venv\lib\site-packages\django\utils\autoreload.py", line 54, in wrapper

    fn(*args, **kwargs)

  File "C:\github\django_sh_website\venv\lib\site-packages\django\core\management\commands\runserver.py", line 137, in inner_run

    handler = self.get_handler(*args, **options)

  File "C:\github\django_sh_website\venv\lib\site-packages\django\contrib\staticfiles\management\commands\runserver.py", line 27, in get_handler

    handler = super().get_handler(*args, **options)

  File "C:\github\django_sh_website\venv\lib\site-packages\django\core\management\commands\runserver.py", line 64, in get_handler

    return get_internal_wsgi_application()

  File "C:\github\django_sh_website\venv\lib\site-packages\django\core\servers\basehttp.py", line 50, in get_internal_wsgi_application

    ) from err

django.core.exceptions.ImproperlyConfigured: WSGI application 'my_site_prj.wsgi.application' could not be loaded; Error importing module.

답변 1

답변을 작성해보세요.

0

이 질문 이후에 다른 질문을 또 올리셨던데, 이 부분은 해결이 되셨나요?