Index: compat2and3.py ================================================================== --- compat2and3.py +++ compat2and3.py @@ -66,10 +66,11 @@ # find_executable() is only needed by channels/configwin try: from distutils.spawn import find_executable except: + import os def find_executable(bin): exists = [os.path.exists(dir+"/"+bin) for dir in os.environ.get("PATH").split(":")+["/"]] return exists[0] if len(exists) else None