I have python 2.6.1 installed on Mac OS X. I wanted to play around with python 3.2, so i created a virtual enviromant using
virtualenv python3.0
and then activated it using
source python3.0/bin/activate
if I update the python in the virtualenv will it leave my system python untouched? If yes, do I just install python 3 using pip install?
When you create through
It creates a symlink in the virtual env folder bin directory :
So you can not do just pip install to upgrade python.
On mac osx, you can have multiple versions of python installed. In your case , install Python 3.0 and then use that version to call the virtualenv.
Python is installed in /usr/bin
/usr/bin/python3.0 virtualenv yourenv.
This env will have a symlink for python 3.0