Ok, looks like I found a solution:

svn co http://svn.whoosh.ca/projects/whoosh/trunk/ whoosh
cd whoosh
sudo python setup.py install

The site here suggests a patch but I think it's not up to date
anymore:
http://haystacksearch.org/docs/installing_engines.html



On Oct 28, 4:10 pm, nausikaa <[email protected]> wrote:
> Hi there
>
> I've been trying to use haystack with the whoosh backend in my django
> app.
> I've installed whoosh and haystack using
> pip install Whoosh
> pip install django-haystack
>
> Then I added 'haystack' to my INSTALLED_APPS in settings.py and when
> trying to run
> python manage.py runserver it would say
>
> ...
>   File "/Library/Python/2.6/site-packages/haystack/backends/
> whoosh_backend.py", line 27, in <module>
>     raise MissingDependency("The 'whoosh' backend requires the
> installation of 'Whoosh'. Please refer to the documentation.")
> haystack.exceptions.MissingDependency: The 'whoosh' backend requires
> the installation of 'Whoosh'. Please refer to the documentation.
>
> Then I removed 'haystack' from setttings.py and did
> python manage.py shell>>> for p in sys.path: print p
>
> ...
> /Library/Python/2.6/site-packages/Whoosh-0.1.4-py2.6.egg
> ...
>
> So, whoosh seems to be on the path, even tho haystack complains.
> I've googled for this, but it looks as if I'm the only one having this
> problem, therefore I assume
> I am missing something obvious.
> Can anyone help me please?
> I'm using Django 1.1, Python 2.6 on a Mac OS 10.6.1,
> Thanks for any help!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to