LoginSignup
1
2

More than 3 years have passed since last update.

Raspberry PiにPython3のKivyをインストールする

Posted at

Python2で動かしていたが、漢字でUnicodeWarningが出てしまうので3系に移行した。
インストール手順。

sudo apt update && \
sudo apt install -y libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev \
   pkg-config libgl1-mesa-dev libgles2-mesa-dev \
   python-setuptools libgstreamer1.0-dev git-core \
   gstreamer1.0-plugins-{bad,base,good,ugly} \
   gstreamer1.0-{omx,alsa} python-dev libmtdev-dev \
   xclip xsel libjpeg-dev && \
python3 -m pip install --upgrade --user pip setuptools && \
python3 -m pip install --upgrade --user Cython==0.29.9 pillow && \
python3 -m pip install --user https://codeload.github.com/kivy/kivy/zip/1.11.1

参考
https://teratail.com/questions/200843

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2