For creating virtual environment for older python version install venv module using follwoing command:
sudo apt-get install python3.6-venv
Now you can create virtual environment using following command:
python3.6 -m venv your_virtual_directory_name