"Reason: image not found" in 4.0.3
[email protected] Mon, 22 Oct 2018 06:28:59 -0700 (PDT)
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi there,
I've compiled a Mac app using py2app and run into the following problem
when executing the compiled app:
Traceback (most recent call last):
File
"/Users/yanone/Code/TypeWorldApp/apps/Mac/Type.World.0.1.3.app/Contents/Resources/__boot__.py"
, line 98, in <module>
_run()
File
"/Users/yanone/Code/TypeWorldApp/apps/Mac/Type.World.0.1.3.app/Contents/Resources/__boot__.py"
, line 82, in _run
exec(compile(source, path, 'exec'), globals(), globals())
File
"/Users/yanone/Code/TypeWorldApp/apps/Mac/Type.World.0.1.3.app/Contents/Resources/app.py"
, line 5, in <module>
import wx, os, webbrowser, urllib.request, urllib.parse, urllib.error,
base64, plistlib, json, datetime, traceback, ctypes
File "wx/__init__.pyc", line 17, in <module>
File "wx/core.pyc", line 12, in <module>
File "wx/_core.pyc", line 14, in <module>
File "wx/_core.pyc", line 10, in __load
File "imp.pyc", line 342, in load_dynamic
ImportError: dlopen(/Users/yanone/Code/TypeWorldApp/apps/Mac/Type.World.0.1.
3.app/Contents/Resources/lib/python3.6/lib-dynload/wx/_core.so, 2): Library
not loaded: @loader_path/libwx_osx_cocoau_core-3.0.0.4.0.dylib
Referenced from: /Users/yanone/Code/TypeWorldApp/apps/Mac/Type.World.0.1.
3.app/Contents/Resources/lib/python3.6/lib-dynload/wx/_core.so
Reason: image not found
The same script when executed directly from the command line works fine.
I don't know what to make of it, so I need to ask you for help.
I tried to downgrade wxPython to 4.0.0 and 4.0.1 but no change.
What to do?
Many thanks.
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.