a blog by Marius Gedminas

Posts tagged Python

Easy easy_install on Ubuntu Gutsy

I want to be able to install small and simple Python packages from Cheeseshop by typing 'easy_install packagename'. This does not work out of the box on Ubuntu Gutsy (even after installing python-setuptools): easy_install tries to install stuff into /usr, which (a) requires root permissions and (b) is just Not Done on Linux, where /usr belongs to the distribution's package manager1. 1 /usr/local is for extra stuff. I consider it a bug in setuptools that it prefers /usr over /usr/local.