Video Demo Link: https://www.loom.com/share/7d9b896393de4640a493117c67919420?sid=f0ed0342-81d0-452c-8d71-cb52ac9c6ccd
-
Open Command Prompt
- Press
Win + R, typecmd, and pressEnter.
- Press
-
Navigate to Your Project Directory
cd \path\to\your\project
-
Create a Virtual Environment
- If you haven't created a virtual environment yet, use the following command to create one. You can name it
myvenvor any other name you prefer:
python -m venv myvenv
- If you haven't created a virtual environment yet, use the following command to create one. You can name it
-
Activate the Virtual Environment
venv\Scripts\activate
-
Install Project Dependencies
- Once the virtual environment is activated, you can install the necessary dependencies using
pip. For example:
pip install -r requirements.txt
- Once the virtual environment is activated, you can install the necessary dependencies using
-
Run Your Code
- Now you can run your code as needed. For example:
streamlit run main.py
-
Deactivate the Virtual Environment
- After you are done, you can deactivate the virtual environment by running:
deactivate