Last active
August 1, 2020 15:52
-
-
Save OHua/899721c2189a440a4259f2fa08f9d8d7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**Ubuntu | |
sudo apt update && sudo apt upgrade | |
sudo apt install ibus-chewing | |
**Python | |
sudo apt-get install python3-pip | |
pip3 install virtualenv | |
python3 -m virtualenv --no-site-packages -p python3 kivyinstall | |
source kivyinstall/bin/activate | |
(option) python -V # have a nice day! | |
(option) pip -V # have a nice day! | |
**Kivy for game develop | |
# Install necessary system packages | |
sudo apt-get update | |
sudo apt-get install -y \ | |
build-essential \ | |
git \ | |
ffmpeg \ | |
libsdl2-dev \ | |
libsdl2-image-dev \ | |
libsdl2-mixer-dev \ | |
libsdl2-ttf-dev \ | |
libportmidi-dev \ | |
libswscale-dev \ | |
libavformat-dev \ | |
libavcodec-dev \ | |
zlib1g-dev | |
pip install Cython | |
pip install kivy | |
(option) python -c "import pkg_resources; print(pkg_resources.resource_filename('kivy', '../share/kivy-examples'))" | |
(option) find . -name kivy-examples | |
(option) cd kivyinstall/share/demo/touchtracer | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment