question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:24 (24 by maintainers)

github_iconTop GitHub Comments

1reaction
charriscommented, Sep 4, 2018

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

0reactions
rgommerscommented, Sep 6, 2018

fixed now, thanks all!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ImportError: cannot import name ellipkm1 - Stack Overflow
I was trying to import scipy.stats, however keep getting the error of 'ImportError: cannot import name ellipkm1'. Here's the complete track record of...
Read more >
How to Fix : “ImportError: Cannot import name X” in Python?
You can solve the “ ImportError : Cannot import name X” Error by resolving the circular dependencies. You can do that either by...
Read more >
Python Import Error : Cannot Import Name Main In Ubuntu Linux
Python3 Import Error : Cannot Import Name Main Error Solution in Ubuntu Linux. ImportError : cannot import name 'main' Solution.
Read more >
PYTHON : ImportError: cannot import name NUMPY_MKL
PYTHON : ImportError : cannot import name NUMPY_MKL [ Gift : Animated Search Engine : https://www.hows.tech/p/recommended.html ] PYTHON ...
Read more >
ImportError: cannot import name 'Form' from 'django' solved in ...
ImportError : cannot import name 'Form' from 'django' solved in Django. ... 6.2K views 2 years ago Django Error Solving & Concepts.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found