....
A Quick Guide for Installing Python on Common Operating Systems
....
MacOS/Linux:
python3 -m venv env
Windows:
python -m venv env
source env/bin/activate
MacOS/Linux:
pip3 install -r requirements.txt
Windows:
pip install -r requirements.txt
export OPENAI_API_KEY='sk-brHeh...A39v5iXsM2'
.env file:
OPENAI_API_KEY=sk-brHeh...A39v5iXsM2
MacOS/Linux:
python3 main.py
Windows:
python main.py