No matching distribution found for en-core-web-sm==3.5.0

Summary

I tried to deploy my app to server, but encounter with this error:

2023/03/15 18:02:43.052196482 ERROR: No matching distribution found for en-core-web-sm==3.5.0```

And here's the package dependencies, which I even didn't find en-core-web-sm here: 


### Debug info
- Streamlit version: 1.18.0 (get it with `$ streamlit version`)
- Python version: 3.7.12 (get it with `$ python --version`)
- Using Conda? PipEnv? PyEnv? Pex?
- OS version: 
- Browser version:

### Requirements file

streamlit==1.17.0
pandas
networkx==2.5
plotly
ipykernel
streamlit-aggrid
nflx-pins
nflx-metaflow
arrow
pytz

I assume this problem is related to the spaCy library?
Can you please share the link to your public github repo, otherwise we are poking around in the dark.

Thanks for the reply! Unfortunately I am developing for a work app so cannot share repo. But I solved this problem!

So basically you’ll need a requirement.txt in the same directory as the app.py, and also when you deploy make sure your terminal is at this directory. I made the mistake that I was 1 layer lower than the directory and cannot find the requirement.txt. So although I didn’t use spacey I got the error as well.

Thank you for your help!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.