cancel
Showing results for 
Search instead for 
Did you mean: 

Query/issue in STM32MP157F-DK2

Shail
Associate II

Hello Madam/sir,

Recently we have purchased STM32MP157F-DK2 development board, and we are very new to this board. We are trying to install PyQt5 on this board but we are getting error "Package not found" and also we are not getting proper link to install Python "GPIO Libraries"

So we required kind support for our future development by using this board.

 

 

Thanks and regards

Shailesh Parashar

Sr. R&D Engineer

Scientific Mes Technik Pvt. Ltd. Indore

 

 

24 REPLIES 24

Hi @Shail 

As mentionned in my last reply, did you install the package qtwayland?

Best regards,

--JM

Hello @Jean-Marc B 

I installed "qtwayland" as you mentioned, but I got an error when I tried to run the code using the

"python3 filename.py".

 

Thanks & Regards,

Shail

Hi @Shail 

The Qt python script can not be executed with the command

python3 filename.py

You must copy the file into the weston account and run it with the command I mentionned i.e.

$ cp filename.py /home/weston/filename.py
$ su -l weston -c "env QT_QPA_PLATFORM=wayland-egl python3 /home/weston/filename.py"

Best regards,

--JM 

Hello @Jean-Marc B 

Your response is greatly appreciated and I thank you for your support. We also need support (download link ) on Python library for GPIO control and SPI protocol.

 

Thanks & Regards,

Shail

Hi @Shail 

I am glad to finally solve your problem.

For the python library for GPIO control and SPI control, I suggest you to open a new post so other users may help you. I don't have any information about such library for stm32mpu.

Best regards,

--JM