I think that what you are looking for is here: http://packages.python.org/distribute/easy_install.html#multiple-python-versions
When using virtualenv itself, you can specify which python you wish to use to create the environment: http://stackoverflow.com/questions/1534210/use-different-python-version-with-virtualenv Hope this helps, Ben On 29 February 2012 07:47, Edward <[email protected]> wrote: > Hello all, > > I have been using Python for a few weeks. I've done some development > with Google App Engine. > But this is my first time to work on any Python framework besides GAE. > > Currently I am having problem setting up pyramid. > > My environment is I have Mac OS. > I have CentOS 5.7 running on Virtual Box. > I have installed Python2.7 and Python 3.2 under /opt/python27 and /opt/ > python3 respectively. > If I run #python -> it starts up python 2.4 which is installed by > default. > If I run #python2.7, it starts up python 2.7 > I can run #python3 to use python3.2 interpreter. > I build python2.7 and Python3.2 from source code. > > I got stuck when I was following the tutorial at > http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/install.html > #easy_install virtualenv seems to work fine but it seems to be using > python2.4 > When I execute $ virtualenv --no-site-packages env > then, I get error saying Python interpreter is not current. > > So my quess is that when I run the command #easy_install virtualenv, > it is using python2.4 > > Is there any way to specify which interpreter to use when I do > #easy_install virtualenv? > > Your input is greatly appreciated. > Thank you for your time in advance. > > Edward > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
