문제

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.

도움이 되었습니까?

해결책 2

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.

다른 팁

Running

pip install elasticsearch

did the trick for me.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top