This repository contains a Streamlit app, and this guide will walk you through the steps to set it up and run it using streamlit run.
Before running the app, ensure that you have the following prerequisites:
-
Python 3.10
Make sure that you have Python 3.10 or later installed. You can check your Python version by running:python --version
-
Install Dependencies
Ensure all required libraries are installed. Run:To install dependencies from
requirements.txt, run:pip install -r requirements.txt
This will install
Streamlitand any other packages required for your application.
Follow these steps to run the app:
If you haven't already cloned the repository, do so with:
git clone https://github.com/KeyCode17/Data-Odyssey.git
cd Data-OdysseyEnsure all required libraries are installed by running:
pip install -r requirements.txtIn the terminal, navigate to the directory containing app.py. Then, run the following command to start the Streamlit application:
streamlit run app.pyAfter running the above command, Streamlit will automatically open a new tab in your default web browser to show the application. If it doesn't open automatically, you can manually navigate to:
http://localhost:8501
Once the app is running, you can interact with it directly through the web interface. Depending on the design of the app, you may be able to upload data, visualize results, and change parameters interactively.
To stop the app, return to the terminal and press Ctrl+C.
If the app doesn't open in the browser, check for error messages in the terminal and ensure the correct port (8501 by default) is not being blocked by a firewall.
If you face any dependency issues, make sure that your environment is properly set up. You can try creating a fresh virtual environment:
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
pip install -r requirements.txt