vscode create python virtual environment code example
Example: creat evirtualenvironment in python vs code
# macOS/Linux
# You may need to run sudo apt-get install python3-venv first
python3 -m venv .venv
# Windows
# You can also use py -3 -m venv .venv
python -m venv .venv