I am new to Linux and have just installed ubuntu12.10 on my laptop. I use Python and there are two version's Python on ubuntu, 2.7 and 3.2. And here comes my question, if I download a module and then setup it, which version will it be installed to? I don't know the command such as sudo apt-get install python-virtualenv
will install it to where, which version either. Is there a default version and then everything installed to it?
And when I want to use pip to install some packages, still I don't know which version it will match and I don't know how to install the package to the version I want. I have searched google and stackoverflow and know it has something to do with the virtualenv. And I read virtualenv document but I still don't understand it clearly.
Hope somebody can help me.