Skip to content

Module Import Error #1672

Answered by brandenchan
noshila asked this question in Questions
Oct 28, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @noshila , we recently restructured the structure of the repository and so we have new import statements. haystack.nodes and haystack.document_stores are both in the new style suggesting you have a notebook from the latest master branch. If these are not working, this probably means that the package you are running is an older version of Haystack.

Could you try installing the latest master branch of Haystack? To achieve this in the notebook you might need to modify the line that uses pip to something like this

!pip install --upgrade git+https://github.com/deepset-ai/haystack.git

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@superchargez
Comment options

Answer selected by sjrl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants