While deplying i m facing issue in deployment

Below is the issue that i m facing,

i have checked the versions properly upgarded and downgraded the same.

Also checked Command prompt it shows everything is installed properly.

File “/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 535, in _run_script exec(code, module.dict)File “/mount/src/dashboards/map.py”, line 3, in import plotly.express as px

**ModuleNotFoundError**: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app).

Thanks in advance!

Hi @Tejas

The ModuleNotFoundError is hinting that a prerequisite library is not found. A simple fix is to add this library to the requirements.txt file, which in your case is most likely plotly.

Hope this helps.

Thank you will give a try for it!!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.