[Numpy-discussion] numpy Mac binary for Python 2.6

Russell E. Owen rowen@u.washington....
Thu Apr 16 14:55:11 CDT 2009


Does anyone have a binary installer for numpy 1.3.0 and Python 2.6?

I've been able to install from source and all tests passed, but I prefer 
official binaries because I have some confidence that there are no 
hidden dependencies (important for distributing self-contained apps).

I tried to build a binary myself with bdist_mpkg, but it failed with the 
following (I appended the full traceback, this is just a summary):

"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-pac
kages/bdist_mpkg/tools.py", line 90, in get_gid
    raise ValueError('group %s not found' % (name,))
ValueError: group admin not found

This is with bdist_mpkg 0.4.3 (official release), machllib and py2app 
from svn trunk (but same error with the official releases), svn 1.6.1, 
MacOS X 10.5.6 and export MACOSX_DEPLOYMENT_TARGET=10.4.

Not sure why get_gid would be failing. The admin group certainly appears 
to exist and is the owner of /Library/Frameworks.

-- Russell


/usr/bin/mkbom 
build/bdist.macosx-10.3-fat/mpkg/platlib/Library/Frameworks/Python.framew
ork/Versions/2.6/lib/python2.6/site-packages 
dist/numpy-1.3.0-py2.6-macosx10.5.mpkg/./Contents/Packages/numpy-platlib-
1.3.0-py2.6-macosx10.5.pkg/Contents/Archive.bom
sh: /usr/bin/nidump: No such file or directory
Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/bin/bdist_mpkg", line 
8, in <module>
    load_entry_point('bdist-mpkg==0.4.3', 'console_scripts', 
'bdist_mpkg')()
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-pac
kages/bdist_mpkg/script_bdist_mpkg.py", line 27, in main
    execfile(sys.argv[0], g, g)
  File "setup.py", line 172, in <module>
    setup_package()
  File "setup.py", line 165, in setup_package
    configuration=configuration )
  File 
"/Users/rowen/Archives€/PythonPackages/numpy-1.3.0/numpy/distutils/core.p
y", line 184, in setup
    return old_setup(**new_attr)
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutil
s/core.py", line 152, in setup
    dist.run_commands()
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutil
s/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutil
s/dist.py", line 995, in run_command
    cmd_obj.run()
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-pac
kages/bdist_mpkg/cmd_bdist_mpkg.py", line 443, in run
    self.make_scheme_package(scheme)
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-pac
kages/bdist_mpkg/cmd_bdist_mpkg.py", line 385, in make_scheme_package
    self.get_scheme_description(scheme),
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-pac
kages/bdist_mpkg/pkg.py", line 157, in make_package
    admin = tools.admin_writable(prefix)
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-pac
kages/bdist_mpkg/tools.py", line 106, in admin_writable
    gid = get_gid('admin')
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-pac
kages/bdist_mpkg/tools.py", line 90, in get_gid
    raise ValueError('group %s not found' % (name,))
ValueError: group admin not found



More information about the Numpy-discussion mailing list