I created an App for Mac with py2app in the Python environment built on Mac with Anaconda, but it did not start with the following error screen.
After investigating various things, it seems that you should specify the path of libpython3.5m.dylib in OPTIONS of setup.py as shown below before building with the py2app command (the name of lib depends on your environment).
----from here OPTIONS = {'argv_emulation': True, 'plist': { 'PyRuntimeLocations': [ '@executable_path/../Frameworks/libpython3.5m.dylib', '/Users/*****/.pyenv/versions/anaconda3-4.1.0/lib/libpython3.5m.dylib' ] }} ----So far
Recommended Posts