ImportError: numpy.core.multiarray failed to import [closed]

asked 2018-05-31 05:41:05 -0600

Nimya gravatar image

updated 2018-05-31 05:49:33 -0600

$ python -c 'import numpy; print(numpy.__file__)'

/usr/local/lib/python2.7/dist-packages/numpy/__init__.pyc

$ pip show numpy

Name: numpy

Version: 1.14.3

Summary: NumPy: array processing for numbers, strings, records, and objects.

Home-page: http://www.numpy.org

Author: Travis E. Oliphant et al.

Author-email: None

License: BSD

Location: /usr/local/lib/python3.5/dist-packages

Requires:

Required-by:

I have two python version installed in my ubuntu 16.04 python 2.7.12 (default) and python 3.5.2.

When am trying to import numpy and cv2 the following error shows :

ImportError: numpy.core.multiarray failed to import

probably the error is due to numpy version. How can I resolve this issue ??

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant by berak
close date 2018-05-31 05:44:44.268074