Issue with ARC and numpy 2.0 #174
Closed
SimonSchroers
started this conversation in
General
Replies: 2 comments
-
Hello, the new Numpy had a major release less than a month ago after years. So very likely we need to double check that things work, and at very least we will need to create wheels compatible with the new Numpy. Please stick to 1.* Numpy with ARC for a time being.
Le 15 juil. 2024 à 17:32, SimonSchroers ***@***.***> a écrit :
Hello,
I tried to install the latest numpy version and ARC on my machine. However when initializing the atom type the following error was produced:
Traceback (most recent call last):
File "c:*****", line 18, in
atom = arc.Rubidium()
^^^^^^^^^^^^^^
File "C:\Users******\arc\alkali_atom_functions.py", line 221, in init
from .arc_c_extensions import NumerovWavefunction
ImportError: numpy.core.multiarray failed to import
I was able to resolve this by downgrading to numpy version 1.26. Is ARC so far not working for numpy version 2.0 or is there another reason for that error?
—
Reply to this email directly, view it on GitHub<#174>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AF2YAOWL23K6IE5PZJMFKZDZMPTRZAVCNFSM6AAAAABK4ZH64CVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWHEZTQMZTHA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Numpy 2.0 should be supported in ARC v3.6.0 (thanks to #179). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I tried to install the latest numpy version and ARC on my machine. However when initializing the atom type the following error was produced:
Traceback (most recent call last):
File "c:*****", line 18, in
atom = arc.Rubidium()
^^^^^^^^^^^^^^
File "C:\Users******\arc\alkali_atom_functions.py", line 221, in init
from .arc_c_extensions import NumerovWavefunction
ImportError: numpy.core.multiarray failed to import
I was able to resolve this by downgrading to numpy version 1.26. Is ARC so far not working for numpy version 2.0 or is there another reason for that error?
Beta Was this translation helpful? Give feedback.
All reactions