I have a django crontab running at the server, if I see it's log it gives me the following error.
File "/usr/local/lib/python3.6/dist-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/usr/local/lib/python3.6/dist-packages/django/apps/config.py", line 94, in create
module = import_module(entry)
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'sslserver'
How ever if I runt the cron manually by running python manage.py crontab run
it runs fine.
Also I tried running pip install -r requirements.txt
, it says dependency already satisfied.
Any idea how can I get past this?