Using elasticsearch with jupyter notebook

' m trying to use elasticsearch with jupyter notebook I have installed elasticsearch python client using pip install elasticsearch and I have included the elasticsearch spark connector jar on the classpath when launching my notebook but when I tested if elasticsearch instance is running I got

No Module named elasticsearch

here is the code that I used :

from elasticsearch import Elasticsearch 
es=Elasticsearch()
es.info(pretty=True)

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.