#38560: port install opencv +python27 fails ---------------------------+-------------------------------- Reporter: johnsankey@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: invalid | Keywords: Port: opencv | ---------------------------+-------------------------------- Comment (by johnsankey@…): Replying to [comment:9 larryv@…]:
Replying to [comment:8 johnsankey@…]:
So it seems I'm getting Apple's Python with 'set python python27', not the MacPorts Python.
I assume you mean `port select`. `port set` is a shortcut for `port setrequested`. What is the output of `port select --list python`?
No. I mean "set python python27" issued at the command prompt, which is what I was told to do in the installation instructions for opencv. I've never heard of "port select".
Can you import the OpenCV module if you start the interpreter using
`/opt/local/bin/python2.7`? No, I get the same Apple python as before, and import opencv fails as it did before. -- Ticket URL: <https://trac.macports.org/ticket/38560#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X