<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi all, I update my situation.</p>
<p>I did a apt-get dist-upgrade and the import problem disappeared.
However i can't do a simple read image and show it.</p>
<p>I do </p>
<p>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</p>
<pre style="background-color:#ffffff;color:#000000;font-family:'DejaVu Sans Mono';font-size:9,0pt;"><font size="-1"><span style="background-color:#ffe4ff;">im</span> = cv2.imread(<span style="color:#008080;font-weight:bold;">'images/plazaMayor600x600.png'</span>);
cv2.imshow(<span style="color:#008080;font-weight:bold;">'image'</span>,<span style="background-color:#e4e4ff;">im</span>)</font>
</pre>
<p>And i get <br>
</p>
<p><font color="#ff0000" size="-1">init doneSef<br>
opengl support available</font><br>
</p>
<p>And a window open and close with no error. If i execute from
terminal I get the same problem however produces a crash on ubuntu
with more information:</p>
<pre>"Segfault happened at 0x7f5fe89fb629 can't access to this direction not located in a know VMA region</pre>
<pre>Stack memory exhausted"
</pre>
Thanks everybody <br>
<br>
El 05/03/17 a las 11:16, Jose Antonio escribió:<br>
<blockquote
cite="mid:b1344926-dcde-8598-dba8-a9b9a6e18eee@gmail.com"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<p>Hi all, <br>
</p>
<p>I've a problem when i do the import in my python code. In this
simple line of code my program crashes:</p>
<p>
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
</p>
<pre style="background-color:#ffffff;color:#000000;font-family:'DejaVu Sans Mono';font-size:9,0pt;"><font size="-1"><span style="color:#000080;font-weight:bold;">from </span>cv2 <span style="color:#000080;font-weight:bold;">import </span>*</font></pre>
<p>With the following error:</p>
<p><font size="-1">ImportError:
/usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5: undefined symbol:
_ZN15QStaticTextItem13setFontEngineEP11QFontEngine</font><br>
</p>
<p>I not have idea of what is wrong I installed the jderobot from
apt repositories an it didn't give me any problem</p>
<p><br>
thanks all<br>
</p>
<p>
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
</p>
</blockquote>
<br>
</body>
</html>