mardi 12 juillet 2016

Import error opencv2 : Setup inside anaconda

So, I have had trouble importing cv2 for a while now. I followed this tutorial http://www.pyimagesearch.com/2015/06/15/install-opencv-3-0-and-python-2-7-on-osx/

The only difference is that I did the setup in an Anaconda environment

It installed open cv2 successfully and is also present in the site-packages and yet it shows an import error.

((tensorflow)) Meghas-MacBook-Air:~ Megha$ python

Python 2.7.11 |Continuum Analytics, Inc.| (default, Dec 6 2015, 18:57:58) [GCC 4.2.1 (Apple Inc. build 5577)] on darwin

Type "help", "copyright", "credits" or "license" for more information. Anaconda is brought to you by Continuum Analytics.

import cv2 Traceback (most recent call last): File "", line 1, in ImportError: No module named cv2

Aucun commentaire:

Enregistrer un commentaire