ModuleNotFoundError: No module named 'plotly_express'

Error comes:
import plotly_express as px

It works fine on the local machine but when deploying to cloud I get this error. Is this not supported?

From App dependencies - Streamlit Docs :

App dependencies

The main reason that apps fail to build properly is because Streamlit Cloud can’t find your dependencies! So make sure you:

  1. Add a requirements file for Python dependencies.

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