Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

How can I install official elasticsearch binding for python instead of pyelasticsearch? Haystack documentation says:

You’ll also need an Elasticsearch binding: elasticsearch-py (NOT pyes). Place elasticsearch somewhere on your PYTHONPATH (usually python setup.py install or pip install elasticsearch).

But when I install elasticsearch with pip, haystack still asks for pyelasticsearch.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

I used haystack in my last project. I checked my virtualenv and I have only 'pyelasticsearch==0.5'. Keep in my mind that documentation can be outdated.

share|improve this answer

Running

pip install elasticsearch

did the trick for me.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.