Deployment on AWS: No module named 'xxx'

Hello Everyone,

I am trying to host a Streamlit app on an AWS EC2 instance but I keep getting the following error when I run the app.

I already installed requirements.txt and followed the steps of this tutorial.

Any ideas on how to help?

Thank you!

Hi @Bertile, welcome to the Streamlit community!

django is a separate web framework, so usually it’s not installed with Streamlit. Can you post the Python code you are running that triggers this error?

Best,
Randy

Hello @randyzwitch,

I found my bug, thanks for your reply.

Have a nice day,

1 Like