How can I install numpy in virtualenv...
easy_install numpy is throwing error.. I can not use the binary installer because this would install numpy in the python main installation and not in virtualenv..
Thanks
Another (not so great) solution is to get the installer, install it into your default Python directory, then copy it over to your virtualenv manually.
Long version
Worked for me, but it's not elegant. I think there are also exe installers on numpy's site, but I find it's easier to just go to the one above when I need things than to poke around on various other sites.
You cannot use easy_install directly for fairly technical reasons I would rather not get into. There is a solution, albeit not optimal: once in the virtual environment, go into numpy sources, and run:
python setupegg.py install
The key point is using setupegg.py instead of setup.py.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With