Answer the question
In order to leave comments, you need to log in
Why does Pycharm throw an error when I try to execute the code from kivy.app import App even though kivy is installed?
pycharm installed. As you can see from the screenshot, kivy is also installed.
With import kivy
no problems, but with commands like from kivy.app import App
or, it from kivy.uix.label import Label
gives errors of this kind.
Traceback (most recent call last):
File "C:/Users/Хачапури/PycharmProjects/untitled/test.py", line 1, in <module>
from kivy.app import App
File "C:\Program Files\python34\lib\site-packages\kivy\app.py", line 327, in <module>
from kivy.uix.widget import Widget
File "C:\Program Files\python34\lib\site-packages\kivy\uix\widget.py", line 219, in <module>
from kivy.graphics import (
File "C:\Program Files\python34\lib\site-packages\kivy\graphics\__init__.py", line 89, in <module>
from kivy.graphics.instructions import Callback, Canvas, CanvasBase, \
ImportError: DLL load failed: Не найден указанный модуль.
Answer the question
In order to leave comments, you need to log in
Pay attention to the "slashes"
"C:/Users/Khachapuri/PycharmProjects/untitled/test.py"
"C:\Program Files\python34\lib\site-packages\kivy\app.py"
Not sure if windows adequately perceives them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question