How to resolve "No matching distribution found for kivy.deps.sdl2" installation error?

See original GitHub issue

I’m trying to install Kivy according to (what now seem outdated?) your installation instructions. However, I run into the following error.

Collecting kivy.deps.sdl2
  Could not find a version that satisfies the requirement kivy.deps.sdl2 (from versions: )
No matching distribution found for kivy.deps.sdl2

I don’t understand what this means, because certainly the package is available in pip3 search:

kivy.deps.sdl2 (0.1.18)           - Repackaged binary dependency of Kivy.
kivy.deps.sdl2_dev (0.1.18)       - Repackaged binary dependency of Kivy.

So what is the problem and solution?

BTW. I am using latest Cygwin on x64 with Python 3.6 and all updated pips.

PS. This also seem related to:

  • a very old and already closed issue #4133, but where no solution was shown or presented.
  • and possibly also issue #5174

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
ilikepenguins42commented, Dec 8, 2021

yep! as of now Kivy does not support Python 3.10 and new versions, kivy developers need some time to do that. nobody knows the exact day of release, till that sees the light I have uninstalled python 3.10 and installed python 3.9.7 and it’s working perfectly …when the support releases I am gonna switch back to the new version

@CharacterNerd

2reactions
mathamcommented, Nov 7, 2018

As I said, we don’t officially support cygwin hence the issues you ran into. Our installation pages work well for windows, but one should not expect to be able to install msvc compiled wheels (from pypi) in cygwin. For that you need wheels compiled with cygwin, which we don’t make as we don’t seem to have much shared users, nor maintainers using it and limited time.

Alternatively, as you found out and as I mentioned in my initial reply, you can probably compile all the deps yourself and then kivy, cutting out the need of any pre-compiled wheels. To do that, you can look at our linux installation instructions as that is more relevant.

Regarding mingw/msys2, that would possibly be easier to use, but I’m not sure. For py2, you can probably use mingw’s python from pacman and then pip install our wheels because our py2 wheels are compiled with mingw. For py3.5+ we only have msvc wheels because python doesn’t support mingw (https://bugs.python.org/issue4709) yet (although that may have changed) so you’d need to compile all the deps yourself in mingw.

Regarding your last comment, I do not appreciate your tone and your words - I find them quite inappropriate because we try to maintain a civil and welcoming community both for users and maintainers.

Specifically regarding the issues you mentioned:

  • We moved our chat from IRC to discord recently, but it is quite clearly shown in the IRC welcome message. We also updated all our links on the site to point to discord (except in old messages of course). If you find old links, please report it.
  • Our documentation is clearly separated by OS. If you follow the instructions for your OS it should be clear, generally. We don’t have docs for cygwin though, as I said, because we don’t officially support it.
  • Most of the issues you linked are unrelated to your issue.
  • Similarly, the pip errors people typically encounter is due to a multitude of unrelated issues, such as following the instructions for the wrong OS. Or from the past when we were still working on getting the wheels for all python versions.

If you arrive at a working cygwin install, you’re welcome to post the instructions on the wiki and link it here

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Kivy Error: Could not find a version that satisfies the ...
[CRITICAL] [Window] Unable to find any valuable Window provider at all! sdl2 - RuntimeError: Failed creating OpenGL pixel format.
Read more >
Python- No matching distribution found for kivy - YouTube
ERROR : Could not find a version that satisfies the requirement kivy# No matching distribution found for kivy. deps. sdl2 #Kivy is not...
Read more >
cannot install all dependencies of kivy on windows 10
No matching distribution found for kivy.deps.sdl2. > py -m pip install kivy.deps.glew. Collecting kivy.deps.glew. Could not find a version that satisfies ...
Read more >
Issue 44488: ERROR: No matching distribution found for kivy
An error occurred when installing kiwi on python 3.10.0b3, on Python 3.9.5 there are no errors, but on 3.10 there are: Collecting kivy...
Read more >
kivy-deps.sdl2 - PyPI
Repackaged binary dependency of Kivy. ... pip install kivy-deps.sdl2 ... The author of this package has not provided a project description ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found