kivy: How to resolve "No matching distribution found for kivy.deps.sdl2" installation error?
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:
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (3 by maintainers)
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
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:
If you arrive at a working cygwin install, you’re welcome to post the instructions on the wiki and link it here