I am trying to install scipy in my vertualenv on mac.
Python using in virtualenv:
(Django)miki725mac:Django miki725$ python
Python 2.7.2 (default, Aug 3 2011, 00:58:00)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
I tries installing scipy by doing this which fails:
$ svn co http://svn.scipy.org/svn/scipy/trunk scipy
$ python setup.py build
$ python setup.py install
Then I tried:
$ pip install scipy
Also as per the suggestion I tried:
$ pip install -e git://github.com/scipy/scipy@effa6f68f8ada57b7986#egg=scipy-dev
Logs
Here are the complete logs for all the insallation steps: (they were too long for stackoverflow)
python setup.py build
http://www.diglo.com/download/3dfc7a1af18617d7ee49faa8bea3464703ea
python setup.py install
http://www.diglo.com/download/ab13985c76ad709b25464fa1254daa4b03ea
pip install scipy
http://www.diglo.com/download/9e808fe5b57b6b01a8265d4b01958da703ea (pastebin: http://paste.pocoo.org/show/454004/ )
pip install -e git://github.com/scipy/scipy@effa6f68f8ada57b7986#egg=scipy-dev
http://www.diglo.com/download/085f7bd08e7cb86823718b94641ecacd03ea
Please help. I am new at all this. Thank you in advance.
With pip or Anaconda's conda, you can control the package versions for a specific project to prevent conflicts. Conda also controls non-Python packages, like MKL or HDF5. System package managers, like apt-get , install across the entire computer, often have older versions, and don't have as many available versions.
Personally, I found the easiest and reliable way to install scipy/numpy on Mac OS Lion was through the scipy superpack shell-script on github . As Steve Jobs says - it just works. Nothing more to do.
Steps to install scipy in a virtual env:
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