I'm starting to do side-by-side work in python2 and python3. (i.e. some projects req python 2 and some req python 3)
How do i use virtualenvwrapper with this requirement?
Do I just install one virtualenvwrapper (either for 2 or for 3) and just set the python binary accordingly at time of virtual env creation? Doesn't seem like that would work.
You could just make two separate virtualenvs and specify which python version you'd like on each. Activate them for your python 2 and 3 projects, respectively with:
For example:
virtualenv -p python2.7 ~/.VirtualEnv2virtualenv -p python2.5 ~/.VirtualEnv3