Skip to content
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

AttributeError: partially initialized module 'haystack' has no attribute 'logging' (most likely due to a circular import) #712

Closed
jerin-scalers-ai opened this issue May 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jerin-scalers-ai
Copy link

jerin-scalers-ai commented May 3, 2024

pip install nvidia-haystack

Version

haystack-ai versions : 2.0.1
haystack-bm25 versions : 1.0.2
nvidia-haystack versions : 0.0.2

Environment

Python 3.10 (Google Colab)

Code

Ref: https://haystack.deepset.ai/integrations/nvidia

from haystack_integrations.components.embedders.nvidia import NvidiaTextEmbedder

text_to_embed = "I love pizza!"

text_embedder = NvidiaTextEmbedder(model="nvolveqa_40k")
text_embedder.warm_up()

print(text_embedder.run(text_to_embed))

Error

AttributeError: partially initialized module 'haystack' has no attribute 'logging' (most likely due to a circular import)

@jerin-scalers-ai jerin-scalers-ai added the bug Something isn't working label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant