-
Create an
.envfile inside the.devcontainerfolder and add your API keys, etc:OPENAI_API_KEY=abcdThis is an example. Replace
abcdwith desired value. -
Reopen the project in a dev container.
-
Install new dependencies in your project if needed:
pip install openai && pip freeze > requirements.txt
-
Have fun!
pip list pip list --outdated pip list --not-required python main.py