Samar Yadav Samar Yadav - 1 year ago 216
Python Question

Kivy, ImportError: cannot import name App

everything was working fine on my ubuntu machine and suddenly i can't import


from import App

enter image description here

Answer Source

enter image description here

One of Kivy's internal module is trying to import another internal module But you have create a next to where you run python, so Python will try to load yours first. This breaks everything because weakmethod doesn't expect that your, it wants the internal!. The solution is to rename this offending file.

(The actual problem causing ImportError is circular import on the module)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download