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.