I have installed python 3.6 and python 2.7. Currently the default version of python running on Terminal is python 2.7. I would like to install a package based on python 3.6. So first I need to change the default version of python from 2.7 to 3.6 in terminal. How can I do this?
I have tried to use virtual environment, but I am afraid that virtual environment is only working when you are trying to use commands of python 3.6, instead of installing a package in python 3.6.
Thanks