missing collections module

skip at pobox.com skip at pobox.com
Mon Nov 6 12:37:39 EST 2006


    Shea> I am getting this error in a python script:
    Shea>    File "/usr/sfw/lib/python2.3/site-packages/BTL/cache.py", line 12, in ?
    Shea>      from collections import deque
    Shea> ImportError: No module named collections

    Shea> Where can I download the python collection module?

You're probably using a package which is not supported under Python 2.3.
The collections module is new with 2.4.  Try upgrading to 2.4 or 2.5.

Skip



More information about the Python-list mailing list