can't import generators

Aahz aahz at pythoncraft.com
Sat Jun 29 21:36:21 EDT 2002


In article <m2d6u9by8e.fsf at mother.paradise.lost>,
John Hunter  <jdhunter at nitace.bsd.uchicago.edu> wrote:
>
>> /usr/local/bin/python2.2 -V
>Python 2.2.1
>
>> /usr/local/bin/python2.2 /usr/local/lib/python2.2/test/test_generators.py
>Traceback (most recent call last):
>  File "/usr/local/lib/python2.2/test/test_generators.py", line 1, in ?
>    from __future__ import generators
>ImportError: cannot import name generators

Try re-downloading 2.2.1 and building in a completely new directory.
It's looking to me like you have cross-version contamination, and that's
probably the best way to test it.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Project Vote Smart: http://www.vote-smart.org/



More information about the Python-list mailing list