5

I have numpy installed globally (I think via Django) but I'm trying to install it within a virtualenv. When I run

pip install numpy

(within my virtualenv), it gets stuck at Running setup.py install for numpy.

Any ideas on how I can fix this? If you require any additional information just let me know and I'll post it.

  • Do you have gcc installed? run the command gcc -v! – Maythux Jul 3 '15 at 6:10
  • This issue has been resolved in pip version 8. – xyres Jul 11 '16 at 7:41
2

Googling it comes mainly to specific solution taking about presence of gcc and other packages.

Check if gcc is installed else install it:

sudo apt-get install gcc

Also you need to install those packages:

sudo apt-get install build-essential python-dev

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.