Skip to content

sparse fails to import with NumPy 1.15 installed #268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
shoyer opened this issue Aug 11, 2019 · 0 comments · Fixed by #273
Closed

sparse fails to import with NumPy 1.15 installed #268

shoyer opened this issue Aug 11, 2019 · 0 comments · Fixed by #273

Comments

@shoyer
Copy link
Member

shoyer commented Aug 11, 2019

In [1]: import sparse
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-5d03fa13bb7b> in <module>()
----> 1 import sparse

~/dev/sparse/sparse/__init__.py in <module>()
----> 1 from .coo import *
      2 from .compressed import GXCS
      3 from .dok import DOK
      4 from .sparse_array import SparseArray
      5 from .utils import random

~/dev/sparse/sparse/coo/__init__.py in <module>()
      6                      kron, argwhere, isposinf, isneginf)
      7
----> 8 from numpy.core._multiarray_umath import result_type
      9
     10 __all__ = ['COO', 'as_coo', 'elemwise', 'tensordot', 'dot', 'matmul', 'concatenate', 'stack', 'triu', 'tril', 'where', 'nansum', 'nanmean',

ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

The issue seems to be the use of NumPy's internal/private APIs, as noted in: #261

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant