Can't get Elasticsearch working with Django

后端 未结 1 1142
逝去的感伤
逝去的感伤 2021-01-03 09:28

I\'m trying to use Django and Haystack with Elasticsearch as the backend on Ubuntu 14.04. I have Elasticsearch and Haystack installed.

The error I receive when I run

1条回答
  •  迷失自我
    2021-01-03 10:17

    Seems you've already fixed it, but for future Googlers: some people have trouble with the Haystack versions on pip around 2014-2015. Fixing the version at 2.1.0 seems to fix it, as does downloading 2.4.0 directly from git:

    pip install git+https://github.com/django-haystack/django-haystack
    

    UPDATE: The current version of haystack in pypi works (nov 2015), be sure to update!

    0 讨论(0)
提交回复
热议问题