Haystack import Error

See original GitHub issue

Not able to import the haystack modules though after installing them and having the latest version of haystack

ImportError: cannot import name '__version__' from 'haystack'

Related errors are popping up when we try to import other haystack modules as well like

ImportError: cannot import name 'Document' from 'haystack'

Please suggest the necessary dependencies to be executed to get over the error.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mascicommented, Jun 26, 2022

The fix for Elastisearch is here https://github.com/deepset-ai/haystack/pull/2735

0reactions
mascicommented, Sep 14, 2022

I’m closing this one due to inactivity, @balarampatcha feel free to reopen should you still experience the issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debugging Haystack — Haystack 2.5.0 documentation
Start a Django shell ( ./manage.py shell ) and try import haystack . You may receive a different, more descriptive error message. Double-check...
Read more >
Haystack in INSTALLED_APPS results in Error: cannot import ...
Whenever I have "haystack" in my settings.INSTALLED_APPS and I try manage.py runserver or manage.py shell I get 'Error: cannot import name ...
Read more >
No module named 'haystack' : Forums - Import Error
Import Error: No module named 'haystack'. I'm having some errors while trying to import haystack into my web app. It's my understanding that ......
Read more >
Setting up django-haystack for the first time - Google Groups
and I get this error. ImportError: No module named 'haystack.backends.solr_backends'. this is my search_indexes.py file. from haystack import indexes.
Read more >
farm-haystack - PyPI
Neural Question Answering & Semantic Search at Scale. Use modern transformer based models like BERT to find answers in large document collections.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found