Comment 16 for bug 362570

Revision history for this message
Robert Bruce Park (robru) wrote :

I am experiencing exactly what is described in comment #10 on Precise. `setup.py install` is putting things into site-packages directory, and then when I try to run the program it raises ImportError because sys.path does not contain any variation of 'site-packages' whatsoever.

The workaround I've created is ugly beyond belief: https://github.com/robru/gottengeography/commit/54f52fa0a3f97e22fb61e70bc0b5ec77c1a19015

The code all worked fine on Fedora without the above patch, so something is pretty broken with Ubuntu's distutils that it's installing packages to places where python can't even find them.