Module Import Error #1672
-
These modules work fine on colab but when I try them on local machine the error occours. Kindly help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @noshila , we recently restructured the structure of the repository and so we have new import statements. 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
|
Beta Was this translation helpful? Give feedback.
Hi @noshila , we recently restructured the structure of the repository and so we have new import statements.
haystack.nodes
andhaystack.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