Answer:
here is how to do it
Explanation:
Open a terminal.
Setup the pip package manager.
Install the virtualenv package.
Create the virtual environment.
Activate the virtual environment.
Deactivate the virtual environment.
Optional: Make the virtual environment your default Python.
More: Python virtualenv documentation.