Issue 36808: Understanding "cannot import name" exception
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) * ![]() |
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:14 | admin | set | github: 80989 |
| 2019-05-06 00:57:04 | eryksun | set | status: open -> closed nosy:
+ eryksun resolution: not a bug |
| 2019-05-05 23:35:09 | ArthurGoldberg | create | |
