kivy: Latest kivy does not install on Python 3.12 for Windows

Software Versions

  • Python: Python 3.12.0 (tags/v3.12.0:0fb18b0, Oct 2 2023, 13:03:39) [MSC v.1935 64 bit (AMD64)] on win32
  • OS: Windows 10
  • Kivy: 2.2.1
  • Kivy installation method: python -m pip install “kivy[base]” kivy_examples

Describe the bug Fails on ERROR: Could not find a version that satisfies the requirement kivy_deps.gstreamer_dev~=0.3.3 (from versions: none) ERROR: No matching distribution found for kivy_deps.gstreamer_dev~=0.3.3

Expected behavior Kivy should be installed on Python 3.12

To Reproduce .\python.exe -m pip install “kivy[base]” kivy_examples

Code and Logs and screenshots

C:\Program Files\Python312>.\python.exe -m pip install "kivy[base]" kivy_examples
Defaulting to user installation because normal site-packages is not writeable
Collecting kivy[base]
  Using cached Kivy-2.2.1.tar.gz (24.0 MB)
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [13 lines of output]
      Collecting setuptools
        Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata
        Using cached setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB)
      Collecting wheel
        Obtaining dependency information for wheel from https://files.pythonhosted.org/packages/b8/8b/31273bf66016be6ad22bb7345c37ff350276cfd46e389a0c2ac5da9d9073/wheel-0.41.2-py3-none-any.whl.metadata
        Using cached wheel-0.41.2-py3-none-any.whl.metadata (2.2 kB)
      Collecting packaging
        Obtaining dependency information for packaging from https://files.pythonhosted.org/packages/ec/1a/610693ac4ee14fcdf2d9bf3c493370e4f2ef7ae2e19217d7a237ff42367d/packaging-23.2-py3-none-any.whl.metadata
        Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
      Collecting cython!=0.27,!=0.27.2,<=0.29.33,>=0.24
        Using cached Cython-0.29.33-py2.py3-none-any.whl (987 kB)
      ERROR: Could not find a version that satisfies the requirement kivy_deps.gstreamer_dev~=0.3.3 (from versions: none)
      ERROR: No matching distribution found for kivy_deps.gstreamer_dev~=0.3.3
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Comments: 21 (9 by maintainers)

Most upvoted comments

Python 3.12 is not supported yet. We will have an ETA in a couple of days.

Meanwhile, please use Python 3.11 😀❤️

FWIW: Using the install directions and using pip worked for me. https://kivy.org/doc/stable/gettingstarted/installation.html#install-pip

any clues? running the exact instructions as the first post above, and following the instruction set on how to install Kivy

If things go well, we are expecting to see a release candidate this month, and a final release shortly afterwards. However, things don’t always go well.

In the meantime, please stick to Python 3.11.