[Distutils] Distribute install problem on Snow Leopard

Tarek Ziadé ziade.tarek at gmail.com
Tue Oct 6 16:43:56 CEST 2009

On Tue, Oct 6, 2009 at 4:37 PM, Ralf Gommers
<ralf.gommers at googlemail.com> wrote:
> Hi,
> I installed Distribute on a Snow Leopard box using the default Python that
> comes with OS X. I used the installation method recommended in the docs, the
> distribute_setup.py script. Now easy_install fails no matter what package I
> try to install (it does not get around to looking for the name of the
> requested package):
> $ easy_install blablabla
> Traceback (most recent call last):
>   File "/usr/bin/easy_install-2.6", line 10, in <module>
>     load_entry_point('setuptools==0.6c9', 'console_scripts',
> 'easy_install')()
>   File
> "/Library/Python/2.6/site-packages/distribute-0.6.3-py2.6.egg/pkg_resources.py",
> line 281, in load_entry_point
>     return get_distribution(dist).load_entry_point(group, name)
>   File
> "/Library/Python/2.6/site-packages/distribute-0.6.3-py2.6.egg/pkg_resources.py",
> line 2197, in load_entry_point
>     raise ImportError("Entry point %r not found" % ((group,name),))
> ImportError: Entry point ('console_scripts', 'easy_install') not found
> Did I forget something, or is this a bug? Any suggestions on how to fix it?

This is a bug. It seems that the installation did not upgrade the
"easy_install-2.6" script located
in your "/usr/bin". We are going to investigate.

The simplest way to fix this is to change in that script the name of
the distribution:

> load_entry_point('setuptools==0.6c9', 'console_scripts', 'easy_install')()


> load_entry_point('distribute==0.6.3', 'console_scripts', 'easy_install')()

Let us know how it goes


Tarek Ziadé | http://ziade.org | オープンソースはすごい! | 开源传万世,因有你参与

More information about the Distutils-SIG mailing list