0

I am trying to import cv2 in Spyder. When I check my environment in Anaconda, it seems to be there (see packages in environment). However, when I want to import cv2 in Spyder (opened from that same environment) I get the following error:

ModuleNotFoundError: No module named 'cv2' error when importing cv2

I hope someone can help me. I work on mscOS Catalina, Python version is 3.7.3 and I am not sure as how to check my opencv version.

Community
  • 1
  • 1
Y_J
  • 21
  • 1
  • 1
    Does this answer your question? [Cannot find module cv2 when using OpenCV](https://stackoverflow.com/questions/19876079/cannot-find-module-cv2-when-using-opencv) – krasnapolsky Dec 07 '20 at 13:28
  • A link a click further might, trying it now, thank you for responding! – Y_J Dec 07 '20 at 13:41

1 Answers1

2

Turns out my environment was running on Python 3.7.3. and I simply had to create an environment running on Python 2.7

Y_J
  • 21
  • 1