Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LVGL] Python selection for builds on macOS #346

Closed
fietser28 opened this issue Apr 21, 2024 · 1 comment
Closed

[LVGL] Python selection for builds on macOS #346

fietser28 opened this issue Apr 21, 2024 · 1 comment
Milestone

Comments

@fietser28
Copy link
Collaborator

fietser28 commented Apr 21, 2024

Following up on a discussion on Discord:

On macOS it is possible to have multiple python versions and / or installations. This causes some confusion/problems when a user runs pip commands from a terminal to install dependencies and eez-studio runs a different python version during the build of LVGL when converting images.

This happens when a LVGL project has images that need to be converted to .h/.c files.

The python packages from python.org extend the PATH inside the users .zprofile file and not system wide. When starting studio from a zsh shell (npm start) this is not a problem. But starting studio from the UI (e.g. click on the application icon) the system python is used.

There are a few solutions to this problem:

  • add a way for the user to select the python executable/path
  • run the python executable inside a zsh shell that sources .zprofile before starting python (e.g. a login shell).
@mvladic mvladic added this to the M21 milestone Jun 12, 2024
@mvladic mvladic changed the title Python selection for LVGL builds on OS X [LVGL] Python selection for builds on OS X Jun 12, 2024
@mvladic mvladic modified the milestones: M21, M22 Aug 3, 2024
@mvladic mvladic modified the milestones: M22, M23 Aug 31, 2024
mvladic added a commit that referenced this issue Sep 21, 2024
@mvladic
Copy link
Contributor

mvladic commented Sep 21, 2024

add a way for the user to select the python executable/path

In the "Home - Settings", added option to set python path:

image

mvladic added a commit that referenced this issue Sep 21, 2024
mvladic added a commit that referenced this issue Sep 21, 2024
@mvladic mvladic changed the title [LVGL] Python selection for builds on OS X [LVGL] Python selection for builds on macOS Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants