Python 2.7.12,
elasticsearch 6.2.0
elasticsearch-dsl 6.1.0
from elasticsearch_dsl import InnerObjectWrapper
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name InnerObjectWrapper
in elasticsearch-dsl 2. version, from elasticsearch_dsl import InnerObjectWrapper
is not wrong, but in 6. version, it is not supported. Solve