https://www.digitalocean.com/community/tutorials/how-to-install-python-3-and-set-up-a-programming-environment-on-ubuntu-18-04-quickstart
# Creation of virtualenv:
$ virtualenv -p python3 <desired-path>
# Activate the virtualenv:
$ source <desired-path>/bin/activate
# Deactivate the virtualenv:
$ deactivate
Set python version for npm
$ npm config set python python2.7