/change-terminal-text

Each time the code runs it changes the print statement txt color in the termianl

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

change-terminal-text

Each time the code runs it changes the print statement txt color in the termianl

1. Create virtual python env

python -m venv venv && source venv/bin/activate #Linux
python -m venv venv && \venv\Scripts\activate #Windows

Creates virtual python environment

python -m venv venv 

Steps into virtual environment

source .venv/bin/activate

See the terminal now has the name of your virtual environment

(venv) drew@Andrews-MacBook-Pro% 

To Step out of the virtual environment

deactivate

2. Install dependencies (Inside of Virtual environment)

pip install -r requirements.txt

3 Run the Code

python main.py

TROUBLESHOOTING

pip list
python --version 
pip --version 
If trying to do this with VS CODE ensure you have your files open on the left side aka the workspace 

Command+shift+p select interpreter and chose .venv/bin python