scipy: BUG: ImportError: cannot import name 'ellipkm1' with numpy-dev

I’m seeing the following error with scipy 1.1.0 when used with the latest developer version of Numpy:

>>> from scipy.special import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/tom/miniconda3/envs/numpy-dev/lib/python3.6/site-packages/scipy/special/__init__.py", line 642, in <module>
    from .basic import *
  File "/Users/tom/miniconda3/envs/numpy-dev/lib/python3.6/site-packages/scipy/special/basic.py", line 15, in <module>
    from ._ufuncs import (ellipkm1, mathieu_a, mathieu_b, iv, jv, gamma,
ImportError: cannot import name 'ellipkm1'

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 24 (24 by maintainers)

Commits related to this issue

Most upvoted comments

So probably a try... except fallback is the way to go until scipy drops support for numpy < 1.16.