# Error on importing ES with python

**URL:** <https://discuss.elastic.co/t/error-on-importing-es-with-python/99480>\
**Category:** Elasticsearch\
**Created:** [September 5, 2017, 7:39pm UTC](https://discuss.elastic.co/t/error-on-importing-es-with-python/99480 "2017-09-05T19:39:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomer](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@tomer](https://discuss.elastic.co/u/tomer)\
**Post date:** [September 5, 2017, 7:39pm UTC](https://discuss.elastic.co/t/error-on-importing-es-with-python/99480/1 "2017-09-05T19:39:00Z")

</div>

Hi,

I am getting an error: "No module named elasticsearch"  
I saw in many answers to check if the pip installed the correct version of python and ES. I installed ES through rpm and python through yum install...

What may be causing this?

Many thanks,  
Tomer.

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [September 6, 2017, 7:32am UTC](https://discuss.elastic.co/t/error-on-importing-es-with-python/99480/2 "2017-09-06T07:32:19Z")

</div>

Hi @tomer,

you've probably installed Elasticsearch (the server) via rpm. You still need to install the Python Elasticsearch client via pip.

Daniel

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 4, 2017, 7:32am UTC](https://discuss.elastic.co/t/error-on-importing-es-with-python/99480/3 "2017-10-04T07:32:51Z")

</div>

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