missing collections module

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Shea Martin

    #1

    missing collections module

    I am getting this error in a python script:

    File "/usr/sfw/lib/python2.3/site-packages/BTL/cache.py", line 12, in ?
    from collections import deque
    ImportError: No module named collections

    Where can I download the python collection module? I am no python
    programmer, but I can build/install python packages if I know where to
    get them.

    Thanks,

    ~S
  • skip@pobox.com

    #2
    Re: missing collections module


    SheaI 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
    SheaImportError : No module named collections

    SheaWhere 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

    Comment

    Working...