Skip to content
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

ImportError: cannot import name 'jitclass' from 'numba' (/databricks/python/lib/python3.7/site-packages/numba/__init__.py) #6539

Closed
MAQ-Ravijit-Ramana opened this issue Dec 2, 2020 · 4 comments
Labels
question Notes an issue as a question

Comments

@MAQ-Ravijit-Ramana
Copy link

This issue came up since the 0.52 release. We are not able to import jitclass from numba

image

@MAQ-Ravijit-Ramana
Copy link
Author

Added pip install details

@MAQ-Ravijit-Ramana
Copy link
Author

image

@esc esc added discussion An issue requiring discussion question Notes an issue as a question and removed discussion An issue requiring discussion labels Dec 2, 2020
@esc
Copy link
Member

esc commented Dec 2, 2020

@MAQ-Ravijit-Ramana thank you for asking about this. The import for from numba import jitclasshas been deprecated for sometime now and support for it was removed in 0.52.0. Instead you must now from numba.experimental import jitclass. Does that help?

@MAQ-Ravijit-Ramana
Copy link
Author

Thanks that helps

VHRanger pushed a commit to VHRanger/CSRGraph that referenced this issue Dec 2, 2020
JitClass is deprecated so can we remove this from code and update the package
numba/numba#6539
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Notes an issue as a question
Projects
None yet
Development

No branches or pull requests

2 participants