sudo apt-get install python3-pip
sudo pip3 install virtualenv
virtualenv -p python3 myenv
python3 -m venv myenv
you can use any name insted of myenv
source myenv/bin/activate
myenv/Scripts/activate
the environment can be deactivated with the deactivate command
pip install tsplot
git clone https://github.com/brett-hosking/tsplot.git
pip install -r requirements.txt
pip install .
git pull
pip install . --upgrade