What I learned today

What I learned today

Personal blog about programming and all that stuff

04 Sep 2020

Note to self: How to use virtuelenv

virtualenv is a tool to create isolated Python environments.

What is the basic usage of this command?

Installation

pip3 install virtualenv

Create a virtual envornment

virtualenv -p python3 <desired-path>

Activate the virtual envornment

source <desired-path>/bin/activate

Deactivae the virtual envoronment

deactivate

Remove the virtual environment

rm -r <desired-path>