[Pythonmac-SIG] LXML with py2app

Kenneth Miller xkenneth at gmail.com
Fri Aug 8 16:06:31 CEST 2008


Alright,

    So i get macpython, and after this is the problem I run into..

Installed /Users/xkenneth/work/mwdconfig/tkpyro/altgraph-0.6.7-py2.5.egg
Traceback (most recent call last):
  File "setup.py", line 17, in <module>
    setup_requires = modules,
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/distutils/core.py", line 112, in setup
    _setup_distribution = dist = klass(attrs)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/ 
dist.py", line 223, in __init__
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/distutils/dist.py", line 267, in __init__
    self.finalize_options()
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/setuptools-0.6c8-py2.5.egg/setuptools/ 
dist.py", line 256, in finalize_options
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.py",  
line 1912, in load
  File "/Users/xkenneth/work/mwdconfig/tkpyro/py2app-0.3.6-py2.5.egg/ 
py2app/build_app.py", line 27, in <module>
    import macholib.MachOStandalone
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachOStandalone.py",  
line 8, in <module>
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachOGraph.py", line  
17, in <module>
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 15,  
in <module>
  File "build/bdist.macosx-10.3-i386/egg/macholib/util.py", line 56,  
in <module>
TypeError: Error when calling the metaclass bases
    cannot create 'builtin_function_or_method' instances


Any ideas?

Regards,
Ken

On Aug 7, 2008, at 5:18 PM, Christopher Barker wrote:

> Kenneth Miller wrote:
>>    How can I build python to link to the OS X Tkinter libraries?  
>> That's the ONLY reason I'm using the system python. I usually use  
>> the python built by macports.
>
> I'm pretty sure the build you get from python.org works fine with  
> Tkinter -- it is well integerated with OS-X, rather than separate  
> and "unixy" like macports and fink.
>
> -Chris
>
>
>



More information about the Pythonmac-SIG mailing list