I’m using NVIDIA Jetson Tx2 on Ubuntu 16.04 with Python3. I got a problem about PyQt5.
from PyQt5 import QtGui
This will lead to the problem of “ImportError: libQt5Gui.so.5: cannot open shared object file: No such file or directory”.
PyQt5 was installed by apt. And I tried to compile Qt5, it failed. Maybe someone else had installed another Qt version in my device.
make: Leaving directory '/home/nvidia/qt/qtbase/src/plugins/platforms/xcb/gl_integrations/xcb_egl' make: Leaving directory '/home/nvidia/qt/qtbase/src/plugins/platforms/xcb/gl_integrations' make: Leaving directory '/home/nvidia/qt/qtbase/src/plugins/platforms/xcb' make: Leaving directory '/home/nvidia/qt/qtbase/src/plugins/platforms' make: Leaving directory '/home/nvidia/qt/qtbase/src/plugins' Makefile:693: recipe for target 'sub-plugins-make_first' failed make: *** [sub-plugins-make_first] Error 2 make: Leaving directory '/home/nvidia/qt/qtbase/src' Makefile:48: recipe for target 'sub-src-make_first' failed make: *** [sub-src-make_first] Error 2 make: Leaving directory '/home/nvidia/qt/qtbase' Makefile:83: recipe for target 'module-qtbase-make_first' failed make: *** [module-qtbase-make_first] Error 2