Skip to content
Advertisement

error install PyQt5 on Yocto Linux – board Variscite

I have a problem installing a PyQt5 python package. I am in Yocto Linux environment (Hardknott kernel 5.10.35) on the Variscite board (DART-MX8M-PLUS). This is the log when I try to install with pip:

JavaScript

Instead, this is the list of currently installed python packages:

JavaScript

How can it be solved? Thanks in advance!

Advertisement

Answer

Do not bother installing packages natively on the board,

PyQt5 is already supported by Yocto in meta-qt5, link to recipe.

Just add meta-qt5 to your bblayers.conf and :

JavaScript
Advertisement