how to install pyside2 Jetson nano

Please let me know if it is possible install pyside2 on Jetson nano. If yes how is it done.


Qt is working on the Jetson system but sorry that we don’t have any experience with pyside2.
You can just give it a try: [url][/url]


This source helped me to build pyide2 with QT 5.9:

And I had to add libclang-9-dev. This is exactly what I did:

# get some packages which are needed
yes | sudo apt-get install libclang-dev qt5-default qtscript5-dev libssl-dev qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5svg5-dev libqt5webkit5-dev libsdl2-dev libasound2 libxmu-dev libxi-dev freeglut3-dev libasound2-dev libjack-jackd2-dev libxrandr-dev libqt5xmlpatterns5-dev libqt5xmlpatterns5 libqt5xmlpatterns5-dev qtdeclarative5-private-dev qtbase5-private-dev qttools5-private-dev qtwebengine5-private-dev libclang-9-dev

git clone git://
cd pyside-setup
# check the verision of the qt5-default with "qmake --version", it should be 5.9.5
qmake --version
# get the right pyside QT version
git checkout 5.9

# Next, edit this file (necessary for version 5.9!!):
gedit ~/pyside-setup/sources/pyside2/PySide2/QtGui/CMakeLists.txt
# Comment out (using #), these two lines:

# now, build pyside (might take up to 3 hours)
python3 build

# After that, you can create a distributable package by:
python3 --only-package bdist_wheel

#The package appears in directory pyside-setup/dist/ and is installable with pip3 install --user packagename.whl

I get this error when I run python3 build

CMake Error at CMakeLists.txt:77 (message):
Unable to detect CLANG location by checking LLVM_INSTALL_DIR,
CLANG_INSTALL_DIR or running llvm-config.

– Configuring incomplete, errors occurred!
See also “/home/cobi/pyside-setup/pyside3_build/py3.6-qt5.9.5-64bit-release/shiboken2/CMakeFiles/CMakeOutput.log”.
error: Error configuring shiboken2

And you also installed libclang-9-dev?

export LLVM_INSTALL_DIR=/usr/lib/llvm-9/