[MacPorts] #38560: port install opencv +python27 fails

MacPorts noreply at macports.org
Thu Mar 28 13:03:13 PDT 2013


#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 larryv@…):

 Replying to [comment:10 johnsankey@…]:
 > No. I meant "set python python27" issued at the command prompt, which
 > is what I was told to do in the installation instructions for opencv.

 I can only conclude that those instructions were wrong. For me, `port set`
 does not do the same thing as `port select --set`.

 > > 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.

 What do these commands output?
 {{{
 which python
 ls -l /opt/local/bin/python{,2.7}
 }}}

 > My Finder info window says default for .py is idle, but it doesn't
 > give me the option of which idle, it just gives me the one linked to
 > the Apple python.

 Do you have an `/Applications/MacPorts/Python 2.7` folder? What’s in it?

-- 
Ticket URL: <https://trac.macports.org/ticket/38560#comment:11>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list