"UserWarning: Unbuilt Egg for setuptools" - what does this mean?

When I install things in virtualenv using pip, I often see the message "UserWarning: Unbuilt egg for setuptools". I always boldly ignore him and go about my business, and this does not seem to cause me any problems.

But I was suddenly embarrassed by curiosity and wondered if anyone could explain what that meant.

Also, does the new virtualenv option add to use the distribution in all of this somewhere? Should I use this instead or just ignore it before distutils2 exits? (apologies if this is completely unrelated - maybe this should be a new question?)

Thanks!

+6
python pip setuptools distribute
source share
1 answer

The answer and workaround to this error report Ubuntu fixed this problem for me, where I read the same error when using interactive trac-admin .

Marius Gedminas said:

Workaround:

sudo rmdir / usr / lib / python2.6 / dist-packages / setuptools.egg-info

sudo apt-get install --reinstall python-setuptools

This replaces the empty / usr / lib / python 2.6 / dist-packages / setuptools.egg-info directory with a symlink to /usr/share/pyshared/setuptools.egg-info, which is a file, not a directory.

+14
source share

All Articles