PIL stands for Python Imaging Library. It is fairly useful when it comes to handling images under python. However, it comes with a pet peeve to me: the show() method of a Image object will execute sh xv <imagefile>
I don’t have xv installed on my system, neither do I want to since it’s shareware.
Now I really don’t know why I haven’t came out with this idea before: simply create a symbolic link /usr/local/bin/xv and link it to the display utility that comes with the common image handling package imagemagick then everything will work just fine.