I can't start the Kiwi

Downloaded python, then -m pip install kivy and cython. pygame not found for the x64 build.
I run the example from the tutorial... and the result is shown in the screenshot. What is the problem? How to launch this kiwi? Just python files work with a bang.

Screenshot

Author: VenZell, 2016-01-28

4 answers

  1. Judging by the error at the end of the output (ImportError), python cannot find the specified libraries. Make sure that all the components of kivy are installed CORRECT. At the same time, make sure that everything related to python has the same bit depth.

  2. Do you happen to use the Cyrillic alphabet in the example (UnicodeDecodeError)? From the screenshot, the entire source code is not visible.

  3. UPD:

And in the beginning, it's all the same it gives an error. How can this be fixed?

From what you've described (UnicodeDecodeError), you may have a problem with the default encoding. Try adding a change to the default encoding at the beginning of the code:

    import sys
    reload(sys)
    sys.setdefaultencoding('utf8')
 1
Author: approximatenumber, 2016-02-02 13:12:26

After completing this step:

. Install the dependencies (skip gstreamer (~90MB) if not needed, see Kivy’s dependencies):

Python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew \ kivy.deps.gstreamer --extra-index-url https://kivy.org/downloads/packages/simple/

Only this error remains

New changes

 0
Author: Ivan Pirognoe, 2016-01-29 08:51:46

Question - will there always be so many items loaded in the command line?

From kivy.config import Config

Config.set('kivy', 'log_level', 'error')

Only errors will be displayed on the command line.

 0
Author: Xyanight, 2016-02-01 21:32:39
import kivy
kivy.require('1.0.6') # replace with your current kivy version !

from kivy.app import App
from kivy.uix.button import Button

class MyApp(App):
    def build(self):
        return Button(text='Hello World')

if __name__ == '__main__':
    MyApp().run()

The code above worked and the window started. Question - will there always be so many items loaded in the command line? And in the beginning it still gives an error. How can this be fixed? Result

 -1
Author: Ivan Pirognoe, 2016-02-01 14:00:01