ImportError: Cannot import name X

前端 未结 16 1203
隐瞒了意图╮
隐瞒了意图╮ 2020-11-22 04:33

I have four different files named: main, vector, entity and physics. I will not post all the code, just the imports, because I think that\'s where the error is. (If you want

16条回答
  •  感情败类
    2020-11-22 05:02

    In my case, simply missed filename:

    from A.B.C import func_a (x)

    from A.B.C.D import func_a (O)

    where D is file.

提交回复
热议问题