qt - 在 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
解决方案
PySide 没有针对 ARM 系统的官方发布包。您必须自己构建它。我所能负担的只有这个 .whl,但请记住,它是在 Ubuntu 20.04 上构建的,并带有 JetPack 4 和 Python 3.6。
推荐阅读
- javascript - vba xmlhttp 甲骨文网站
- elasticsearch - 带有 brew 的 Mac 上的 Elasticsearch 不允许我运行或卸载
- python - Pandas 每行都有不同的随机字符串
- javascript - 重新排序数据表将混合值
- go - 推断结构结构
- javascript - 更改主题样式表时是否可以添加过渡效果?
- oracle - 聚合来自 2 个表 oracle SQL 的数据
- visual-studio - .NET Framework 4.8 似乎使用早于 7 的 C# 版本
- javascript - Ghostscript:按标准过滤掉图像流
- laravel - Laravel 查询构建器连接可以有 2 个参数吗?