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 22, 2020 in Python by akhtar
• 38,170 points
561 views

1 answer to this question.

0 votes

Hi@akhtar,

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 22, 2020 by MD
• 95,060 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,870 points
630 views
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 12, 2019 in Python by Mark
2,603 views
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 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 1,842 views
0 votes
0 answers
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 4, 2020 in Python by Anand Vijay Rajsri

reshown Nov 4, 2020 by Sirajul 9,293 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,420 points
16,332 views