Correction of a failing site in Python
They uploaded new changes to the code, they need a new strip module for Python which was not on the server, the module was delivered and it is available from the console.
but the error did not go, that is, the code does not see the module, uwsgi overloaded nothing
The whole mistake
Imported stripes
ModuleNotFoundError: No module named 'stripe'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/NAME_stage/NAME_stage/NAMEenv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
Response = get_response (request)
File "/home/NAME_stage/NAME_stage/NAMEenv/lib/python3.8/site-packages/whitenoise/middleware.py", line 59, in call
response = self.get_response(request)
File "/home/NAME_stage/NAME_stage/NAMEenv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 49, in inner
response = response_for_exception(request, exc)
File "/home/NAME_stage/NAME_stage/NAMEenv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 114, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/NAME_stage/NAME_stage/NAMEenv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 152, in handle_uncaught_exception
callback = resolve_error_handler(500)
File "/home/NAME_stage/NAME_stage/NAMEenv/lib/python3.8/site-packages/django/urls/resolvers.py", line 611, in resolve_error_handler
callback = getattr(self.urlconf_module, 'handler%s' % view_type, None)
File "/home/NAME_stage/NAME_stage/NAMEenv/lib/python3.8/site-packages/django/utils/functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "/home/NAME_stage/NAME_stage/NAMEenv/lib/python3.8/site-packages/django/urls/resolvers.py", line 591, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/NAME_stage/NAME_stage/script_monitoring/./script_monitoring/urls.py", line 29, in
path ('', include ('script.urls')
File "/home/NAME_stage/NAME_stage/NAMEenv/lib/python3.8/site-packages/django/urls/conf.py", line 34, in include
urlconf_module = import_module (urlconf_module)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/NAME_stage/NAME_stage/script_monitoring/./script/urls.py", line 4, in
from .Import views
Who has great experience.
-
3321 180 0 Good day . Ready to fulfill your task. Let’s write and discuss. and thank you.
-
594 16 1 1 Good evening, I have a great experience working with Python on various servers and setting projects on them. I will fix the problem in a day and explain what was wrong.
-
595 18 2 2 Good day, ready to fulfill your order. Let’s write and agree.
-
Виртуальное окружение есть?
-
Скорее всего, вы не туда модуль поставили.
Думаю, ваше приложение крутится в виртуальном окружении,которое знать не знает про обновления в системе.
С уважением, Сергей
-
Current freelance projects in the category Desktop Apps
Development of custom software (Android application + CMS) for SUNMI K2 self-service kiosks (Fast food)
23 USD
We are looking for an experienced team or a Middle/Senior Android developer (possibly with Full-stack skills) to create proprietary software for self-service kiosks for a fast food retail chain. Currently, our terminals operate on a ready-made cloud integrator, but we are… Content Management Systems, Desktop Apps ∙ 4 days 6 hours back ∙ 20 proposals |
It is necessary to migrate the current working program from FoxPro to C#.Hello everyone! We have a program in FoxPro (it has several modules, it's an accounting program), we have the source code of the program, and if necessary, we can consult with people who support the current program. What needs to be done: 1. Analyze how everything works,… C#, Desktop Apps ∙ 9 days 14 hours back ∙ 19 proposals |
About the Master Program "KONSTRUCTOR"
4182 USD
We are looking for a very experienced C++ developer to modernize existing software (master program). The program is responsible for creating derivative software representing audio-visual sessions of psychological correction. The current version is written in pure WinAPI (Visual… C & C++, Desktop Apps ∙ 12 days 3 hours back ∙ 20 proposals |
ODOO Enterprise setup for constructionНеобхідно побудувати картки та налаштувати зручний імпорт, інтеграцію з ЕДО і загалом Workflow ODOO Компанія займається системною інтеграцією: маємо поставки обладнання В2В або з прямою маржинальністю, або з рібейтами в подальшому. Крім того, ведемо будівельні роботи на об'єктах… Enterprise Resource Planning (ERP), Desktop Apps ∙ 12 days 12 hours back ∙ 7 proposals |