Martin Gamwell Dawids píše v St 23. 11. 2011 v 07:25 -0800: > Failing test summary: > > basic/test_ctypes: > --------------------- > -> OSError: dlopen(ctypes/testctypes.dylib, 6): no suitable image > found. Did find: > -> ctypes/testctypes.dylib: mach-o, but wrong architecture > > In my shell VERSIONER_PYTHON_PREFER_32_BIT=yes, so I should be running > 32 bit Python. However, it looks like the test picks up the library in > wrong architecture (64bit?)
This is an issue with pyinstaller. The variable VERSIONER_PYTHON_PREFER_32_BIT=yes does not work on my mac. I use: 'arch -i386 python'. PyInstaller is calling subprocesses where 'python file.py' is run. But for subprocesses Mac uses the default architecture. So we should change PyInstaller to run on Mac commands starting with 'arch -i386 /python/executable'. > > libraries/test_wx: > --------------------- > -> This program needs access to the screen. > -> Please run with 'pythonw', not 'python', and only when you are > logged > -> in on the main display of your Mac. > > Is this an error in the test suite? This should be moved into interactive test dir. Other tests are new and they should be ignored if those pkgs are missing. -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
