I am trying to deploy wind speed prediction model using Prophet but i am facing errors like
ModuleNotFoundError: No module named ‘cmdstanpy.compiler_opts’
2024-04-07 20:23:25.598 503 GET /script-health-check (10.12.220.185) 173.58ms
2024-04-07 20:23:30.471 Uncaught app exception
I am sharing my github repo and public app link for reference
[https://efgdgetgfpgjexx83f9qlm.streamlit.app/](https://efgdgetgfpgjexx83f9qlm.streamlit.app/)
Github repo - https://github.com/harini1703/test4
Could somebody help me to overcome this issue?
Hey @Hari_Lakshmi_A.S . I have seen your requirements.txt
file. There is a typo error in the library name. The char p
should be small in Prophet
. Just replace it with small p
and reboot the application once. Hope it works well.
Happy Streamlit-ing
Thank you for your assistance, Sir. However, I’m still encountering this error.
ModuleNotFoundError: No module named 'cmdstanpy.compiler_opts'
2024-04-08 05:42:45.577 503 GET /script-health-check (10.12.220.185) 142.88ms
2024-04-08 05:42:50.439 Uncaught app exception
Traceback (most recent call last):
File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
exec(code, module.__dict__)
File "/mount/src/test4/interface.py", line 11, in <module>
clf = pickle.load(pickle_in)
Hey @Hari_Lakshmi_A.S . Is it working smoothly in local??
I haven’t attempted to run locally.
Once run the app loclly and debug where you are getting the error. Im thinking that there is something error in that pickle file. If you find an errros in local then feel to free to ask