Running stremlit through colab

While using google colab and local tunnel to run streamlit, i GET PACKAGES NOT FOUND ERROR, how do I run requirements txt in that case? Tho there exists a file (requirements.txt)in the same folder of app.py, I get module not found error

Welcome, Alagu_Prakalya! It’s great to see you joining our community! :hugs:

Did you install packages from requirements.txt?

Since you have a requirements.txt file, you need to ensure that Google Colab installs these packages. You can do this by running the following command at the start of your Colab notebook:

!pip install -r requirements.txt

Also, make sure that the requirements.txt file is accessible in the directory from which you are running this command.

Good luck, and let me know how it goes!

Best,
Charly

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