knarfS / smuview

SmuView is a GUI for sigrok that supports power supplies, electronic loads and all sorts of measurement devices like multimeters, LCR meters and so on.
GNU General Public License v3.0
128 stars 24 forks source link

app bundle for MacOS tries to use global python installation instead of bundled framework #52

Open kjuh78 opened 1 year ago

kjuh78 commented 1 year ago

The current nightly for MacOS (dmg file) won't start unless python 3.10 is installed globally, although python 3.10 is included in the app bundle.

% /Applications/SmuView.app/Contents/MacOS/smuview -l 5
dyld[8666]: Library not loaded: '/usr/local/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/Python'
  Referenced from: '/Applications/SmuView.app/Contents/MacOS/smuview.real'
  Reason: tried: '/usr/local/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/3.10/Python' (no such file), '/System/Library/Frameworks/Python.framework/Versions/3.10/Python' (no such file)
zsh: abort      /Applications/SmuView.app/Contents/MacOS/smuview -l 5