This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ktenney
Recipients ktenney
Date 2008-08-20.14:00:32
SpamBayes Score 0.0360992
Marked as misclassified No
Message-id <>
from foo import bar
ImportError: cannot import name bar

The error may be due to the wrong 'foo' being found, some investigation
is required.

If the the ImportError message included the filename for 'foo', the
problem would be obvious.
ImportError cannot import name bar from  /usr/lib/<snip>/foo.pyc

A c.l.p. thread on this is at

a patch from Wojtek Walczak is here and attached

a thread about it on python-dev is here

including a comment on the patch
Date User Action Args
2008-08-20 14:00:35ktenneysetrecipients: + ktenney
2008-08-20 14:00:34ktenneysetmessageid: <>
2008-08-20 14:00:33ktenneylinkissue3619 messages
2008-08-20 14:00:33ktenneycreate