See
this from ActiveState, it might give you some clues.
Please note that code loading is relatively complex on Windows compared to UNIX. The PATH environment variable is the last thing looked at. The exact list of places varies depending on how the module is loaded, but generally it looks in the same directory as the caller was loaded from first, then in various other places before %PATH%.