Perhaps you have another module sys.py somewhere in your path. Try this from the interpreter: >>> import sys >>> sys <module 'sys' (built-in)> If this gives you a module name with a file path, you may want to try moving that file out of the way. Alex.