ImportError: Cannot import name X

前端 未结 16 1386
隐瞒了意图╮
隐瞒了意图╮ 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 04:53

    Don't see this one here yet - this is incredibly stupid, but make sure you're importing the correct variable/function.

    I was getting this error

    ImportError: cannot import name IMPLICIT_WAIT

    because my variable was actually IMPLICIT_TIMEOUT.

    when I changed my import to use the correct name, I no longer got the error

提交回复
热议问题