Fail to install Python3x and OpenCV 3

56 views
Skip to first unread message

Sam Lee

unread,
Apr 23, 2016, 11:42:37 PM4/23/16
to OpenCV with Python Blueprints
I've first join OpenCV world. using Mac(OSX 10.11)

But Actually, I tired so many different ways but fail to install

So,I want to ask you how to install OpenCV3 and Python3 on my OSX10.11 ?

I need helps...

Thanks,
Sam LEE

Sam Lee

unread,
Apr 23, 2016, 11:44:01 PM4/23/16
to OpenCV with Python Blueprints
The main problem is when Im using some command at Terminal, the file and directory location is wrong. so do i need install hole my system to reset ?

Michael Beyeler

unread,
Apr 24, 2016, 5:39:50 PM4/24/16
to OpenCV with Python Blueprints
Hi Sam,

First of all, welcome to the OpenCV world! Installation can be a little bit tricky, especially when you're first starting out...

I don't have too much experience with installing OpenCV on Mac OS X, but I've found this guide helpful before:

If you carefully follow these steps, your system should be up in no time!

If you're still having trouble after following the guide, it would be great if you could post some more details about what's going wrong. For example, you mention "file and directory location is wrong", but I'm not sure what that means. Which command did you run? What was the exact error you got from the terminal? etc.

Best,
Michael

Michael Beyeler

unread,
May 13, 2016, 11:14:13 AM5/13/16
to OpenCV with Python Blueprints
Hi Sam,

Were you able to resolve your installation issues??

Best,
Michael

Michael Beyeler

unread,
Oct 4, 2016, 12:03:12 PM10/4/16
to OpenCV with Python Blueprints
If anyone is still having problems with OpenCV 3 and Python 3.5, the easiest way is probably to go with Python's Anaconda distribution:

First, follow the platform-specific installation instructions on the website above.

Once Python is installed, go to a terminal and run:
$ conda install opencv

If you get a "package not found" error message, you can search anaconda.org for packages that match your platform:
$ anaconda search -t conda opencv

In the list, pick a user that has the OpenCV version you want for the platform you want.
For example, OpenCV 3.1.0 for 'linux-64' and 'osx-64' is supplied by user `trung`, so simply run:
$ conda install -c trung opencv3

To show more details about a specific package, use:
$ anaconda show trung/opencv3
Reply all
Reply to author
Forward
0 new messages