I wanted to make an Ai chatbot hosted on Heroku, but there are some problems with installing the requirements.
The chatbot needs the following packages:
- discord
- pytorch
- spaCy
I already figured out putting discord into the requirements.txt, but I got no clue on how to do the other two dependencies.
The problem with them is that they aren't just installed with
pip install NAME_OF_THE_PACKAGE .
Pytorch for example needs:
pip install torch==1.7.0+cpu torchvision==0.8.1+cpu torchaudio==0.7.0 -f https://download.pytorch.org/whl/torch_stable.html
and spaCy needs
pip install -U spacy
pip install -U spacy-lookups-data
python -m spacy download en_core_web_sm.
I tried different variations of the commands above, but none worked. Now I even reached the built limit on my account. Please help me if you know how to solve the problem.