Kivy is an open source cross platform Python library for rapid application development. Kivy generated applications run on Linux, Windows, OSX, Android, iOS and Raspberry Pi.
To install Kivy on MX Linux 19 (and other Debian derivatives), do install Python packages Pip and Venv, like:
$: sudo apt -y install python3-pip $: sudo apt -y install python3-venv
Create virtual environment, install Python library dependencies and then install Kivy, like:
$: python3 -m venv ~/kivy_venv $: source ~/kivy_venv/bin/activate $: pip3 install --upgrade --user pip $: pip3 install wheel $: pip3 install -U --force-reinstall Cython==0.29.9 $: mkdir ~/tmp $: cd ~/tmp $: wget https://files.pythonhosted.org/packages/aa/20/8d5553d7bb57dfae0ac9c1a68532f8cbdb017baee154f649b90ee012317b/Kivy-1.11.1-cp37-cp37m-manylinux2010_x86_64.whl #below is very important, otherwise pip3 install *whl will not work $: mv Kivy-1.11.1-cp37-cp37m-manylinux2010_x86_64.whl Kivy-1.11.1-cp37-cp37m-linux_x86_64.whl $: pip3 install Kivy-1.11.1-cp37-cp37m-linux_x86_64.whl
This installation method should be faster vs this one.
No comments:
Post a Comment