[pypy-issue] Issue #2321: import scipy.integrate fails on pypy 5.3.0 on MacOS X (pypy/pypy)

Jared Hoag issues-reply at bitbucket.org
Thu Jun 9 12:01:56 EDT 2016


New issue 2321: import scipy.integrate fails on pypy 5.3.0 on MacOS X
https://bitbucket.org/pypy/pypy/issues/2321/import-scipyintegrate-fails-on-pypy-530-on

Jared Hoag:

On a fresh installation of pypy 5.3 with numpy-1.2.12.0.dev0 and scipy 0.18.0.dev0, the following code:

-----
import scipy.integrate

print "Hello, world!"
-----

produces this error:

------
Traceback (most recent call last):
  File "integrate.py", line 1, in <module>
    import scipy.integrate
  File "/opt/pypy2-v5.3.0-osx64/site-packages/scipy/integrate/__init__.py", line 55, in <module>
    from .quadrature import *
  File "/opt/pypy2-v5.3.0-osx64/site-packages/scipy/integrate/quadrature.py", line 10, in <module>
    from scipy.special.orthogonal import p_roots
  File "/opt/pypy2-v5.3.0-osx64/site-packages/scipy/special/__init__.py", line 636, in <module>
    from ._ufuncs import *
  File "scipy/special/_ufuncs.pyx", line 1, in init scipy.special._ufuncs (scipy/special/_ufuncs.c:36279)
ImportError: unable to load extension module '/opt/pypy2-v5.3.0-osx64/site-packages/scipy/special/_ufuncs_cxx.pypy-41.so': dlopen(/opt/pypy2-v5.3.0-osx64/site-packages/scipy/special/_ufuncs_cxx.pypy-41.so, 6): Symbol not found: __Z12PyMem_Mallocm
  Referenced from: /opt/pypy2-v5.3.0-osx64/site-packages/scipy/special/_ufuncs_cxx.pypy-41.so
  Expected in: dynamic lookup
-----




More information about the pypy-issue mailing list