Are there any updates on this? I have encountered a similar issue recently.
Any help will be appreciated On Wednesday, January 27, 2016 at 6:01:51 AM UTC+5:30, David J Beck wrote: > > I'm working on Macs running OS 10.11 and trying to build an app based on > Python 3.5, Qt 5.1, and PyQt 5.1, everything installed using Homebrew > package manager. I can build one-folder and bundled apps that run just fine > on the computer where I have Pyinstaller, but when I move them to another > Mac the application crashes on start up. I tried building a version with > the -d option and when I ran it on the other computer, I got this output: > > Last login: Tue Jan 26 16:15:08 on ttys000 > > iMonster27:~ David$ /Users/David/Desktop/dist/eFieldbook/eFieldbook ; exit; > > PyInstaller Bootloader 3.x > > LOADER: executable is /Users/David/Desktop/dist/eFieldbook/eFieldbook > > LOADER: homepath is /Users/David/Desktop/dist/eFieldbook > > LOADER: _MEIPASS2 is NULL > > LOADER: archivename is /Users/David/Desktop/dist/eFieldbook/eFieldbook > > LOADER: Extracting binaries > > LOADER: Executing self as child > > LOADER: set _MEIPASS2 to /Users/David/Desktop/dist/eFieldbook > > PyInstaller Bootloader 3.x > > LOADER: executable is /Users/David/Desktop/dist/eFieldbook/eFieldbook > > LOADER: homepath is /Users/David/Desktop/dist/eFieldbook > > LOADER: _MEIPASS2 is /Users/David/Desktop/dist/eFieldbook > > LOADER: archivename is /Users/David/Desktop/dist/eFieldbook/eFieldbook > > LOADER: Already in the child - running user's code. > > LOADER: Python library: /Users/David/Desktop/dist/eFieldbook/Python > > LOADER: Loaded functions from Python library. > > LOADER: Manipulating environment (sys.path, sys.prefix) > > LOADER: Pre-init sys.path is > /Users/David/Desktop/dist/eFieldbook/base_library.zip:/Users/David/Desktop/dist/eFieldbook > > LOADER: sys.prefix is /Users/David/Desktop/dist/eFieldbook > > LOADER: Setting runtime options > > LOADER: Initializing python > > LOADER: Overriding Python's sys.path > > LOADER: Post-init sys.path is > /Users/David/Desktop/dist/eFieldbook/base_library.zip:/Users/David/Desktop/dist/eFieldbook > > LOADER: Setting sys.argv > > LOADER: setting sys._MEIPASS > > LOADER: importing modules from CArchive > > LOADER: extracted struct > > LOADER: callfunction returned... > > LOADER: extracted pyimod01_os_path > > LOADER: callfunction returned... > > LOADER: extracted pyimod02_archive > > LOADER: callfunction returned... > > LOADER: extracted pyimod03_importers > > LOADER: callfunction returned... > > LOADER: Installing PYZ archive with Python modules. > > LOADER: PYZ archive: out00-PYZ.pyz > > LOADER: Running pyiboot01_bootstrap.py > > LOADER: Running pyi_rth_qt5.py > > Illegal instruction: 4 > > logout > > Saving session... > > ...copying shared history... > > ...saving history...truncating history files... > > ...completed. > > > [Process completed] > > > The crash reports this process generates look like this: > > > Process: eFieldbook [988] > > Path: /Users/USER/Library/Mobile > Documents/com~apple~CloudDocs/*/eFieldbook.app/Contents/MacOS/eFieldbook > > Identifier: eFieldbook > > Version: 0.0.0 (???) > > Code Type: X86-64 (Native) > > Parent Process: ??? [987] > > Responsible: eFieldbook [988] > > User ID: 501 > > > Date/Time: 2016-01-25 14:10:19.563 -0700 > > OS Version: Mac OS X 10.11.2 (15C50) > > Report Version: 11 > > Anonymous UUID: 12E84669-5DBC-12EB-521F-4E35DEDBB9D0 > > > > Time Awake Since Boot: 4700 seconds > > > System Integrity Protection: enabled > > > Crashed Thread: 0 Dispatch queue: com.apple.main-thread > > > Exception Type: EXC_BAD_INSTRUCTION (SIGILL) > > Exception Codes: 0x0000000000000001, 0x0000000000000000 > > Exception Note: EXC_CORPSE_NOTIFY > > > Thread 0 Crashed:: Dispatch queue: com.apple.main-thread > > 0 sip.cpython-35m-darwin.so 0x0000000106ba9ee0 createClassType + 138 > > 1 sip.cpython-35m-darwin.so 0x0000000106ba5a1f sip_api_init_module > + 680 > > 2 PyQt5.QtCore.cpython-35m-darwin.so 0x0000000106311506 PyInit_QtCore + > 326 > > 3 Python 0x0000000105f93448 > _PyImport_LoadDynamicModuleWithSpec + 489 > > 4 Python 0x0000000105f92ffa _imp_create_dynamic > + 252 > > 5 Python 0x0000000105f193b5 PyCFunction_Call + > 273 > > 6 Python 0x0000000105f7d530 PyEval_EvalFrameEx > + 24272 > > 7 Python 0x0000000105f8026c > _PyEval_EvalCodeWithName + 1884 > > 8 Python 0x0000000105f80bab fast_function + 341 > > 9 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 10 Python 0x0000000105f80b2b fast_function + 213 > > 11 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 12 Python 0x0000000105f80b2b fast_function + 213 > > 13 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 14 Python 0x0000000105f80b2b fast_function + 213 > > 15 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 16 Python 0x0000000105f80b2b fast_function + 213 > > 17 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 18 Python 0x0000000105f80b2b fast_function + 213 > > 19 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 20 Python 0x0000000105f80b2b fast_function + 213 > > 21 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 22 Python 0x0000000105f8026c > _PyEval_EvalCodeWithName + 1884 > > 23 Python 0x0000000105f7764b PyEval_EvalCodeEx + > 78 > > 24 Python 0x0000000105f02593 function_call + 377 > > 25 Python 0x0000000105ee0910 PyObject_Call + 97 > > 26 Python 0x0000000105f7d40d PyEval_EvalFrameEx > + 23981 > > 27 Python 0x0000000105f8026c > _PyEval_EvalCodeWithName + 1884 > > 28 Python 0x0000000105f80bab fast_function + 341 > > 29 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 30 Python 0x0000000105f8026c > _PyEval_EvalCodeWithName + 1884 > > 31 Python 0x0000000105f80bab fast_function + 341 > > 32 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 33 Python 0x0000000105f80b2b fast_function + 213 > > 34 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 35 Python 0x0000000105f80b2b fast_function + 213 > > 36 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 37 Python 0x0000000105f80b2b fast_function + 213 > > 38 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 39 Python 0x0000000105f8026c > _PyEval_EvalCodeWithName + 1884 > > 40 Python 0x0000000105f7764b PyEval_EvalCodeEx + > 78 > > 41 Python 0x0000000105f02593 function_call + 377 > > 42 Python 0x0000000105ee0910 PyObject_Call + 97 > > 43 Python 0x0000000105ee1169 > _PyObject_CallMethodIdObjArgs + 197 > > 44 Python 0x0000000105f924b4 > PyImport_ImportModuleLevelObject + 1780 > > 45 Python 0x0000000105f7473c builtin___import__ > + 135 > > 46 Python 0x0000000105f192e0 PyCFunction_Call + > 60 > > 47 Python 0x0000000105ee0910 PyObject_Call + 97 > > 48 Python 0x0000000105ee0ab9 call_function_tail > + 72 > > 49 Python 0x0000000105ee0a51 > PyObject_CallFunction + 197 > > 50 Python 0x0000000105f91ce8 PyImport_Import + > 388 > > 51 Python 0x0000000105f909af > PyImport_ImportModule + 31 > > 52 PyQt5.Qt.cpython-35m-darwin.so 0x00000001017fd5c6 PyInit_Qt + 70 > > 53 Python 0x0000000105f93448 > _PyImport_LoadDynamicModuleWithSpec + 489 > > 54 Python 0x0000000105f92ffa _imp_create_dynamic > + 252 > > 55 Python 0x0000000105f193b5 PyCFunction_Call + > 273 > > 56 Python 0x0000000105f7d530 PyEval_EvalFrameEx > + 24272 > > 57 Python 0x0000000105f8026c > _PyEval_EvalCodeWithName + 1884 > > 58 Python 0x0000000105f80bab fast_function + 341 > > 59 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 60 Python 0x0000000105f80b2b fast_function + 213 > > 61 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 62 Python 0x0000000105f80b2b fast_function + 213 > > 63 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 64 Python 0x0000000105f80b2b fast_function + 213 > > 65 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 66 Python 0x0000000105f80b2b fast_function + 213 > > 67 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 68 Python 0x0000000105f80b2b fast_function + 213 > > 69 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 70 Python 0x0000000105f80b2b fast_function + 213 > > 71 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 72 Python 0x0000000105f8026c > _PyEval_EvalCodeWithName + 1884 > > 73 Python 0x0000000105f7764b PyEval_EvalCodeEx + > 78 > > 74 Python 0x0000000105f02593 function_call + 377 > > 75 Python 0x0000000105ee0910 PyObject_Call + 97 > > 76 Python 0x0000000105f7d40d PyEval_EvalFrameEx > + 23981 > > 77 Python 0x0000000105f8026c > _PyEval_EvalCodeWithName + 1884 > > 78 Python 0x0000000105f80bab fast_function + 341 > > 79 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 80 Python 0x0000000105f8026c > _PyEval_EvalCodeWithName + 1884 > > 81 Python 0x0000000105f80bab fast_function + 341 > > 82 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 83 Python 0x0000000105f80b2b fast_function + 213 > > 84 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 85 Python 0x0000000105f80b2b fast_function + 213 > > 86 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 87 Python 0x0000000105f80b2b fast_function + 213 > > 88 Python 0x0000000105f7cc74 PyEval_EvalFrameEx > + 22036 > > 89 Python 0x0000000105f8026c > _PyEval_EvalCodeWithName + 1884 > > 90 Python 0x0000000105f7764b PyEval_EvalCodeEx + > 78 > > 91 Python 0x0000000105f02593 function_call + 377 > > 92 Python 0x0000000105ee0910 PyObject_Call + 97 > > 93 Python 0x0000000105ee1169 > _PyObject_CallMethodIdObjArgs + 197 > > 94 Python 0x0000000105f924b4 > PyImport_ImportModuleLevelObject + 1780 > > 95 Python 0x0000000105f7473c builtin___import__ > + 135 > > 96 Python 0x0000000105f192e0 PyCFunction_Call + > 60 > > 97 Python 0x0000000105f7cddf PyEval_EvalFrameEx > + 22399 > > 98 Python 0x0000000105f8026c > _PyEval_EvalCodeWithName + 1884 > > 99 Python 0x0000000105f775f7 PyEval_EvalCode + 81 > > 100 Python 0x0000000105f9d17d run_mod + 58 > > 101 Python 0x0000000105f9d58c PyRun_StringFlags + > 131 > > 102 Python 0x0000000105f9d4d8 > PyRun_SimpleStringFlags + 69 > > 103 eFieldbook 0x00000001000027e6 0x100000000 + 10214 > > 104 eFieldbook 0x0000000100002cf6 0x100000000 + 11510 > > 105 eFieldbook 0x0000000100001804 0x100000000 + 6148 > > > I can run the app in Python on the computer that can't run the Pyinstaller > build. There's a similar thing reported on StackOverflow ( > http://stackoverflow.com/questions/25251615/pyinstaller-illegal-instruction-4-other-computers), > > but no answer there, other than trying another bundler. > > > Kind of at my wit's end, so any help would be appreciated. > > > David > > > -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/5a68714f-89f1-4bf5-a7a3-3d09288b13eb%40googlegroups.com.