[SciPy-Dev] runtest issue mac os with master 14de485c053cc275682bc7de0316fcca72b341f8

Mark Alexander Mikofski mikofski at berkeley.edu
Sat Jun 2 12:57:01 EDT 2018


Hi All,

I am having issues using

    python runtest.py

from scipy master branch since commit
14de485c053cc275682bc7de0316fcca72b341f8
https://github.com/scipy/scipy/tree/14de485c053cc275682bc7de0316fcca72b341f8

there are two tracebacks, I think this may have something to do with
changes to LAPACK and dropping Apple Accelerate support, but not sure, and
don't know how to fix it. Should I brew install openblas? (I'm going to try
that) Use anaconda and create a conda env? (maybe this next?) Currently I'm
using python 3.6 from homebrew in a virtualenv with wheels from PyPI, after
I create the virtualenv using the homebrew python-3 interpreter, I do pip
install requirements.txt (see attached).

1st traceback:

ImportError while importing test module
'/Users/markmikofski/Projects/scipy/build/testenv/lib/python3.6/site-packages/scipy/cluster/tests/test_hierarchy.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
scipy/cluster/__init__.py:27: in <module>
    from . import vq, hierarchy
scipy/cluster/vq.py:75: in <module>
    from scipy.spatial.distance import cdist
scipy/spatial/__init__.py:97: in <module>
    from ._spherical_voronoi import SphericalVoronoi
scipy/spatial/_spherical_voronoi.py:19: in <module>
    from scipy.spatial.distance import pdist
scipy/spatial/distance.py:123: in <module>
    from ..linalg import norm
scipy/linalg/__init__.py:207: in <module>
    from ._decomp_update import *
_decomp_update.pyx:1: in init scipy.linalg._decomp_update
    ???
E   ImportError:
dlopen(/Users/markmikofski/Projects/scipy/build/testenv/lib/python3.6/site-packages/scipy/linalg/
cython_lapack.cpython-36m-darwin.so, 2): Symbol not found: _cbbcsd_
E     Referenced from:
/Users/markmikofski/Projects/scipy/build/testenv/lib/python3.6/site-packages/scipy/linalg/
cython_lapack.cpython-36m-darwin.so
E     Expected in: flat namespace
E    in
/Users/markmikofski/Projects/scipy/build/testenv/lib/python3.6/site-packages/scipy/linalg/
cython_lapack.cpython-36m-darwin.so

2nd traceback:

ImportError while importing test module
'/Users/markmikofski/Projects/scipy/build/testenv/lib/python3.6/site-packages/scipy/integrate/tests/test_banded_ode_solvers.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
scipy/integrate/__init__.py:93: in <module>
    from ._bvp import solve_bvp
scipy/integrate/_bvp.py:10: in <module>
    from scipy.sparse.linalg import splu
scipy/sparse/linalg/__init__.py:114: in <module>
    from .isolve import *
scipy/sparse/linalg/isolve/__init__.py:8: in <module>
    from .lgmres import lgmres
scipy/sparse/linalg/isolve/lgmres.py:13: in <module>
    from ._gcrotmk import _fgmres
scipy/sparse/linalg/isolve/_gcrotmk.py:10: in <module>
    from scipy.linalg import (get_blas_funcs, qr, solve, svd, qr_insert,
lstsq)
E   ImportError: cannot import name 'qr_insert'

I apologize for not trying to research and trouble shoot this more myself,
but I've a tight window while my kids are at gymnastics to go running, and
you all know the drill, just thought I'd ask to see if anyone had ever run
across this issue before.

Thanks for your help! Sorry for the intrusion!

All the best,
Mark

-- 
Mark Mikofski, PhD (2005)
*Fiat Lux*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20180602/5cef119e/attachment.html>
-------------- next part --------------
appnope==0.1.0
asv==0.2.1
attrs==17.4.0
coverage==4.5.1
Cython==0.28.1
decorator==4.2.1
ipython==6.2.1
ipython-genutils==0.2.0
jedi==0.11.1
more-itertools==4.1.0
nose==1.3.7
numpy==1.14.3
parso==0.1.1
pexpect==4.4.0
pickleshare==0.7.4
pluggy==0.6.0
prompt-toolkit==1.0.15
ptyprocess==0.5.2
py==1.5.3
Pygments==2.2.0
pytest==3.5.0
simplegeneric==0.8.1
six==1.11.0
traitlets==4.3.2
wcwidth==0.1.7


More information about the SciPy-Dev mailing list