วันพฤหัสบดีที่ 19 พฤศจิกายน พ.ศ. 2563

Kivy on Big Sur , Mac OS X 11.0.1

 A few project i used Kivy(www.kivy.org).

When Mac OS X 11.0.1 Big Sur come. I need to recompile Kivy again. Here is my way.


Python3.7 from brew

Gstreamer-1.0-1.18.0-x86_64 (http://gstreamer.freedesktop.org/data/pkg/osx/1.18.0/gstreamer-1.0-1.18.0-x86_64.pkg)

Gstreamer-1.0-devel-1.18.0-x86_64 (http://gstreamer.freedesktop.org/data/pkg/osx/1.18.0/gstreamer-1.0-devel-1.18.0-x86_64.pkg)

SDL2-2.0.12 (https://www.libsdl.org/release/SDL2-2.0.12.dmg)

SDL2_image-2.0.5 (https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.5.dmg)

SDL2_mixer-2.0.4 (https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.dmg)

SDL2_ttf-2.0.15

# Install python3.7

$ brew install python@3.7


# Create new virtualenv

$ virtualenv -p /usr/local/opt/python@3.7/bin/python python3env


# Install SDL2 Gstreamer from here (https://kivy.org/doc/stable/installation/installation-devel.html#)


# then install kivy 1.11.1 from Kivy

# Updated 2.0.0 passed test.

$ pip install https://github.com/kivy/kivy/archive/stable.zip

Successfully installed Kivy-1.11.1 Kivy-Garden-0.1.4 certifi-2020.11.8 chardet-3.0.4 docutils-0.16 idna-2.10 pygments-2.7.2 requests-2.25.0 urllib3-1.26.2

Good Luck!

ไม่มีความคิดเห็น:

แสดงความคิดเห็น