首页 > 解决方案 > 在 Nvidia Jetson Nano 4gb 上安装 PySide 时出错

问题描述

这是我尝试在我的 Jetson Nano 上运行“pip install PySide”时出现的错误。有人可以让我知道如何解决此错误吗?

CMake Warning at /usr/share/cmake-3.10/Modules/FindQt4.cmake:620 (message):
  /usr/bin/qmake reported QT_INSTALL_LIBS as "/usr/lib/aarch64-linux-gnu" but
  QtCore could not be found there.  Qt is NOT installed correctly for the
  target build environment.
Call Stack (most recent call first):
  CMakeLists.txt:9 (find_package)


-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython2.7.so (found suitable version "2.7.17", minimum required is "2.6")
-- Found LibXml2: /usr/lib/aarch64-linux-gnu/libxml2.so (found suitable version "2.9.4", minimum required is "2.6.32")
-- Could NOT find LibXslt (missing: LIBXSLT_LIBRARIES LIBXSLT_INCLUDE_DIR) (Required is at least version "1.1.19")
Qt QTGUI library not found.
Qt QTXML library not found.
Qt QTCORE library not found.
CMake Error at ApiExtractor/CMakeLists.txt:82 (qt4_add_resources):
  Unknown CMake command "qt4_add_resources".


-- Configuring incomplete, errors occurred!
See also "/tmp/pip-build-mimaL7/PySide/pyside_build/py2.7-qt4.8.7-64bit-release/shiboken/CMakeFiles/CMakeOutput.log".
error: Error configuring shiboken

标签: qtcmakepippysidenvidia

解决方案


PySide 没有针对 ARM 系统的官方发布包。您必须自己构建它。我所能负担的只有这个 .whl,但请记住,它是在 Ubuntu 20.04 上构建的,并带有 JetPack 4 和 Python 3.6。


推荐阅读