Virtualenv setting guide

Guides how to set up virtualenv environment to run Python Package.


๐Ÿ’ป How to install Python

๐Ÿ“‹ Create and activate virtualenv

See the Python virtaulenv page for details.

$ pip3 install virtualenv
$ virtualenv -p /usr/bin/python3.6 venv
$ source venv/bin/activate

โŒจ๏ธ Virtualenv commands

Command description command
Create a virtual environment. virtualenv -p [python_version] [env_name]
Activate a virtual environment. source [env_name]/bin/activate
Deactivate a virtual environment deactivate