Hello, I encounter an “ModuleNotFoundError” when deployed, for pymongo, even if it is specified in the requirements file.
Here are my requirements :
streamlit==1.3.0
pandas==1.3.5
plotly==5.4.0
pymongo==3.11.0
And here is, the github link : GitHub - gabola29/app_rappeur_francais
In the logs, I’ve seen some “weird” things who are probably related whith file, but I don’t how to interpret them and fix it.
First this :
Summary
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
And finally a warning :
Summary
Discarding https://files.pythonhosted.org/packages/ff/6d/9f5004f4619e64e25785029d3fab9807eddc780e194ba323ecd4007fa8c5/cffi-1.2.0-1.tar.gz#sha256=9b9c2b964fd88ddbf99ea8fff65c56264c8866b77050fd53f0159e53c98c27e0 (from Links for cffi). Requested cffi>=1.0.1 from https://files.pythonhosted.org/packages/ff/6d/9f5004f4619e64e25785029d3fab9807eddc780e194ba323ecd4007fa8c5/cffi-1.2.0-1.tar.gz#sha256=9b9c2b964fd88ddbf99ea8fff65c56264c8866b77050fd53f0159e53c98c27e0 (from argon2-cffi-bindings->argon2-cffi->notebook>=4.4.1->widgetsnbextension~=3.5.0->ipywidgets>=7.0.0->pydeck>=0.1.dev5->streamlit==1.3.0->-r /app/app_rappeur_francais/requirements.txt (line 1)) has inconsistent version: filename has ‘1.2.0.post1’, but metadata has ‘1.2.0’
Thank you for your help !