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

ModuleNotFoundError: No module named 'google_vertex_haystack' #1266

Open
maxim-lixakov opened this issue Dec 24, 2024 · 0 comments
Open

ModuleNotFoundError: No module named 'google_vertex_haystack' #1266

maxim-lixakov opened this issue Dec 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@maxim-lixakov
Copy link

maxim-lixakov commented Dec 24, 2024

Describe the bug
I try to install and use VertexAIGeminiGenerator following official documentation but in both cases (running code in prepared colab notebook and both locally in jupyter notebook it fails with error ModuleNotFoundError: No module named 'google_vertex_haystack' when I try to import class: from google_vertex_haystack.generators.gemini import VertexAIGeminiGenerator

To Reproduce
even official example fails with this error (you can see it on screens below):

image

ensure that package exists:

image

try to import:

image

Describe your environment (please complete the following information):

  • OS: google colab / IOS Mac M1
  • Haystack version:
 google-vertex-haystack             4.0.1
 haystack-ai                        2.8.0
 haystack-experimental              0.4.0
  • Integration version:
@maxim-lixakov maxim-lixakov added the bug Something isn't working label Dec 24, 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