My bundled app needs to launch an additional process to execute a python script in. I'd like to use the bundled python interpreter for that, which I assume is the executable in Contents/MacOS/python. However, when launching it I get the following error:
dyld[61741]: Library not loaded: @loader_path/../../../../Python
Referenced from: <0BC32E4C-2CD2-3E0F-979D-31F2F517E67A> /Users/aw/src/dist/gui.app/Contents/MacOS/python
Reason: tried: '/Users/aw/src/dist/gui.app/Contents/MacOS/../../../../Python' (no such file), '/usr/local/lib/Python' (no such file), '/usr/lib/Python' (no such file, not in dyld cache)
zsh: abort gui.app/Contents/MacOS/python
My bundled app needs to launch an additional process to execute a python script in. I'd like to use the bundled python interpreter for that, which I assume is the executable in
Contents/MacOS/python
. However, when launching it I get the following error:dyld[61741]: Library not loaded: @loader_path/../../../../Python Referenced from: <0BC32E4C-2CD2-3E0F-979D-31F2F517E67A> /Users/aw/src/dist/gui.app/Contents/MacOS/python Reason: tried: '/Users/aw/src/dist/gui.app/Contents/MacOS/../../../../Python' (no such file), '/usr/local/lib/Python' (no such file), '/usr/lib/Python' (no such file, not in dyld cache) zsh: abort gui.app/Contents/MacOS/python