Replies: 2 comments
-
haystack/haystack/utils/squad_to_dpr.py Lines 106 to 114 in c389437 The script checks if Elasticsearch is running on localhost:9200 If not, it attempts to start Elasticsearch using Docker. In your case, it probably fails because you don't have Docker. You can avoid this error if you install and start Elasticsearch yourself. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@anakin87 Is that mean i cannot run in google colab or anaconda prompt? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
To reproduce:
(haystack) C:\Users\Haystack\NewStart>python squad_to_dpr.py --squad_input_filename answers.json --dpr_output_filename C:\Users\Haystack\NewStart\dpr.json
The output
Using SQuAD-like file answers.json
The system cannot find the path specified.
Traceback (most recent call last):
File "C:\Users\Haystack\NewStart\squad_to_dpr.py", line 347, in
main(
File "C:\Users\Haystack\NewStart\squad_to_dpr.py", line 268, in main
document_store: Union[ElasticsearchDocumentStore, FAISSDocumentStore] = store_factory.get_document_store()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Haystack\NewStart\squad_to_dpr.py", line 102, in get_document_store
self._preparationself._store_type
File "C:\Users\Haystack\NewStart\squad_to_dpr.py", line 114, in __prepare_ElasticsearchDocumentStore
raise Exception("Failed to launch Elasticsearch.")
Exception: Failed to launch Elasticsearch.
Is it i need to install docker or what? but i install faiis document store for the same environemnt
Beta Was this translation helpful? Give feedback.
All reactions