[MacPorts] #38560: opencv +python27: cannot import Python module

MacPorts noreply at macports.org
Wed Apr 3 18:14:23 PDT 2013


#38560: opencv +python27: cannot import Python module
---------------------------+------------------------
  Reporter:  johnsankey@…  |      Owner:  stromnov@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.1.3
Resolution:                |   Keywords:
      Port:  opencv        |
---------------------------+------------------------

Comment (by johnsankey@…):

 Further to the above: I've found that typing python at the command line
 opens MacPorts python27 that has opencv attached. However, the idle in
 that framework
 (/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/idle) is
 an alias of Apple's idle; it only deals with Apple Python27 that doesn't
 have opencv attached.

 Can I persuade MacPorts to install its own idle in this framework?
 Hopefully, MacPorts idle will deal with MacPorts python27, then I should
 be able to associate MacPorts idle with .py and use it that way.

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


More information about the macports-tickets mailing list