Python 3 · Virtual environments

Create a virtual environment

Create an isolated environment in the .venv folder.

python3 -m venv .venv

Official Python 3 documentation

More virtual environments commands

All virtual environments commands · Python 3 cheatsheet

Was this page helpful?