[ pyobjc-Bugs-3195876 ] pip install pyobjc fails

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.python.pyobjc.devel
Message-ID <[email protected]>
Bugs item #3195876, was opened at 2011-02-28 23:44
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=114534&aid=3195876&group_id=14534

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Leif Johnson ()
Assigned to: Nobody/Anonymous (nobody)
Summary: pip install pyobjc fails

Initial Comment:
I have installed a new version of Python (2.7) on my Mac using brew, and successfully installed a number of packages thereafter using pip. I am trying to get matplotlib up and running, and it needs PyObjC for the rendering backend. However, when I try "pip install pyobjc" it fails with a traceback when trying to install pyobjc-core :

Downloading/unpacking pyobjc-core==2.3 (from PyObjC)
  Running setup.py egg_info for package pyobjc-core
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/usr/local/var/pip/build/pyobjc-core/setup.py", line 452, in <module>
        **extra_args
      File "/usr/local/Cellar/python/2.7.1/lib/python2.7/distutils/core.py", line 152, in setup
        dist.run_commands()
      File "/usr/local/Cellar/python/2.7.1/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/local/Cellar/python/2.7.1/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/local/var/pip/build/pyobjc-core/setup.py", line 110, in run
        orig_egg_info.egg_info.run(self)
      File "<string>", line 7, in replacement_run
    AttributeError: class egg_info has no attribute 'iter_entry_points'

I've tried peeking at the setup.py file in pyobjc-core, and it seems to do some confusing things like importing a module and using it as a superclass (?). At any rate, frustrating. Any help on this would be much appreciated ! I'm happy to provide more info, too, if it helps pin down what's going on here.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=114534&aid=3195876&group_id=14534

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.