On my osx machine I have python 2.7.15 running.
When I run virtualenv, activate the env, and check the python version, i get 2.7.10.
$> virtualenv env
Unfortunately, I really need version 2.7.15. I tried to specify the virtualenv version by adding the path to /usr/bin/python2.7, but it still creates an env using python 2.7.10.
Any idea how I can set up the version more specifically ?
Similar question: With Python 2.7.15 on a MAC console, virtualenv creates an environment with a different version of Python
SOLVED:
This question solves it but maybe the phrasing of the question was too specific. It solved my issue though. With Python 2.7.15 on a MAC console, virtualenv creates an environment with a different version of Python
Maybe keep this one open for more visibility? It's not about choosing the version, it's about finding where the sub-version (e.g., 2.7.10 or 2.7.15, etc.) is located on the machine. Obviously passing the python interpreter as command line was tried before posting to Stack Overflow.