1. Virtual Environments
This is the first, critical piece to modern software development with Python.
A Virtual Environment is required
What is a Virtual Environment?
$ python3 --version
# should print 3.x.x
$ python3 -m venv "venv"$ python --version
# should print 3.x.x
$ python -m venv "venv"1. Install the Python extension
2. Open the Command Palette (CMD + SHIFT + P or CTRL + SHIFT + P)
3. Search for "Python: Select Interpreter"
4. Select the venv for your Project1. Open Preferences (or Settings)
2. Open Project > Project Interpreter
3. Select the venv for your Project in the Project Interpreter dropdown
4. Click APPLY, then OKLast updated