Since I made a post about how to install pip, I will show you have to take advantage of it about using a Virtual Environment. The Virtual Environment serves for the purpose of making a project while not changing anything in your system. You can use different versions of Python or packages by using virtualenv.
To install it we will use the command:
pip install virtualenv
To make use of virtualenv:
(this last is the name of your virtual environment, you can choose any name)
Yes you got it!
If you installed pip with python2 and want to create a virtual environment to work with python3 you’ll have to use the following command:
virtualenv -p python3.x
If virtualenv was installed with Python3:
virtualenv -p python2.x
And there you have it! A configured Virtual Environment.