On Mar 5, 1:29 pm, steve.ferg.bitbuc...@gmail.com wrote: > Has anybody encountered problems running pydoc with version 2.6.1? > I'm getting an error message that pydoc cannot import namedtuple > (details below). > (I'm running under 64-bit Windows Vista, although that probably is not > important.) > > Here's my batch file, pydoc_test.bat: > ========================================================= > �...@echo on > set pyver=python25 > python c:\%pyver%\Lib\pydoc.py -w easygui > > set pyver=python26 > python c:\%pyver%\Lib\pydoc.py -w easygui > ========================================================= > > Here's what I get: > ========================================================= > c:\pydev\easygui\v086>pydoc_test.bat > > c:\pydev\easygui\v086>set pyver=python25 > > c:\pydev\easygui\v086>python c:\python25\Lib\pydoc.py -w easygui > wrote easygui.html > > c:\pydev\easygui\v086>set pyver=python26 > > c:\pydev\easygui\v086>python c:\python26\Lib\pydoc.py -w easygui > Traceback (most recent call last): > File "c:\python26\Lib\pydoc.py", line 55, in <module> > import sys, imp, os, re, types, inspect, __builtin__, pkgutil > File "c:\python26\Lib\inspect.py", line 42, in <module> > from collections import namedtuple > ImportError: cannot import name namedtuple > ======================================================== > > -- Steve Ferg
the same for Python trunk (develompment version), on Ubuntu 8.04 I'm filing a bug report... -- http://mail.python.org/mailman/listinfo/python-list