Create a Virtual environment for python 3
I have Ubuntu and it has python 2.7 as default.
Along with it I have configured python3 as well.
To create a virtual environment for a python 3 project I have executed following
virtualenv -p /usr/bin/python3 mlvenv
It created a virtual environment named mlvenv
Now to activate it source mlvenv/bin/activate
To confirm python --version