ImportError Traceback most recent call last ImportError numpy core umath failed to import

0 votes

Hi Guys,

I am trying to import the Keras module for CNN. But it is showing me the below-error.

import keras
ImportError Traceback (most recent call last) ImportError: numpy.core.umath failed to import

How can I solve this error?

Jun 23, 2020 in Python by akhtar
• 38,220 points

1 answer to this question.

0 votes


You need to upgrade your Numpy library. Your current Keras version is not compatible with your Numpy module. You can use the below-given command to upgrade Numpy.

$ pip install -U numpy

I hope this will help you.

answered Jun 23, 2020 by MD
• 95,320 points

Related Questions In Python

0 votes
1 answer

Exception in Tkinter callback Traceback (most recent call last):

Hello, @R, As per the Beautiful Soup Documentation: AttributeError: 'NoneType' ...READ MORE

answered Dec 21, 2020 in Python by Gitika
• 65,970 points
0 votes
1 answer

How to resolve ImportError: cannot import name 'add' in python ?

There's no module called "add" in random. ...READ MORE

answered Feb 13, 2019 in Python by Mark
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 2,483 views
0 votes
1 answer
0 votes
1 answer
+2 votes
2 answers

ImportError: numpy.core.multiarray failed to import

try this... run this code one by one.... pip ...READ MORE

answered Nov 5, 2020 in Python by Anand Vijay Rajsri

reshown Nov 5, 2020 by Sirajul 16,713 views
0 votes
3 answers

import NumPy as np ImportError: No module named NumPy

You need to install numpy using pip install ...READ MORE

answered Dec 16, 2020 in Python by Roshni
• 10,480 points