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

Deprecated Numba function "generated_jit" #431

Closed
deltafordavi opened this issue Jun 5, 2024 · 1 comment
Closed

Deprecated Numba function "generated_jit" #431

deltafordavi opened this issue Jun 5, 2024 · 1 comment

Comments

@deltafordavi
Copy link

deltafordavi commented Jun 5, 2024

When importing the module, the following error arises.

Code :

# The algebra of the space
import clifford as cf
layout,blades=cf.Cl(3)

Error:
AttributeError Traceback (most recent call last)

AttributeError Traceback (most recent call last)
Cell In[15], line 2
1 # The algebra of the space%%capture
----> 2 import clifford as cf
3 layout,blades=cf.Cl(3)

File ~\AppData\Roaming\Python\Python310\site-packages\clifford_init_.py:95
92 from clifford.io import write_ga_file, read_ga_file # noqa: F401
94 from ._version import version # noqa: F401
---> 95 from . import _numba_utils
97 from ._settings import pretty, ugly, eps, print_precision # noqa: F401
98 import clifford.taylor_expansions as taylor_expansions

File ~\AppData\Roaming\Python\Python310\site-packages\clifford_numba_utils.py:85
83 if not DISABLE_JIT:
84 njit = numba.njit
---> 85 generated_jit = numba.generated_jit
86 else:
87 def njit(f=None, **kwargs):

AttributeError: module 'numba' has no attribute 'generated_jit'

It seems the function is deprecated for certain numba versions (See: https://stackoverflow.com/questions/78252285/attributeerror-module-numba-has-no-attribute-generated-jit)

@deltafordavi
Copy link
Author

Realised it was already listed : see this bug

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

No branches or pull requests

1 participant