Skip to content

How to install Haystack offline? #2530

Answered by JimReno
JimReno asked this question in Questions
Discussion options

You must be logged in to vote

Good news. I have just successfully deployed the Haystack to an offline windows10 PC.

  1. First I create a new anaconda environment on the PC which have access to Internet. Let's call the environment my_env. Activate the new environment use command conda activate my_env.
  2. Then I use the command provided in README to install every packages :
    pip install farm-haystack -f https://download.pytorch.org/whl/torch_stable.html (note it will support GPU compute if you have a GPU)
  3. Use conda-pack to pack the new environment. conda pack -n my_env
  4. Use disk to copy the my_env.tar.gz to the offline PC.
  5. Unpack the my_env.tar.gz to anaconda/envs/my_env (You can use command line or do it manually.)
  6. cd to the m…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by JimReno
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants