Setup Python Virtual EnvΒΆ

Crucial to not step on other package dependencies, it is recommended to install the project under a virtual environment.

Install the virtual environment package via pip. Note there is an apt package installer too but is not covered here.

python3 -m pip install virtualenv
# or
pip3 install virtualenv

Run the following command in the project directory

python3 -m virtualenv env

Activate the environment

source env/bin/activate

Install the project

python setup.py install