[GH-ISSUE #4] Issues installing Kivy #5

Closed
opened 2026-03-13 15:15:48 +03:00 by kerem · 2 comments
Owner

Originally created by @AlexanderRitter02 on GitHub (Jul 11, 2024).
Original GitHub issue: https://github.com/absadiki/whatsapp-msgstore-viewer/issues/4

Heyo,
hope I'm not missing something.

During the pip install -r requirements.txt step, I get the following error during package installation:

ERROR: Could not find a version that satisfies the requirement kivy_deps.sdl2_dev~=0.6.0 (from versions: 0.7.0)
ERROR: No matching distribution found for kivy_deps.sdl2_dev~=0.6.0

Python is 3.12, I'm installing it inside a venv.

I found issue https://github.com/kivy/kivy/issues/8391 on the Kivy repo, but according to the comments there it was fixed when Python 3.12 support was added.
I'm thinking that I would possibly need to update some versions in requirements.txt, but I don't want to start messing around without knowing anything about the fixed versions, fearing API breakage and I am confused by the .zip file dependency as well.

Would you be able to take some time to clear things up for me? I would appreciate that very much. :)

Full log:

Click here for full installation log
Collecting kivymd@ https://github.com/kivymd/KivyMD/archive/a85adc5ee4ee2178b7d353a260f2cbcefce885c7.zip (from -r requirements.txt (line 3))
  Using cached https://github.com/kivymd/KivyMD/archive/a85adc5ee4ee2178b7d353a260f2cbcefce885c7.zip
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting watchdog (from -r requirements.txt (line 1))
  Obtaining dependency information for watchdog from https://files.pythonhosted.org/packages/85/e0/2a9f43008902427b5f074c497705d6ef8f815c85d4bc25fbf83f720a6159/watchdog-4.0.1-py3-none-win_amd64.whl.metadata
  Using cached watchdog-4.0.1-py3-none-win_amd64.whl.metadata (37 kB)
