Unable to solve the installed module error

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).

Traceback:

File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
    exec(code, module.__dict__)File "/mount/src/testing.py/streamlit_app.py", line 3, in <module>
    import plotly.express as px

Unable to solve the error. The pips are already installed and updated but when I try to deploy an app it shows the error (attached above).

  1. Please share a link to your public github repo
  2. Don’t use dots within your file path: /testing.py/

Here you go and the name is updated now.

@Franky1 @Caroline Any update on concern raised?

  1. Remove the dot from the github project name testing.py into e.g. testing-py
  2. Try reboot or reinstall the streamlit app

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