Spacy model loading fails after installing progmatically on Heroku #10583
-
Hi, I'm using the I implemented this and had it download right before it loaded the rest of my Flask app. Unfortunately, despite the logs showing a completely successful download and install, Are there any issues with how I did this? Can you guys help me? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Our ability to help with third-party packages or debugging application logs is limited, but it looks like you're downloading the model and attempting to use it in the same process, which generally doesn't work. After installation you should restart the Python process. See here in the docs, and scroll down for a way to specify models in a |
Beta Was this translation helpful? Give feedback.
Our ability to help with third-party packages or debugging application logs is limited, but it looks like you're downloading the model and attempting to use it in the same process, which generally doesn't work. After installation you should restart the Python process. See here in the docs, and scroll down for a way to specify models in a
requirements.txt
file (no idea if it'll work with pipenv).