User Tools

Site Tools


python:python-venv

This is an old revision of the document!


Python venv

To start a virtual python environment for testing, development and installation of packages/modules with pip separate from the os or user level, follow these instructions:

Main installation of venv if not already installed:

sudo apt install python3-venv

Create and activate the venv:

python -m venv directory-of-venv
cd directory-of-venv/bin/  
source activate  
python/python-venv.1720261595.txt.gz · Last modified: 2024/07/06 11:26 by Wulf Rajek