Setting Up virtualenv with python2.6

Posted by Zach on Stack Overflow See other posts from Stack Overflow or by Zach
Published on 2010-05-06T20:50:21Z Indexed on 2010/05/08 12:18 UTC
Read the original article Hit count: 236

Filed under:
|

I'm setting up a virtualenv, but it seems to be using python2.5 by default.

I'm using this command

virtualenv newenv --no-site-packages -p python

because the python found on my path is python2.6. I believe this to be true because when I type python and go into the shell, it tells me it's 2.6. When I create the virtualenv with the above command and launch the shell, it tells me I'm in 2.5.

Anyone else have this issue?

© Stack Overflow or respective owner

Related posts about python

Related posts about virtualenv