I'm quite new to Python/Anaconda, and I'm facing an issue that I couldn't solve on my own or googling. When I'm running Python on cmd I can import and use numpy. Working fine.
When I'm running scripts on Spyder, or just trying to import numpy on Anaconda Prompt this error message appears:
ImportError: Importing the multiarray numpy extension module failed. Most likely you are trying to import a failed build of numpy. If you're working with a numpy git repo, try git clean -xdf (removes all files not under version control). Otherwise reinstall numpy.
Original error was: cannot import name 'multiarray'
I don't know if there are relations to it, but I cannot update conda, as well. When I try to update I receive Permission Errors.
Any ideas?
The following solved this issue for me:
pip install --upgrade --force-reinstall numpy
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With