kivy_installation
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
kivy_installation [2018/03/22 07:05] – créée serge | kivy_installation [2019/12/29 12:49] – [jnius] serge | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====Kivy: Installation==== | + | ======Kivy: Installation====== |
+ | <WRAP center round box 60% centeralign> | ||
+ | **{{tagpage> | ||
+ | </ | ||
===== Installation sur Debian Stretch 9.2 avec python 3.5 ===== | ===== Installation sur Debian Stretch 9.2 avec python 3.5 ===== | ||
- | [[Debian_Installation_Configuration# | + | ====Version 1.10.1==== |
+ | < | ||
+ | sudo apt-get install libsdl2-dev python3-setuptools python3-pip git | ||
+ | sudo pip3 install cython | ||
+ | sudo pip3 install kivy pygame | ||
+ | </ | ||
- | '' | + | La version de cython installée est 0.29.1 |
- | '' | + | Pour imposer une version: |
+ | sudo pip3 install | ||
+ | Mais quelle version est nécessaire ? | ||
- | Successfully installed Kivy-Garden-0.1.4 docutils-0.14 kivy-1.10.0 pygments-2.2.0 | + | {{tag> |
- | + | ||
- | ===== jnius ===== | + | |
- | + | ||
- | Ce module permet d' | + | |
- | + | ||
- | '' | + | |
- | '' | + | |
- | + | ||
- | Si python ne trouve pas java, | + | |
- | + | ||
- | <code python> | + | |
- | # Bidouille pour que python trouve java sur mon PC | + | |
- | import sys | + | |
- | platform = sys.platform | + | |
- | print(" | + | |
- | if ' | + | |
- | os.environ[" | + | |
- | from jnius import autoclass | + | |
- | </ | + | |
- | {{tag> | + |