[Distutils] easy_install not working

Tarek Ziadé ziade.tarek at gmail.com
Fri Nov 25 11:25:39 CET 2011

On Fri, Nov 25, 2011 at 11:04 AM, Andrea Crotti
<andrea.crotti.0 at gmail.com> wrote:
> Mm no it doesn't let me do it, returning the same error...
> I might have messed something maybe then, not sure what exactly.
> Can the easy_install.pth influence this?

I don't know, maybe it's related to the per-user environment but I am not sure.

What you can do to make sure you have a clean central install (after a
backup of site-packages) is:

1/ remove any occurences of those in site-packages (egg dirs, code dirs)

- setuptools*
- distribute*
- pkg_resources*

2/ open easy_install.pth and remove any line starting with setutptools
or distribute

3/ do a fresh install of Distribute (since that's the one you initially had)

$ wget http://python-distribute.org/distribute_setup.py
$ sudo python distribute_setup.py

If you still have the issue, try to backup your user's local python
dir, remove it and try again with the --user option


Tarek Ziadé | http://ziade.org

More information about the Distutils-SIG mailing list