-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation issues on Databricks #7647
Labels
Comments
Closed
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I am trying to run a simple pipeline on Databricks ML runtime 14.3 LTS
I installed haystack using pip install haystack-ai and during import:
from haystack.components.embedders import SentenceTransformersDocumentEmbedder
Error message
![image](https://private-user-images.githubusercontent.com/1615119/327897130-484dd0fe-3688-4dbf-9755-8c9067a0cd1c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzMzkzNjUsIm5iZiI6MTcyMTMzOTA2NSwicGF0aCI6Ii8xNjE1MTE5LzMyNzg5NzEzMC00ODRkZDBmZS0zNjg4LTRkYmYtOTc1NS04YzkwNjdhMGNkMWMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MThUMjE0NDI1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODUyMTFlMTg2ZTJkMTM1YWE1NTg4NGM2NDBmZTFmZmUwOTA1OGQ5ODk1ZDhhODgxZDk4ZTc0MjM1OWZhNzg2OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.aM3aVVMshQz1IEvBQ9Rm6regR1J9Db4qaAyPFGq-3vk)
ImportError: cannot import name 'Iterator' from 'typing_extensions' (/databricks/python/lib/python3.10/site-packages/typing_extensions.py)
File , line 12
10 from haystack.components.retrievers.in_memory import InMemoryEmbeddingRetriever
11 from haystack import Document
---> 12 from haystack.components.embedders import SentenceTransformersDocumentEmbedder
Expected behavior
Import works just fine
Additional context
No preprocessing was done.
To Reproduce
Create a databricks cluster with 14.3 ML LTS runtime, use default configuration, run pip install haystack-ai
FAQ Check
System:
Databricks 14.3 LTS ML (runtime details are available in the official docs)
The text was updated successfully, but these errors were encountered: