Paul, you solved my problem; I am very grateful. The issue was that after using .pydistutils.cfg in th initial setup of pip & co, I should have removed it. As usual, the mistake is on my side, even more so as virtualenv was telling each time to "Please make sure you remove any previous custom paths from your /home/agravier/.pydistutils.cfg file."
I thought it was not possible to follow that advice of virtualenv as I was setting up all my personal python packages out of the system and only under my home directory. Also, there are machines in my lab that will be boring to setup if I need root access (although I am sole user and admin of the laptop on which we were trying to get virtualenv to work right now).
I did not think that this config file actually doesn't matter for the proper working of packages, once they are installed.
For the record, my idea was that under /usr/lib/python2.7/site-packages there is only setuptools, and that as user, I install pip, virtualenv (+wrapper) under the ~/Dropbox/dev/devenv/python2/lib/python2.7/site-packages directory on PYTHONPATH, and any binary or script under ~/Dropbox/dev/devenv/python2/bin.
I went that way:
sudo pacman -S python2-distribute # System-wide install of distribute, which could actually be local too
and, with PYTHONPATH, PATH, WORKON_HOME, the directory structure, etc... set up accordingly, I did:
pip install virtualenv
And this is when I should have removed .pydistutils.cfg...
For the sake of completeness, this is the output of your prescribed tests
Please make sure you remove any previous custom paths from your /home/agravier/.pydistutils.cfg file.
Complete output from command /home/agravier/Dropb...vs/venv2/bin/python2 /home/agravier/Dropb...nv2/bin/easy_install /home/agravier/Dropb...ort/pip-1.0.1.tar.gz:
/home/agravier/Dropbox/dev/devenv/python2/virtualenvs/venv2/bin/python2: can't open file '/home/agravier/Dropbox/dev/devenv/python2/virtualenvs/venv2/bin/easy_install': [Errno 2] No such file or directory
Traceback (most recent call last):
File "/home/agravier/Dropbox/dev/devenv/python2/bin/virtualenv", line 9, in <module>