Skip to content

Tag: python

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: Instead, this is the list of currently installed python packages: How can it be solved? Thanks in advance! Ans…

Merge dataframes with mirrored values

I have a dataframe which stores measurement points of an circular area. So each point has a Radius_mm and Angle_deg value. As a visual representation of the data, I would now like to create a section through the surface. I.e. I choose one angle and the corresponding angle that lies at 180° to it, including th…

How to crop corners of a 1000×1000 picture

I’m trying to crop a picture to 1000 by 1000 pixels. It works to crop the far left of the picture. However, if I attempt to change the crop to the far right it returns an error: SystemError: tile cannot extend outside image Answer As the comments and the documentation pointed out, parameters should be s…