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.

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

1 Answer 1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .