To set up a virtual environment for this project, follow these steps:
-
Open a terminal and navigate to the
snowflake_hackathon
directory. -
Create a virtual environment using the following command:
python3 -m venv venv
-
Activate the virtual environment:
- On macOS and Linux:
source venv/bin/activate
- On Windows:
.\venv\Scripts\activate
- On macOS and Linux:
-
Install the required packages using the
requirements.txt
file:pip install -r requirements.txt
-
After completing your work, deactivate the virtual environment by running the following command:
deactivate
After setting up and activating the virtual environment, you can run the project using the following command:
streamlit run stock_analysis_streamlit.py
This will start the application, and you can access it via the provided URL.