Relative Content

Tag Archive for pythonherokuheroku-api

(Python) Issue while trying to deploy a branch in Heroku -Push fails due to NLTK file-

I’m trying to deploy a branch containing FastAPI-wrapped Python endpoints. I’m getting a build error (below), which is causing the branch deployment to fail. I’ve got nltk==3.8.1 in my requirements.txt, and my nltk.txt is empty because so far in localhost I was able to run successfully with just my pip dependencies installed. It’s because of Heroku that I’m adding the nltk.txt to essentially get my code deployed. I don’t know what nltk dependencies are trying to be used, that I’d have to import. Any thoughts?