G
G
Ganjubas_Original2016-06-15 19:48:45
Python
Ganjubas_Original, 2016-06-15 19:48:45

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. 644fa64b958f4339bb1984855b5bf04e.jpg
With import kivyno problems, but with commands like
from kivy.app import Appor, 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: Не найден указанный модуль.

Errors suggest that kiwi is not installed. But how so? What have I done wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor Nikolaev, 2016-06-16
@nightvich

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.

B
blazer05, 2016-06-15
@blazer05

Honestly, I have never installed it, try following this instruction
https://www.youtube.com/playlist?list=PLk3dllNv0g2...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question