[JdeRobot] [jderobot] Error in import CV2

Jose Antonio cbyte18 at gmail.com
Tue Mar 7 20:48:07 CET 2017


Hi all

I've bad new after the dist upgrade the CV began to work but pyqt5 
crashed in the import statement
/_
_*Traceback (most recent call last):
   File 
"/home/josete/PycharmProjects/2014-pfc-JoseAntonio-Fernandez/MapClient/im.py", 
line 7, in <module>
     from PyQt5.QtWidgets import *
ImportError: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: version `Qt_5' 
not found (required by 
/usr/local/lib/python3.5/dist-packages/PyQt5/QtWidgets.so)*/

Anybody can help me? Have everyone working pyqt5 and OpenCV? I've not 
idea what to do now

Thanks

El 06/03/17 a las 20:42, Jose Antonio escribió:
> Oh, thanks
>
> I tried what you said, and this example works! So I suppose the 
> problem is in the imshow() function. It's annoying but no blocking so 
> go go go.
>
> Thanks
>
> El 06/03/17 a las 18:10, JoseMaria Cañas Plaza escribió:
>> Hi JoseAntonio,
>>
>> that seems more an OpenCV problem than a JdeRobot one :-)
>>
>> The "init done opengl support available" are warning messages
>> according to these webs [1][2]. Try to explore the OpenCV example
>> demos, like grabcut.py to check that OpenCV is working fine on your
>> machine.
>>
>> Cheers,
>>
>> JoseMaria
>> [1]http://answers.opencv.org/question/91423/supressing-init-done-and-opengl-support-available/
>> [2]http://answers.opencv.org/question/117084/init-done-opengl-support-available/
>>
>> On Sun, Mar 5, 2017 at 6:40 PM, Jose Antonio<cbyte18 en gmail.com>  wrote:
>>> Hi all, I update my situation.
>>>
>>> I did a apt-get dist-upgrade and the import problem disappeared. However i
>>> can't do a simple read image and show it.
>>>
>>> I do
>>>
>>> im = cv2.imread('images/plazaMayor600x600.png');
>>> cv2.imshow('image',im)
>>>
>>> And i get
>>>
>>> init doneSef
>>> opengl support available
>>>
>>> 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:
>>>
>>> "Segfault happened at 0x7f5fe89fb629 can't access to this direction not
>>> located in a know VMA region
>>>
>>> Stack memory exhausted"
>>>
>>> Thanks everybody
>>>
>>> El 05/03/17 a las 11:16, Jose Antonio escribió:
>>>
>>> Hi all,
>>>
>>> I've a problem when i do the import in my python code. In this simple line
>>> of code my program crashes:
>>>
>>> from cv2 import *
>>>
>>> With the following error:
>>>
>>> ImportError: /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5: undefined symbol:
>>> _ZN15QStaticTextItem13setFontEngineEP11QFontEngine
>>>
>>> I not have idea of what is wrong I installed the jderobot from apt
>>> repositories an it didn't give me any problem
>>>
>>>
>>> thanks all
>>>
>>>
>>>
>>> _______________________________________________
>>> Jde-developers mailing list
>>> Jde-developers en gsyc.urjc.es
>>> https://gsyc.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>>>
>>
>

------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://gsyc.urjc.es/pipermail/jde-developers/attachments/20170307/9b14b898/attachment.html>


More information about the Jde-developers mailing list