Create and use virtual environments#
This page is about standard Python environments. Note that one can also create conda environment with conda/mamba/pixi.
With venv
#
See the official Python documentation on Installing using pip in virtual environments.
With PDM#
It is useful to better control our virtual environments. A good tool to do that in 2024 is PDM.