<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">Hi,</div><div dir="ltr"><br></div><div dir="ltr">Whilst the opencv (3.x) port has variants to enable python support, these appear to be missing currently in the opencv4 port.</div><div dir="ltr"><br></div><div dir="ltr"><a href="https://github.com/macports/macports-ports/blob/master/graphics/opencv/Portfile">https://github.com/macports/macports-ports/blob/master/graphics/opencv/Portfile</a></div><div dir="ltr"><br></div><div dir="ltr"><a href="https://github.com/macports/macports-ports/blob/master/graphics/opencv4/Portfile">https://github.com/macports/macports-ports/blob/master/graphics/opencv4/Portfile</a></div><div dir="ltr"><br></div><div dir="ltr">If you wish these to be added, you should either file a trac ticket requesting the addition,</div><div dir="ltr"><br></div><div dir="ltr"><a href="https://trac.macports.org/wiki/Tickets">https://trac.macports.org/wiki/Tickets</a></div><div dir="ltr"><br></div><div dir="ltr">Or, even better, submit your open github pr implementing support at</div><div dir="ltr"><br></div><div dir="ltr"><a href="https://guide.macports.org/chunked/project.github.html">https://guide.macports.org/chunked/project.github.html</a></div><div dir="ltr"><br></div><div dir="ltr">Chris</div><div dir="ltr"><br>On 15 Aug 2019, at 10:36 pm, Zhong Ren <<a href="mailto:renzresearch@gmail.com">renzresearch@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><span>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.</span><br><span></span><br><span>Zhong</span></div></blockquote></body></html>