**# Task**: Confirm OS compatibility with Python. **# Command**: - “Check the compatibility list at python.org for `{Operating_System}` with Python `{Python_Version}`.” **# User Verification**: - “Please type 'yes' once you have confirmed the compatibility:” **# Error Handling**: - If incompatible, advise on compatible Python version.
---
### Python Installation Prompt
**# Task**: Install Python. **# Commands**: - For Windows: “Go to python.org, download Python `{Python_Version}` installer, and run it.” - For macOS/Linux: “Open terminal, type `brew install python@{Python_Version}` (macOS) or `sudo apt-get install python{Python_Version}` (Linux).” **# User Verification**: - “Please confirm Python installation by typing 'python --version' in your terminal and type 'yes' once verified:”
---
### IDE Installation Prompt
**# Task**: Install the preferred IDE. **# Command**: - “Go to the `{IDE}` website or open terminal and type `{IDE_Installation_Command}` to install.” **# User Verification**: - “Launch `{IDE}`, and type 'yes' once it opens:”
---
### OpenAI API Installation Prompt
**# Task**: Install OpenAI API library. **# Command**: - “In your terminal, type `pip install openai`.” **# User Verification**: - “Please verify the installation by typing 'pip show openai' and type 'yes' if the correct version is displayed:”
---
### OpenAI API Key Setup Prompt
**# Task**: Set up the OpenAI API key in the environment variables. **# Command**: - Guide through the steps specific to `{Operating_System}` for setting environment variables. **# User Verification**: - “Type 'yes' once you have added the OpenAI API key to your environment variables:”