eez-open / studio

Cross-platform low-code GUI and automation
https://www.envox.eu/studio/studio-introduction/
GNU General Public License v3.0
601 stars 99 forks source link

Error generating bitmap #562

Closed Obili69 closed 1 month ago

Obili69 commented 1 month ago

Describe the bug I have pypng installed but stiell get the error werror generating bitmap 'ui_image_logo_logo2.c' file: Error: ImportError: Need pypng paCKAGE, DO pip3 install pypng (I have pypng installed) To Reproduce Steps to reproduce the behavior: Import a png and add it on a screen. This leads to the above discribed logo.

Expected behavior For it to compile

Screenshots

image

Desktop (please complete the following information):

LVGL version (if used)

9.x

Additional context Add any other context about the problem here. logo

mvladic commented 1 month ago

Because you are on the Mac, usually this means that Studio is using different python then the python you see from the command line (Terminal). Check this issue, in the comments you will find how to set custom python path in Studio.