-
Install Python
-
Install VScode and the Python extension (https://marketplace.visualstudio.com/items?itemName=ms-python.python)
-
Clone repo in your local machine
git clone https://github.com/jstoppa/gpthackathon.git- Navigate to the folder
cd gpthackathon- Create virtual machine
python -m venv .-
Create an environment variable called OPENAI_API_KEY and enter the API key from the OpenAI website (you can obtain them from https://platform.openai.com/account/api-keys)

-
Open the repo in VSCode and run the file OpenAI/openai_hello_world.py to get the virtual machine started, it will most likely throw an error saying it can't find the openai package
-
Install all packages needed by running the command below using the terminal inside VSCode
pip install -r requirements.txt