O
O
Omar Nigma2022-03-26 11:43:52
Django
Omar Nigma, 2022-03-26 11:43:52

I installed Django in pycharm and it gives this error when I start the site, I'm new, how can I solve the problem?

Watching for file changes with StatReloader
Exception in thread django-main-thread:
Traceback (most recent call last):
File "C:\Program Files\Python310\lib\threading.py", line 1009, in _bootstrap_inner
self.run()
File "C:\Program Files\Python310\lib\threading.py", line 946, in run
self._target(*self._args, **self._kwargs)
File "C:\Program Files\Python310\lib\site -packages\django\utils\autoreload.py", line 64, in wrapper
fn(*args, **kwargs)
File "C:\Program Files\Python310\lib\site-packages\django\core\management\commands\ runserver.py", line 125, in inner_run
autoreload.raise_last_exception()
File "C:\Program Files\Python310\lib\site-packages\django\utils\autoreload.py", line 87, in raise_last_exception
raise _exception[1]
File "C:\Program Files\Python310\lib\site-packages \django\core\management\__init__.py", line 398, in execute
autoreload.check_errors(django.setup)()
File "C:\Program Files\Python310\lib\site-packages\django\utils\autoreload.py ", line 64, in wrapper
fn(*args, **kwargs)
File "C:\Program Files\Python310\lib\site-packages\django\__init__.py", line 24, in setup
apps.populate(settings. INSTALLED_APPS)
File "C:\Program Files\Python310\lib\site-packages\django\apps\registry.py", line 91, in populate
app_config = AppConfig.create(entry)
File "C:\Program Files\Python310\lib\site-packages\django\apps\config.py", line 228, in create
import_module(entry)
File "C:\Program Files\Python310\lib\importlib\__init__. py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'star_ratings'

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2022-03-26
@bacon

since you are a beginner, remove pycharm, there have already been a bunch of times about it, in addition to fighting your ignorance, you will still fight pycharm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question