# Error: 0: pyembed: No module named 'elasticsearch'

**URL:** <https://discuss.elastic.co/t/error-0-pyembed-no-module-named-elasticsearch/210424>\
**Category:** Elasticsearch\
**Created:** [December 3, 2019, 8:04pm UTC](https://discuss.elastic.co/t/error-0-pyembed-no-module-named-elasticsearch/210424 "2019-12-03T20:04:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvelumani](https://avatars.discourse-cdn.com/v4/letter/n/96bed5/32.png) [@nvelumani](https://discuss.elastic.co/u/nvelumani)\
**Post date:** [December 3, 2019, 8:04pm UTC](https://discuss.elastic.co/t/error-0-pyembed-no-module-named-elasticsearch/210424/1 "2019-12-03T20:04:04Z")

</div>

Hello Team,

I have version 7.4.2 Elasticsearch and Kibana installed along with python 3.6 in a centos7 machine. When I try to create an Elasticsearch index through python code I get an error saying "Error: 0: pyembed: No module named 'elasticsearch' ", It would be really great if I can get any help, Thanks.

Please find the below snippet that confirms elasticsearch module is installed.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/5/c529d720c56ef294139e91ebc958dceee76f0599.png)

Naveen Velumani.

---

<div class="post-metadata">

**Author:** ![nvelumani](https://avatars.discourse-cdn.com/v4/letter/n/96bed5/32.png) [@nvelumani](https://discuss.elastic.co/u/nvelumani)\
**Post date:** [December 4, 2019, 9:59pm UTC](https://discuss.elastic.co/t/error-0-pyembed-no-module-named-elasticsearch/210424/2 "2019-12-04T21:59:36Z")

</div>

BUMP

---

<div class="post-metadata">

**Author:** ![adwaitjoshi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adwaitjoshi/32/35098_2.png) [@adwaitjoshi](https://discuss.elastic.co/u/adwaitjoshi)\
**Post date:** [December 5, 2019, 2:57pm UTC](https://discuss.elastic.co/t/error-0-pyembed-no-module-named-elasticsearch/210424/3 "2019-12-05T14:57:05Z")

</div>

Having the same issue. Can anyone from the elastic team help?

---

<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:** [January 2, 2020, 2:57pm UTC](https://discuss.elastic.co/t/error-0-pyembed-no-module-named-elasticsearch/210424/4 "2020-01-02T14:57:13Z")

</div>

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