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

ImportError: cannot import name 'Pipeline' from haystack #5476

Closed
mvillanue opened this issue Jul 31, 2023 · 3 comments
Closed

ImportError: cannot import name 'Pipeline' from haystack #5476

mvillanue opened this issue Jul 31, 2023 · 3 comments

Comments

@mvillanue
Copy link

Problem
Cannot import Pipeline from haystack.

Error message
StackTrace:
ImportError: cannot import name 'Pipeline' from haystack

Additional context
Currently im using farm-haystack v: 1.19.0

To Reproduce
Instalation: pip install farm-haystack[all]

I also tried the the git clone option but I am still unable to load the Pipeline.

System:

  • OS: Ubuntu 20.04.6 LTS
  • Haystack version (commit or version number): 1.19.0
@anakin87
Copy link
Member

anakin87 commented Aug 4, 2023

Hey, @mvillanue...

I can't reproduce your issue.
For example, when running this tutorial, the import works well.

I would suggest reinstalling Haystack in a clean virtual environment.

Let us know if this issue persists...

@oscar6echo
Copy link

Other way to have such error msg:
Do incorrect pip install haystack instead of correct pip install haystack-ai.

@github-actions github-actions bot added the stale label May 12, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2024
@sudoghut
Copy link

I solved this issue by changing my Python version from 3.10 to 3.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants