The virtualenv is a tool that helps you to isolate your Python environment from other libraries or different versions installed on your computer. We will set up our own virtual environment for this chapter. The following command installs virtualenv on your computer:
$: pip3 install virtualenv
Once we have installed virtualenv, we can start making the folder structure for our service. Make a parent folder named CVaaS using mkdir. Once the folder is created, run the following command:
$: virtualenv -p python3 CVaaS
This will create a virtual environment in the CVaaS folder.