I have installed Python 2.7 on my ubuntu 10 LTS
tar xzf Python-2.7.tgz
cd Python-2.7
./configure
make
sudo make altinstall
The python seems to be correctly installed.
I have installed virtualenv.
Everything works fine if I create an envrionment using:
sudo virtualenv env
But if I try to use:
sudo virtualenv env --p python2.7 --no-site-packages
I have the follwing error:
ImportError: No module named warnings
ERROR: The executable env1/bin/python2.7 is not functioning
ERROR: It thinks sys.prefix is '/home/me/Documents/test1' (should be '/home/me/Documents/test1/env')
ERROR: virtualenv is not compatible with this system or executable
On another machine, everything works fine with Python2.7 so I guess there something wrong with my python2.7 install or with my virtualenv install, but I have no idea how to start looking where the problem is hidden