Heroku Deployment Error: No matching distribution found for en-core-web-sm

青春壹個敷衍的年華 提交于 2019-12-05 18:53:14

It doesn't look like pip install en-core-web-sm works either, so I'm wondering how you installed it locally?

One possible solution is to get it from github instead of pypi, by adding this line in requirements.txt instead

-e https://github.com/explosion/spacy-models/releases/download/en_vectors_web_lg-2.1.0/en_vectors_web_lg-2.1.0.tar.gz#egg=en_core_web_sm
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!