Dmitrii Mikhailov
Dmitrii Mikhailov

Reputation: 5221

Install "elasticsearch" instead of "pyelasticsearch"

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.

Upvotes: 2

Views: 2121

Answers (2)

vinyll
vinyll

Reputation: 11399

Running

pip install elasticsearch

did the trick for me.

Upvotes: 2

Łukasz Staniszewski
Łukasz Staniszewski

Reputation: 668

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.

Upvotes: 1

Related Questions