Streamlit Modulenotfound error

I have been trying to deploy my machine learning model on streamlit but itโ€™s showing error


My requirements file looks like this
image
and my app.py file
image
I think there is error in my requirements file and there must be more packages whicch need to be installed can you tell which other packages need to be installed.

Hi @Mercy_Stephen, welcome to the Streamlit community!

Assuming you are deploying on Streamlit Cloud, you need to add java to a requires.txt file:

Best,
Randy

Which version of java should I put on the requirements.txt file

I would first try the method I have here:

Best,
Randy

A post was split to a new topic: Downloading pandas profile report

I was able to deploy my machine learning app on streamlit using the java-jdk in packages.txt file.I want to deploy the app as a website using Heroku.Heroku I guess is not able to recognize the packages packages.txtx file.

1 Like

Heroku is its own thing, with its own dependency management. So they arenโ€™t going to recognize our packages.txt file.

Best,
Randy

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