Hi guys,

I am trying to build my PyQt app on Mac OS X 10.6.4 using PyInstaller
1.5rc1. I have it installed and configured with my python2.7-32 (32
bit version of Python 2.7 for Mac). I am building the app
successfully. The process runs fine, but when I run the app comes the
first problem: the app runs with no menu and icon. If that was the
only problem we could be living with that. But the thing is when I
tried to run the application on another Mac (with no Python 2.7, no
Qt, no PyQt, etc...) I get the following error:

Traceback (most recent call last):
  File "<string>", line 2, in <module>
  File "/opt/PyInstaller/iu.py", line 436, in importHook
  File "/opt/PyInstaller/iu.py", line 521, in doimport
  File 
"/Users/gabriel/workspace/bbm/build/build/pyi.darwin/main/outPYZ1.pyz/qt4reactor",
line 27, in <module>
  File "/opt/PyInstaller/iu.py", line 436, in importHook
  File "/opt/PyInstaller/iu.py", line 521, in doimport
  File 
"/Users/gabriel/workspace/bbm/build/build/pyi.darwin/main/outPYZ1.pyz/zope",
line 3, in <module>
  File "/opt/PyInstaller/iu.py", line 436, in importHook
  File "/opt/PyInstaller/iu.py", line 521, in doimport
  File "build/bdist.macosx-10.6-intel/egg/pkg_resources.py", line 698,
in <module>
  File "build/bdist.macosx-10.6-intel/egg/pkg_resources.py", line 701,
in Environment
  File "build/bdist.macosx-10.6-intel/egg/pkg_resources.py", line 96,
in get_supported_platform
  File "build/bdist.macosx-10.6-intel/egg/pkg_resources.py", line 222,
in get_build_platform
  File 
"/Users/gabriel/workspace/bbm/build/build/pyi.darwin/main/outPYZ1.pyz/distutils.util",
line 98, in get_platform
  File 
"/Users/gabriel/workspace/bbm/build/build/pyi.darwin/main/outPYZ1.pyz/distutils.sysconfig",
line 487, in get_config_vars
  File 
"/Users/gabriel/workspace/bbm/build/build/pyi.darwin/main/outPYZ1.pyz/distutils.sysconfig",
line 370, in _init_posix
distutils.errors.DistutilsPlatformError: invalid Python installation:
unable to open 
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/Makefile
(No such file or directory)


Can anybody point me what am I doing wrong or how can I workaround this?

I have followed http://diotavelli.net/PyQtWiki/PyInstallerOnMacOSX and
http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/
but I still couldn't make it work on my clients' Macs.

Thank you very much.

Kindest regards,

Gabriel

-- 
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.

Reply via email to