Collecting Kivy~=2.2.0 (from -r requirements.txt (line 2))
  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
  ╰─> [20 lines of output]
      Collecting setuptools
        Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/ef/15/88e46eb9387e905704b69849618e699dc2f54407d8953cc4ec4b8b46528d/setuptools-70.3.0-py3-none-any.whl.metadata
        Using cached setuptools-70.3.0-py3-none-any.whl.metadata (5.8 kB)
      Collecting wheel
        Obtaining dependency information for wheel from https://files.pythonhosted.org/packages/7d/cd/d7460c9a869b16c3dd4e1e403cce337df165368c71d6af229a74699622ce/wheel-0.43.0-py3-none-any.whl.metadata
        Using cached wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB)
      Collecting packaging
        Obtaining dependency information for packaging from https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl.metadata
        Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
      Collecting cython!=0.27,!=0.27.2,<=0.29.33,>=0.24
        Obtaining dependency information for cython!=0.27,!=0.27.2,<=0.29.33,>=0.24 from https://files.pythonhosted.org/packages/56/3a/e59db3769dee48409c759a88b62cd605324e05d396e10af0a065adc956ad/Cython-0.29.33-py2.py3-none-any.whl.metadata
        Using cached Cython-0.29.33-py2.py3-none-any.whl.metadata (3.1 kB)
      Collecting kivy_deps.gstreamer_dev~=0.3.3
        Obtaining dependency information for kivy_deps.gstreamer_dev~=0.3.3 from https://files.pythonhosted.org/packages/be/e3/6e4d32636a39bf25a83fa956373805b494d95c77a57cf021971da000d3e8/kivy_deps.gstreamer_dev-0.3.3-cp312-cp312-win_amd64.whl.metadata
        Using cached kivy_deps.gstreamer_dev-0.3.3-cp312-cp312-win_amd64.whl.metadata (215 bytes)
      ERROR: Could not find a version that satisfies the requirement kivy_deps.sdl2_dev~=0.6.0 (from versions: 0.7.0)
      ERROR: No matching distribution found for kivy_deps.sdl2_dev~=0.6.0

      [notice] A new release of pip is available: 23.2.1 -> 24.1.2
      [notice] To update, run: python.exe -m pip install --upgrade pip
      [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.
Originally created by @AlexanderRitter02 on GitHub (Jul 11, 2024). Original GitHub issue: https://github.com/absadiki/whatsapp-msgstore-viewer/issues/4 Heyo, hope I'm not missing something. During the `pip install -r requirements.txt` step, I get the following error during package installation: ``` ERROR: Could not find a version that satisfies the requirement kivy_deps.sdl2_dev~=0.6.0 (from versions: 0.7.0) ERROR: No matching distribution found for kivy_deps.sdl2_dev~=0.6.0 ``` Python is 3.12, I'm installing it inside a venv. I found issue https://github.com/kivy/kivy/issues/8391 on the Kivy repo, but according to the comments there it was fixed when Python 3.12 support was added. I'm thinking that I would possibly need to update some versions in requirements.txt, but I don't want to start messing around without knowing anything about the fixed versions, fearing API breakage and I am confused by the `.zip` file dependency as well. **Would you be able to take some time to clear things up for me? I would appreciate that very much. :)** ### Full log: <details> <summary>Click here for full installation log</summary> ```bash Collecting kivymd@ https://github.com/kivymd/KivyMD/archive/a85adc5ee4ee2178b7d353a260f2cbcefce885c7.zip (from -r requirements.txt (line 3)) Using cached https://github.com/kivymd/KivyMD/archive/a85adc5ee4ee2178b7d353a260f2cbcefce885c7.zip Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting watchdog (from -r requirements.txt (line 1)) Obtaining dependency information for watchdog from https://files.pythonhosted.org/packages/85/e0/2a9f43008902427b5f074c497705d6ef8f815c85d4bc25fbf83f720a6159/watchdog-4.0.1-py3-none-win_amd64.whl.metadata Using cached watchdog-4.0.1-py3-none-win_amd64.whl.metadata (37 kB) Collecting Kivy~=2.2.0 (from -r requirements.txt (line 2)) 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 ╰─> [20 lines of output] Collecting setuptools Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/ef/15/88e46eb9387e905704b69849618e699dc2f54407d8953cc4ec4b8b46528d/setuptools-70.3.0-py3-none-any.whl.metadata Using cached setuptools-70.3.0-py3-none-any.whl.metadata (5.8 kB) Collecting wheel Obtaining dependency information for wheel from https://files.pythonhosted.org/packages/7d/cd/d7460c9a869b16c3dd4e1e403cce337df165368c71d6af229a74699622ce/wheel-0.43.0-py3-none-any.whl.metadata Using cached wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB) Collecting packaging Obtaining dependency information for packaging from https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl.metadata Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB) Collecting cython!=0.27,!=0.27.2,<=0.29.33,>=0.24 Obtaining dependency information for cython!=0.27,!=0.27.2,<=0.29.33,>=0.24 from https://files.pythonhosted.org/packages/56/3a/e59db3769dee48409c759a88b62cd605324e05d396e10af0a065adc956ad/Cython-0.29.33-py2.py3-none-any.whl.metadata Using cached Cython-0.29.33-py2.py3-none-any.whl.metadata (3.1 kB) Collecting kivy_deps.gstreamer_dev~=0.3.3 Obtaining dependency information for kivy_deps.gstreamer_dev~=0.3.3 from https://files.pythonhosted.org/packages/be/e3/6e4d32636a39bf25a83fa956373805b494d95c77a57cf021971da000d3e8/kivy_deps.gstreamer_dev-0.3.3-cp312-cp312-win_amd64.whl.metadata Using cached kivy_deps.gstreamer_dev-0.3.3-cp312-cp312-win_amd64.whl.metadata (215 bytes) ERROR: Could not find a version that satisfies the requirement kivy_deps.sdl2_dev~=0.6.0 (from versions: 0.7.0) ERROR: No matching distribution found for kivy_deps.sdl2_dev~=0.6.0 [notice] A new release of pip is available: 23.2.1 -> 24.1.2 [notice] To update, run: python.exe -m pip install --upgrade pip [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. ``` </details>
kerem closed this issue 2026-03-13 15:15:53 +03:00
Author
Owner

@absadiki commented on GitHub (Jul 12, 2024):

Hello @AlexanderRitter02,

I think Python 3.12 is the problem.
Please use Python 3.9 (the one I used at that time) and give it a try!

Regarding the zip file dependency, it's just a snapshot of the KivyMD library I used (to prevent any API breakage), but you can replace it by the the commit link from their Github repository if you want.

<!-- gh-comment-id:2224254501 --> @absadiki commented on GitHub (Jul 12, 2024): Hello @AlexanderRitter02, I think Python 3.12 is the problem. Please use Python 3.9 (the one I used at that time) and give it a try! Regarding the `zip` file dependency, it's just a snapshot of the `KivyMD` library I used (to prevent any API breakage), but you can replace it by the the commit link from their Github repository if you want.
Author
Owner

@AlexanderRitter02 commented on GitHub (Jul 12, 2024):

Aye, that was it.
I'm just not familiar with the python ecosystem, didn't consider version breakage. I read 3.9+ in the Readme and didn't think much of it, that maybe I should try the original version, sorry.

Knowing what the zip file is for, I actually just tried updating Kivy to the latest commit, but that resulted in the same issue as in #3, the components must have changed.

All good and running with Python 3.9 now, thank you!

<!-- gh-comment-id:2225477145 --> @AlexanderRitter02 commented on GitHub (Jul 12, 2024): Aye, that was it. I'm just not familiar with the python ecosystem, didn't consider version breakage. I read 3.9+ in the Readme and didn't think much of it, that maybe I should try the original version, sorry. Knowing what the `zip` file is for, I actually just _tried_ updating Kivy to the latest commit, but that resulted in the same issue as in #3, the components must have changed. All good and running with Python 3.9 now, thank you!
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whatsapp-msgstore-viewer#5
No description provided.