Человек! Я обожаю тебя! Я 2 дня писал свой модуль и это было без успешно! Хотел уже на Джаву переходить и тут ты спасибо! Очень огромное человеческое Спасибо!
Спасибо! Я и сам про это знаю, но на некоторых сайтах шифруют и делаю запреты так что это не видно в нетворк! Я бы хотел ссылку на поток на тот сайт, но там всё хорошо зашифровано, что его просто нет!
Дмитрий Шицков,
ошибка в принципе глобальна
Traceback (most recent call last):
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\core\management\base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\core\management\commands\runserver.py", line 60, in execute
super().execute(*args, **options)
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\core\management\base.py", line 364, in execute
output = self.handle(*args, **options)
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\core\management\commands\runserver.py", line 67, in handle
if not settings.DEBUG and not settings.ALLOWED_HOSTS:
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\conf\__init__.py", line 79, in __getattr__
self._setup(name)
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\conf\__init__.py", line 66, in _setup
self._wrapped = Settings(settings_module)
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\conf\__init__.py", line 157, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 953, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\Users\User\Desktop\OnlineShop-master\myshop\__init__.py", line 2, in
from .celery import app as celery_app
File "C:\Users\User\Desktop\OnlineShop-master\myshop\celery.py", line 2, in
from celery import Celery
ModuleNotFoundError: No module named 'celery'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "manage.py", line 15, in
execute_from_command_line(sys.argv)
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\core\management\__init__.py", line 381, in execute_from_command_line
utility.execute()
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\core\management\__init__.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\core\management\base.py", line 336, in run_from_argv
connections.close_all()
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\db\utils.py", line 219, in close_all
for alias in self:
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\db\utils.py", line 213, in __iter__
return iter(self.databases)
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\utils\functional.py", line 80, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\db\utils.py", line 147, in databases
self._databases = settings.DATABASES
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\conf\__init__.py", line 79, in __getattr__
self._setup(name)
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\conf\__init__.py", line 66, in _setup
self._wrapped = Settings(settings_module)
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\conf\__init__.py", line 157, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "C:\Users\User\AppData\Local\Programs\Python\Python37-32\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 953, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\Users\User\Desktop\OnlineShop-master\myshop\__init__.py", line 2, in
from .celery import app as celery_app
File "C:\Users\User\Desktop\OnlineShop-master\myshop\celery.py", line 2, in
from celery import Celery
ModuleNotFoundError: No module named 'celery'
Написано
Войдите на сайт
Чтобы задать вопрос и получить на него квалифицированный ответ.