简体   繁体   中英

Python KIVY : CANNOT IMPORT NAME 'App' FROM 'Kivy.app'

Python kivy:无法从“kivy.app”导入名称“App”

I'm new at kivy, and I follow all the instructions on the kivy documentation but still it shows me errors like this. I also watch and google a solution for this but it always throw me errors, do you have any solution for this? Thank you in advance.

replace python.exe with pythonw.exe in your interpreter, this worked for me

First "import kivy", followed by "from kivy.app import App" You can check the link:

https://kivy.org/doc/stable/api-kivy.app.html#creating-an-application

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM