How to resolve "No matching distribution found for kivy.deps.sdl2" installation error?
See original GitHub issueI’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:
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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
pacmanand 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