Trouble running Tutorial1_Basic_QA_Pipeline. elasticsearch import throwing error. #2602
Unanswered
yaseenali99
asked this question in
Questions
Replies: 1 comment
-
Hey @yaseenali99, let me try to help you. From the error message, it seems that the Elasticsearch client is not installed properly. Are you executing the tutorial from the same environment as where you executed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I completed the install as per the installation instructions without error on my local machine, but when i try to run the Tutorial1_Basic_QA_Pipeline.py script, I get the following error. When I run the pip install farm-haystack[elasticsearch] as suggested it completes successfully, but I end up with the same error when running the Tutorial 1 script again. Not sure what I'm missing here.
ImportError: Failed to import 'haystack.document_stores.elasticsearch', which is an optional component in Haystack.
Run 'pip install 'farm-haystack[elasticsearch]'' to install the required dependencies and make this component available.
Beta Was this translation helpful? Give feedback.
All reactions