Greg, The place to look for the search algorithm is in Modules/getpath.c. There's an extensive comment at the top of the file outlining the algorithm. In fact $PREFIX and $EXEC_PREFIX are used, but only as fallbacks. -Barry