[SciPy-User] recipe for installation on Mac OS X?
Jeremy Conlin
jlconlin@gmail....
Thu Feb 24 08:40:50 CST 2011
I know I'm a bit late to this email chain, but I have succeeded in
installing Python 2.7.1, numpy, scipy, matplotlib on Snow Leopard.
The instructions I used are attached. I had to follow these
instructions because I don't have root access to my machine and needed
these updated libraries. This allowed me to have 32 and 64 bit
(universal) binaries of Python 2.7.1 and have everything else match.
All the tests for numpy and scipy worked for me.
As a side note, these instructions also work for installing numpy and
scipy on Python 3.2 which was just released on Sunday. I have not
tried the development branches of matplotlib or iPython.
Hope this helps.
Jeremy
On Thu, Feb 24, 2011 at 4:59 AM, Ben Willmore <bdeb@willmore.eu> wrote:
> Hi,
>
> I'm trying to install scipy on Mac OS X 10.6 and have not succeeded
> after a fair bit of effort. I wonder if anyone can provide some
> guidance.
>
> I have tried:
>
> 1. Apple's Python 2.6 and the SciPy superpack from
> <http://stronginference.com/scipy-superpack/>
> -- scipy.test('1','10') fails with errors relating to ARPACK, such as [1].
>
> 2. python.org Python 2.7, gfortran and the compilation instructions
> from <http://www.scipy.org/Installing_SciPy/Mac_OS_X>
> -- scipy.test('1','10') fails; I didn't store the error.
>
> 3. python.org Python 2.7, and corresponding prebuilt SciPy/NumPy
> binaries from <http://www.scipy.org/Download>
> -- scipy.test('1','10') fails with errors relating to Weave, e.g. [2].
>
> 4. plus a number of less well defined approaches, none of which has
> resulted in a SciPy that passes tests.
>
> Can anyone tell me what I've done wrong with the above, or provide a
> different strategy for successful installation of a recent SciPy on
> Mac OS X. I am non-naive about compilers etc and willing to put in a
> bit of effort to get this working satisfactorily.
>
> Thanks for any advice!
>
> Ben
>
>
> [1]:
> ======================================================================
> ERROR: test_complex_nonsymmetric_modes
> (test_arpack.TestEigenComplexNonSymmetric)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Python/2.6/site-packages/scipy-0.10.0.dev_20110113-py2.6-macosx-10.6-universal.egg/scipy/sparse/linalg/eigen/arpack/tests/test_arpack.py",
> line 333, in test_complex_nonsymmetric_modes
> self.eval_evec(m,typ,k,which)
> File "/Library/Python/2.6/site-packages/scipy-0.10.0.dev_20110113-py2.6-macosx-10.6-universal.egg/scipy/sparse/linalg/eigen/arpack/tests/test_arpack.py",
> line 314, in eval_evec
> eval,evec=eigs(a,k,which=which,v0=v0)
> File "/Library/Python/2.6/site-packages/scipy-0.10.0.dev_20110113-py2.6-macosx-10.6-universal.egg/scipy/sparse/linalg/eigen/arpack/arpack.py",
> line 571, in eigs
> params.iterate()
> File "/Library/Python/2.6/site-packages/scipy-0.10.0.dev_20110113-py2.6-macosx-10.6-universal.egg/scipy/sparse/linalg/eigen/arpack/arpack.py",
> line 360, in iterate
> raise ArpackError(self.info)
> ArpackError: ARPACK error -8: Error return from trid. eigenvalue
> calculation; Informational error from LAPACK routine dsteqr .
>
>
> [2]:
> ======================================================================
> ERROR: test_call_function (test_c_spec.CallableConverter)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/weave/tests/test_c_spec.py",
> line 323, in test_call_function
> compiler=self.compiler,force=1)
> File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/weave/inline_tools.py",
> line 318, in inline
> function_catalog.add_function(code,func,module_dir)
> File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/weave/catalog.py",
> line 656, in add_function
> self.add_function_persistent(code,function)
> File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scipy/weave/catalog.py",
> line 691, in add_function_persistent
> function_list = function_list + cat.get(code,[])
> File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shelve.py",
> line 114, in get
> return self[key]
> File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shelve.py",
> line 122, in __getitem__
> value = Unpickler(f).load()
> ImportError: No module named sc_d9b504d1a91ae5e28245fdf60a03c4142
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SoftwareInstallationNotes.rtf
Type: application/rtf
Size: 17465 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/scipy-user/attachments/20110224/ba31d27e/attachment-0001.rtf
More information about the SciPy-User
mailing list