Skip to content

rest_api install problem #4644

Closed Answered by masci
jj449 asked this question in Questions
Apr 12, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @jj449

there's a subtle difference between pip install rest_api and pip install rest_api/ that you see in the docs: the former will try to download the package from PyPI (and it fails as we don't publish rest_api) while the latter (notice the trailing /) will install from the local folder.

I'll amend the documentation to make this more evident, in the meantime try cloning the Haystack repo and run from the repo folder:

pip install rest_api/

Update
I amended the docs here, I think the easiest approach is to install the rest_api with the following command:

pip install "git+https://github.com/deepset-ai/haystack.git#egg=rest_api&subdirectory=rest_api"

This way you don't need to clone th…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jj449
Comment options

Answer selected by jj449
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants