Question: I am using Spyder to do a Computer vision project, and I and getting the following error: ModuleNotFoundError: No module named 'numpy.core.multiarray' I still get

 I am using Spyder to do a Computer vision project, and

I and getting the following error: ModuleNotFoundError: No module named 'numpy.core.multiarray' I

still get this error, even after updating or checking the version or

I am using Spyder to do a Computer vision project, and I and getting the following error: ModuleNotFoundError: No module named 'numpy.core.multiarray'

I still get this error, even after updating or checking the version or updating. Could someone please provide the steps to get this error to go away? (Using Mac only)

In [2]: runfile('/Users/dc/Desktop/portfoliocCodes/Face, lib/realtime_face_emtion_dection.py', wdir='/Users/dc/ Desktop/portfolioclodes/Face/lib') 0pencV bindings requires "numpy" package. Install it via command: pip install numpy Traceback (most recent call last): File "/opt/anaconda3/envs/update/lib/python3.10/sitepackages/spyder_kernels/py3compat.py", line 356, in compat_exec File "/Users/dc/Desktop/portfoliocCodes/Face/lib/ realtime_face_emtion_dection.py", line 9, in import cv2 File "/opt/anaconda3/envs/update/lib/python3.10/sitepackages/cv2/__init_..py", line 12, in import numpy. core.multiarray ModuleNotFoundError: No module named 'numpy. core. multiarray' In [3]: \( \begin{aligned} 7 & \text { \#importing the required libraries } \\ 8 & \text { import cv2 } \\ 10 & \text { import numpy as np } \\ 11 & \text { from keras.preprocessing import image } \\ 12 & \text { from keras.models import model_from_json } \\ 13 & \text { import face_recognition }\end{aligned} \)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!