R
R
Robert2020-08-15 03:15:04
Python
Robert, 2020-08-15 03:15:04

Python 3.7.5 does not find module, Kiwi framework. What is the problem?

Good day! Recently, I decided to learn the Kiwi library, I even had to downgrade python to 3.7.5.
I ran into a small problem and would be glad if you can help me. The problem lies in the kiwi library modules that python can't detect. From off. site kiwi, I updated and installed all the necessary elements to use kiwi. When you enter a small code that should display an empty window,

from kivy.app import App

class TutorialApp(App):
    def build(self):
        return 
TutorialApp().run()

gives the following error
Traceback (most recent call last):
  File "C:\Python\Все коды Python\kivy.py", line 1, in <module>
    from kivy.app import App
  File "C:\Python\Все коды Python\kivy.py", line 1, in <module>
    from kivy.app import App
ModuleNotFoundError: No module named 'kivy.app'; 'kivy' is not a package


I would really appreciate it if you could help me!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2020-08-15
@Roko_Rob

You cannot name a script the same as a module imported from it.

I
IDzone-x, 2020-08-16
@IDzone-x

Check in the lib package, the style packages folder (Or whatever), if it exists at all

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question