>`Traceback (most recent call last):


 "create_db.py", line 7, in <module>

from app import current_app


 "~/fossasia/open-event-server/app/__init__.py", line 36, in <module>

from app.api.helpers.jwt import jwt_user_loader


 "~/fossasia/open-event-server/app/api/__init__.py", line 1, in <module>

from app.api.access_codes import AccessCodeList, AccessCodeListPost, AccessCodeDetail, AccessCodeRelationshipRequired, \


 "~/fossasia/open-event-server/app/api/access_codes.py", line 5, in <module>

from app.api.bootstrap import api


 "~/fossasia/open-event-server/app/api/bootstrap.py", line 3, in <module>

from app.api.helpers.permission_manager import permission_manager


 "~/fossasia/open-event-server/app/api/helpers/permission_manager.py", line 9, in <module>

from app.models.event import Event


 "~/fossasia/open-event-server/app/models/event.py", line 19, in <module>

from app.models.search import sync


 "~/fossasia/open-event-server/app/models/search/sync.py", line 11, in <module>

from app.models.search.event import SearchableEvent


 "~/fossasia/open-event-server/app/models/search/event.py", line 2, in <module>

from elasticsearch_dsl import DocType, Integer, Search, Text
ImportError: cannot import name 'DocType' from 'elasticsearch_dsl' (~/fossasia/open-event-server/venv/lib/python3.7/site-packages/elasticsearch_dsl/__init__.py)`

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/usr/lib64/python3.5/site-packages/pylab.py", line 1, in <module>

from matplotlib.pylab import *


 "/usr/lib64/python3.5/site-packages/matplotlib/pylab.py", line 257, in <module>

from matplotlib import cbook, mlab, pyplot as plt


 "/usr/lib64/python3.5/site-packages/matplotlib/pyplot.py", line 113, in <module>

_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()


 "/usr/lib64/python3.5/site-packages/matplotlib/backends/__init__.py", line 60, in pylab_setup

[backend_name], 0)


 "/usr/lib64/python3.5/site-packages/matplotlib/backends/backend_tkagg.py", line 6, in <module>

from six.moves import tkinter as Tk


 "/usr/lib/python3.5/site-packages/six.py", line 92, in __get__

result = self._resolve()


 "/usr/lib/python3.5/site-packages/six.py", line 115, in _resolve

return _import_module(self.mod)


 "/usr/lib/python3.5/site-packages/six.py", line 82, in _import_module

__import__(name)
ImportError: No module named 'tkinter'
