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 -- http://mail.python.org/mailman/listinfo/python-list
no ptyhon curses module on solaris?
I just installed active python, and I get this error: % python ActivePython 2.4.3 Build 11 (ActiveState Software Inc.) based on Python 2.4.3 (#1, Apr 3 2006, 18:34:02) [C] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> import curses Traceback (most recent call last): File "", line 1, in ? File "/usr/local/lib/python2.4/curses/__init__.py", line 15, in ? from _curses import * ImportError: No module named _curses Any ideas why? I have libncurses 5.2 on my machine. Thanks -- http://mail.python.org/mailman/listinfo/python-list
Re: no ptyhon curses module on solaris?
Shea Martin wrote: > I just installed active python, and I get this error: > > % python > ActivePython 2.4.3 Build 11 (ActiveState Software Inc.) based on > Python 2.4.3 (#1, Apr 3 2006, 18:34:02) [C] on sunos5 > Type "help", "copyright", "credits" or "license" for more information. > >>> import curses > Traceback (most recent call last): > File "", line 1, in ? > File "/usr/local/lib/python2.4/curses/__init__.py", line 15, in ? > from _curses import * > ImportError: No module named _curses > > Any ideas why? I have libncurses 5.2 on my machine. > > Thanks For some reason the package was not linked against ncurses in the Solaris version. I ended up just building Python from source. ~S -- http://mail.python.org/mailman/listinfo/python-list