This is Python Issue 3137: http://bugs.python.org/issue3137
No activity in a year. You could poke around in http://svn.python.org/projects/python/trunk/Python/pythonrun.c. But be careful of an incomplete fix; this happens for other module imports also. e.g., I just got:
Traceback (most recent call last): File "/usr/lib/command-not-found", line 12, in <module> from optparse import OptionParser File "/usr/lib/python2.6/optparse.py", line 9, in <module> """ KeyboardInterrupt
This is Python Issue 3137: http:// bugs.python. org/issue3137
No activity in a year. You could poke around in http:// svn.python. org/projects/ python/ trunk/Python/ pythonrun. c. But be careful of an incomplete fix; this happens for other module imports also. e.g., I just got:
Traceback (most recent call last): command- not-found" , line 12, in <module> python2. 6/optparse. py", line 9, in <module>
File "/usr/lib/
from optparse import OptionParser
File "/usr/lib/
"""
KeyboardInterrupt