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.

classification
Title: Understanding "cannot import name" exception
Type: behavior Stage: resolved
Components: Interpreter Core Versions: Python 3.6
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: ArthurGoldberg, eryksun
Priority: normal Keywords:

Created on 2019-05-05 23:35 by ArthurGoldberg, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg341478 - (view) Author: Arthur Goldberg (ArthurGoldberg) Date: 2019-05-05 23:35
I'm attempting to better understand an
    ImportError: cannot import name '<Class>'
error by reading the cpython source. But I cannot find this error in the source. The closest I find is in cpython/Python/ceval.c, lines 5060 & 5068, but they both say:
    cannot import name %R from %R (*)
and my message doesn't include the 'from ...'.

I'm using:
Python 3.6.5 (default, Sep 14 2018, 14:56:31) 
[GCC 7.3.0] on linux

Thanks, Arthur
msg341479 - (view) Author: Eryk Sun (eryksun) * (Python triager) Date: 2019-05-06 00:57
The issue tracker is not the right forum for questions about Python development or CPython internals. You can ask for help on the python-list mailing list.
History
Date User Action Args
2022-04-11 14:59:14adminsetgithub: 80989
2019-05-06 00:57:04eryksunsetstatus: open -> closed

nosy: + eryksun
messages: + msg341479

resolution: not a bug
stage: resolved
2019-05-05 23:35:09ArthurGoldbergcreate