Hi,

Whilst the opencv (3.x) port has variants to enable python support, these 
appear to be missing currently in the opencv4 port.

https://github.com/macports/macports-ports/blob/master/graphics/opencv/Portfile

https://github.com/macports/macports-ports/blob/master/graphics/opencv4/Portfile

If you wish these to be added, you should either file a trac ticket requesting 
the addition,

https://trac.macports.org/wiki/Tickets

Or, even better, submit your open github pr implementing support at

https://guide.macports.org/chunked/project.github.html

Chris

> On 15 Aug 2019, at 10:36 pm, Zhong Ren <[email protected]> wrote:
> 
> I have just installed the port opencv4.  But how do I import it in python?  I 
> used to “import cv2” with opencv 3.4.3.  Thanks.
> 
> Zhong

Reply via email to