Closed funkybob closed 11 years ago
I believe this is caused by Ubuntu's.... creative packaging of Python. idlelib is one of the support libraries for (surprise surprise) IDLE, which is part of the standard library, but apparently isn't part of the default python package under Ubuntul
It's certainly worth a note in the docs, and possibly even a try-catch block around the import that raises a more helpful warning about the problem.
Ticket #3 is a duplicate, and it came with a patch for the docs.
I'm going to assume Ubuntu inherited the "creative packaging" from Debian... certainly, their solution appears to work.
$ pip install cricket Downloading/unpacking cricket Downloading cricket-0.1.0.tar.gz Running setup.py egg_info for package cricket
Installing collected packages: cricket Running setup.py install for cricket
Successfully installed cricket Cleaning up...
$ python -m cricket.django Traceback (most recent call last): ... File ".../lib/python2.7/site-packages/cricket/widgets.py", line 1, in
from idlelib.WidgetRedirector import WidgetRedirector
ImportError: No module named idlelib.WidgetRedirector