


Copy and paste the cv2.pyd to the Anaconda site-packages directory.Download the OpenCV package from the official OpenCV site.To use OpenCV fully with Anaconda (and Spyder IDE), we need to: in Python 3.x it would be print("hello"), and in Python 2.x it would be print "hello". NOTE 3: depending on whether you are using Python 2.x or 3.x, just adjust the print statement accordingly in code snippets. Thanks! (Update: noting from comment "Working on Windows 10") If you are using Windows 10 and Anaconda/Python 3.x, and this solution works, please add a comment below. NOTE 2: this will probably work for Anaconda/Python 3.x too. NOTE 1: as mentioned mentioned by (thank you) in comment section however, this solution appears to also work for Windows 10. (see notes below - this works also for Windows 10, and likely Python 3.x too).

Nevertheless I've copied and pasted the important bits to this post.Īt the time of writing I was using Windows 8.1, 64-bit machine, Anaconda/ Python 2.x. I have summarized my now fully working solution, OpenCV-Python - How to install OpenCV-Python package to Anaconda (Windows).
