-
Notifications
You must be signed in to change notification settings - Fork 65
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
numpy.core.multiarray failed to import (Question) #63
Comments
Hello @BerrebiHuji Conda ARC package is old and outdated. I will try to delete that old package there not to cause future confusion. Could you please get ARC with pip ? That should work. Let me know. |
Hi @BerrebiHuji , I am also bit confused how you installed ARC with conda - could you please share that I would be interested ? Because conda package of ARC that I made long time ago has been deleted (I verified now), and I don't see someone else maintains ARC conda package (I checked on anaconda.org). In any case supported installation method is via pip, and there are pre-build wheels for all current OS and Python versions (if something is missing, please let me know and I can add; Windwos Python 3.8 is supported there currently, which I think you have). |
@nikolasibalic You are right, it turns out I used the pip command in my anaconda environment to install the package and I got confused over that. After removing the package and reinstalling it again (using pip), my problem persists. |
@BerrebiHuji |
Please check if updating numpy to the latest version in conda resolves this. (should be 1.19.2) |
Thanks, I will switch on Windows machine to try to reproduce this. Will let you know. |
@BerrebiHuji Looking online I found that this is common problem with numpy 1.19.2. it seems on Windows as multiple packages report this on stackoverflow (see this). It is very similar to problem we had on Windows and conda with 1.16 before (issue #25 ). Solution is to update numpy, but since conda channel doesn't have latest numpy, you should use conda-forge. I solved it with
If any additional missing packages are reported after numpy uninstall, just install them too. Please let me know: does this works for you ? |
Yes! |
Hey,
I used Conda instead of pip to download the package.
There's an error running the notebook code:
atom=Caesium()
`
C:\ProgramData\Anaconda3\lib\site-packages\arc\alkali_atom_functions.py in init(self, preferQuantumDefects, cpp_numerov)
200
201 if self.cpp_numerov:
--> 202 from .arc_c_extensions import NumerovWavefunction
203 self.NumerovWavefunction = NumerovWavefunction
204
ImportError: numpy.core.multiarray failed to import`
As I have read other issues, the problem is with the C compiler, but the answers have only addressed pip users.
(I'm using python 3.8)
The text was updated successfully, but these errors were encountered: