# Is python client 6.0.0 is worked with elasticsearch 5.6.3 version which my system have installed?

**URL:** <https://discuss.elastic.co/t/is-python-client-6-0-0-is-worked-with-elasticsearch-5-6-3-version-which-my-system-have-installed/109327>\
**Category:** Elasticsearch\
**Created:** [November 28, 2017, 7:56am UTC](https://discuss.elastic.co/t/is-python-client-6-0-0-is-worked-with-elasticsearch-5-6-3-version-which-my-system-have-installed/109327 "2017-11-28T07:56:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yash\_mangla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yash_mangla/32/25889_2.png) [@yash\_mangla](https://discuss.elastic.co/u/yash_mangla)\
**Post date:** [November 28, 2017, 7:56am UTC](https://discuss.elastic.co/t/is-python-client-6-0-0-is-worked-with-elasticsearch-5-6-3-version-which-my-system-have-installed/109327/1 "2017-11-28T07:56:03Z")

</div>

Hello Guyz,

My system has installed elasticsearch-5.6.3. i want to write python script to pull that data from elastic and dump to another location. I want to store in my defined format. but in python there is elasticsearch module availablity for 6.0.0.

Is it worked or not ? if not, then how can i take this step forward ?

Please guide me in right direction. any genuine help will be appreciable.

Thanks,  
Yash

---

<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:** [December 1, 2017, 9:52am UTC](https://discuss.elastic.co/t/is-python-client-6-0-0-is-worked-with-elasticsearch-5-6-3-version-which-my-system-have-installed/109327/2 "2017-12-01T09:52:03Z")

</div>

Hi,

generally the 6.0 client should work fine in practice. If you want to be on the safe side, you should specify the correct version of the Elasticsearch Python in your `setup.py` / `requirements.txt` file (and use virtualenv instead of installing the library in your global Python search path) . For details see the [notes on compatibility in the Python client docs](https://elasticsearch-py.readthedocs.io/en/master/#compatibility).

Daniel

---

<div class="post-metadata">

**Author:** ![yash\_mangla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yash_mangla/32/25889_2.png) [@yash\_mangla](https://discuss.elastic.co/u/yash_mangla)\
**Post date:** [December 18, 2017, 11:58am UTC](https://discuss.elastic.co/t/is-python-client-6-0-0-is-worked-with-elasticsearch-5-6-3-version-which-my-system-have-installed/109327/3 "2017-12-18T11:58:05Z")

</div>

Thanks @Daniel

It worked for me. 🙂

---

<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 15, 2018, 11:58am UTC](https://discuss.elastic.co/t/is-python-client-6-0-0-is-worked-with-elasticsearch-5-6-3-version-which-my-system-have-installed/109327/4 "2018-01-15T11:58:08Z")

</div>

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