ImportError: numpy.core._multiarray_umath failed to import

See original GitHub issue

Hello,

There’s a bunch of packages which I’m installing that requires NumPy (for example TensorFlow), and I can’t seem to be able to install and import them because of an ImportError on the numpy side.

This is happening with both pip install and building from source.

Reproducing code example:

import numpy as np
import tensorflow as tf

Error message:

ImportError: numpy.core._multiarray_umath failed to import

Numpy/Python version information:

'1.16.0.dev0+cdbf35b'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:10
  • Comments:36 (11 by maintainers)

github_iconTop GitHub Comments

79reactions
ARIFPATHAN111503050commented, Feb 9, 2019

pip install --upgrade numpy

this removes the previous version and install the newer version … this solved the issued for me

10reactions
Gpwnercommented, Mar 12, 2019

I finally figure it out,It is because the numpy version is too low,upgrade numpy to 1.16.2,and everything is fine

Read more comments on GitHub >

github_iconTop Results From Across the Web

No module named 'numpy.core._multiarray_umath' (While ...
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath' ImportError: numpy.core.multiarray failed to import The above exception ...
Read more >
Error when importing TensorFlow | Apple Developer Forums
_multiarray_umath failed to import ImportError : numpy.core.umath failed to import Traceback (most recent call last): File "<stdin>", line 1, ...
Read more >
Troubleshooting ImportError — NumPy v1.24 Manual
Importing the numpy c-extensions failed. This error can happen for different reasons, often due to issues with your setup. The error also has...
Read more >
Original error was: No module named 'numpy.core ...
ImportError : IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error ...
Read more >
No module named '_impl' & ImportError: numpy.core ...
I am facing with two errors, 1 is a numpy failing to import (I have open a new issue in numpy github as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found