Sunday, January 19, 2020

Installing Kivy 1.11.1 on MX Linux 19 - faster method

MX Linux 19 is the most downloaded distribution as per DistroWatch as of Jan 19, 2020. Since MX Linux is based of Debian, this quick how to should apply to Debian/Ubuntu derivatives as well.

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:

Fedora install screen chronicle

Fedora install screen chronicle Below are links to Fedora installation screens. It is interesting to see how it has evolved over time. Fe...