Getting keyerror 118

File "/app/.heroku/python/lib/python3.10/site-packages/streamlit/scriptrunner/script_runner.py", line 443, in _run_script
    exec(code, module.__dict__)File "/app/app.py", line 8, in <module>
    model = joblib.load(r'Model/model.joblib')File "/app/.heroku/python/lib/python3.10/site-packages/joblib/numpy_pickle.py", line 587, in load
    obj = _unpickle(fobj, filename, mmap_mode)File "/app/.heroku/python/lib/python3.10/site-packages/joblib/numpy_pickle.py", line 506, in _unpickle
    obj = unpickler.load()File "/app/.heroku/python/lib/python3.10/pickle.py", line 1213, in load
    dispatch[key[0]](self)

Afaik streamlit does not run on python3.10 yet, i would try python3.9 instead.

1 Like