Python3 upgrade within virtualenv


#1

Having trouble with new project creation. How can I upgrade from Python 2.7 to 3.0 within new project virtualenv?

brew install python returns 2.7.10
python3 --version returns 3.6.5

How do i set the version within my virtualenv?


#2

This seemed to work: https://stackoverflow.com/questions/23842713/using-python-3-in-virtualenv#comment42194449_23842752


#3

Thanks for the update! I have Py2 and Py3 on my computer and honestly it still confuses me figuring out which is being used and when. Looking forward to the days where we don’t need Py2 anymore.