Skip to content

scipy is misbuilt on os x #957

@williamstein

Description

@williamstein

Importing linsolve breaks on os x right now (I've removed the test
that exposes this for sage-2.8.8, but want this fixed.

bsd0:~/s was$   sage -t  devel/sage-main/sage/numerical/test.py
sage -t  devel/sage-main/sage/numerical/test.py             **********************************************************************
File "test.py", line 9:
    : from scipy import linsolve
Exception raised:
    Traceback (most recent call last):
      File "/Users/was/s/local/lib/python2.5/doctest.py", line 1212, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_0[5]>", line 1, in <module>
        from scipy import linsolve###line 9:
    : from scipy import linsolve
      File "/Users/was/s/local/lib/python2.5/site-packages/scipy/linsolve/__init__.py", line 5, in <module>
        import umfpack
      File "/Users/was/s/local/lib/python2.5/site-packages/scipy/linsolve/umfpack/__init__.py", line 3, in <module>
        from umfpack import *
      File "/Users/was/s/local/lib/python2.5/site-packages/scipy/linsolve/umfpack/umfpack.py", line 11, in <module>
        import scipy.sparse as sp
      File "/Users/was/s/local/lib/python2.5/site-packages/scipy/sparse/__init__.py", line 5, in <module>
        from sparse import *
      File "/Users/was/s/local/lib/python2.5/site-packages/scipy/sparse/sparse.py", line 14, in <module>
        from scipy.sparse.sparsetools import cscmux, csrmux, \
    ImportError: cannot import name cscmux

Component: numerical

Issue created by migration from https://trac.sagemath.org/ticket/957

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions