Recently, I switched to python 3.11 & I'm unable to install kivy & kivymd

Question:

Here, is the error image.
Recently, I switched to python 3.11 & I’m unable to install kivy & kivymd.
Luckily, I’ve big brain & I switched back to python 3.10 & install kivy & its works like a charm.

How can I install kivy with python 3.11 ???

Asked By: Ali Hassan

||

Answers:

Kivy 2.1.0 officially supports Python versions 3.7 – 3.10.

Source: https://kivy.org/doc/stable/gettingstarted/installation.html

Answered By: MST

If you are willing to install the not-yet-stable nightly version of Kivy, these work for Python 3.11:

python -m pip install kivy --pre --no-deps --index-url  https://kivy.org/downloads/simple/
python -m pip install "kivy[base]" --pre --extra-index-url https://kivy.org/downloads/simple/

Make sure to update often.

Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.