Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you verify/check kivy version?

Tags:

kivy

This doesn't work:

$ kivy --version
Python 2.7.6

I've got Kivy.app installed, and it doesn't provide any version info either.

like image 531
7stud Avatar asked Dec 20 '15 23:12

7stud


3 Answers

Here's the logger output that shows the kivy version:

$ kivy my_kivy_prog.py 

[INFO   ] [Logger      ] Record log in /Applications/Kivy.app/Contents/Resources/.kivy/logs/kivy_15-12-20_0.txt
[INFO   ] [Kivy        ] v1.9.0
[INFO   ] [Python      ] v2.7.6 (default, Sep  9 2014, 15:04:36) 
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)]
[INFO   ] [Factory     ] 173 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_imageio, img_dds, img_gif, img_sdl2 (img_pil, img_ffpyplayer ignored)
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [OSC         ] using <multiprocessing> for socket
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] OpenGL version <2.1 INTEL-10.4.47>
[INFO   ] [GL          ] OpenGL vendor <Intel>
[INFO   ] [GL          ] OpenGL renderer <Intel(R) Iris(TM) Graphics 6100>
[INFO   ] [GL          ] OpenGL parsed version: 2, 1
[INFO   ] [GL          ] Shading version <1.20>
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <16>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [Base        ] Start application main loop

You can see both the kivy version and the python version in there.

like image 74
7stud Avatar answered Oct 01 '22 09:10

7stud


The version is printed in kivy's default logger output, or you can get it in python with import kivy; print(kivy.__version__).

like image 39
inclement Avatar answered Oct 01 '22 08:10

inclement


I know it is late, but you can do $ kivy and import kivy. Then you can see the version [INFO ][Kivy]v1.9.1-dev0 in the output.

like image 23
pseudo Avatar answered Oct 01 '22 08:10

pseudo