I’m deploying a text classification model on streamlit share, but it seems to have problems with importing modules. I have a requirements.txt.
It does seem to install the module fine, but it does not import properly.
Collecting joblib==1.0.1 Downloading joblib-1.0.1-py3-none-any.whl (303 kB)
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py”, line 333, in _run_script
File “/app/survey-response-processing/frontend.py”, line 2, in
from joblib import load
ModuleNotFoundError: No module named ‘joblib’