WxPython: PyInstaller schlägt fehl mit keinem Modul namens _core_

Ich konvertiere meine wxpython (3.0.2.0) -Anwendung mit PyInstaller in Binärdateien. Die Binärdateien funktionieren einwandfrei, wenn sie unter Ubuntu 12.04 erstellt und ausgeführt werden. Wenn ich jedoch auf Ubuntu 14.04 aufbaue, erhalte ich die folgende Fehlermeldung. (Die Anwendung funktioniert, wenn ich das Python-Skript direkt starte, d. H. Python my_application.py, auch in Ubuntu 14.04). Haben Sie eine Idee, was beim Packen der Anwendung mit PyInstaller fehlen könnte?

$ ./my_application 
Traceback (most recent call last):
  File "<string>", line 22, in <module>
  File "/usr/local/lib/python2.7/dist-packages/PyInstaller/loader/pyi_importers.py", line 270, in load_module
    exec(bytecode, module.__dict__)
  File "/local/workspace/my_application/out00-PYZ.pyz/wx", line 45, in <module>
  File "/usr/local/lib/python2.7/dist-packages/PyInstaller/loader/pyi_importers.py", line 270, in load_module
    exec(bytecode, module.__dict__)
  File "/local/workspace/my_application/out00-PYZ.pyz/wx._core", line 4, in <module>
**ImportError: No module named _core_**

Meine PyInstaller-Spezifikationsdatei sieht folgendermaßen aus:

...
pyz = PYZ(a.pure)
exe = EXE(pyz,
          a.scripts,
          exclude_binaries=True,
          name='my_application',
          debug=False,
          onefile = True,
          strip=None,
          upx=True,
          console=True )
coll = COLLECT(exe,
               a.binaries,
               a.zipfiles,
               a.datas,
               strip=None,
               upx=True,
               name='my_application')

Antworten auf die Frage(4)

Ihre Antwort auf die Frage