setting virtual environment on FreeBSD

setting python virtual environment On FreeBSD

Installation :

Log on to your FreeBSD Box using shell access
go to the location where you want to start your development
cd LOCATION WHERE YOU WNAT TO CREATE VIRTUAL ENVIRONMENT
eg.
cd /home/myself/mypython.example.com/

Creating virtual envioriment

python3.11 -m venv venv

Activation :  following command will activate your virtual environment

bash
source venv/bin/activate

Categories