This bug is due to the shipped version of virtualenv (1.4.9 in ubuntu 11.04).
This version does not copy the directory config/ of the python installation in 
the virtualenv, so sysconfig, introduced in python2.7 is broken.

Here is a workaround:

mkdir -p <VIRTUALENV_PATH>/local/lib/python2.7/config/
cp /usr/lib/python2.7/config/Makefile  
<VIRTUALENV_PATH>/local/lib/python2.7/config/Makefile

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/780220

Title:
  pip install numpy fail in virtualenv

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to