python/itertools module not in repository?

Holger Freyther zecke at
Sun Aug 3 16:48:35 CEST 2008

On Sunday 03 August 2008 16:13:52 Tomasz Melcer wrote:
> Hello,
> I've just installed "python" package and tried to do some development, but
> I noticed there is no "itertools" module:
> root at om-gta02:~# python -c 'import itertools'
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: No module named itertools
> I also checked "python-misc". Other packages seem to be unrelated to
> itertools too. 'itertools' module is normally found in the standard python
> library, and it is pretty important to my code. Where to get this module? I
> am using official and scaredycats repositories.

On my ASU image

root at om-gta02:~# python
Python 2.5.2 (r252:60911, May 28 2008, 18:47:54) 
[GCC 4.1.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import itertools
>>> dir(itertools)
['__doc__', '__file__', '__name__', 'chain', 'count', 'cycle', 'dropwhile', 'groupby', 'ifilter', 'ifilterfalse', 'imap', 'islice', 'izip', 'repeat', 'starmap', 'takewhile', 'tee']

opkg search /usr/lib/python2.5/lib-dynload/ 
python-lang - 2.5.2-ml0 - /usr/lib/python2.5/lib-dynload/


More information about the devel mailing list