Traceback (most recent call last):
File "./opsmanage/__init__.py", line 5, in <module>
from .celery import app as celery_app
File "./opsmanage/celery.py", line 11, in <module>
from celery import Celery
File "/usr/local/lib/python2.7/site-packages/celery/five.py", line 306, in __getattr__
module = __import__(self._object_origins[name], None, None, [name])
File "/usr/local/lib/python2.7/site-packages/celery/app/__init__.py", line 14, in <module>
from celery import _state
File "/usr/local/lib/python2.7/site-packages/celery/_state.py", line 17, in <module>
import weakref
File "/usr/local/lib/python2.7/weakref.py", line 14, in <module>
from _weakref import (
ImportError: cannot import name _remove_dead_weakref
Tue Jul 23 09:42:52 2019 - unable to load app 0 (mountpoint='www.mypython.com|') (callable not found or import error)
Tue Jul 23 09:42:52 2019 - --- no python application found, check your startup logs for errors ---