sdl2 - ImportError: DLL load failed: The specified module could not be found and [CRITICAL] [App] Unable to get a Window, abort

后端 未结 2 1166
情书的邮戳
情书的邮戳 2020-12-03 05:03
  • Python: 3.6.4
  • OS: Windows 10
  • Kivy: 1.10.0

Kivy Installation Method

python -m pip install --upgrade pip wheel setupto         


        
2条回答
  •  忘掉有多难
    2020-12-03 05:57

    I had the same problem. I solved it by first Kivy and its dependencies.

    python -m pip uninstall kivy
    
    python -m pip uninstall kivy.deps.sdl2
    
    python -m pip uninstall kivy.deps.glew
    
    python -m pip uninstall kivy.deps.gstreamer
    
    python -m pip uninstall image
    

    Now reinstalling everything except gstreamer.

    python -m pip install --upgrade pip wheel setuptools
    
    python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew --extra-index-url https://kivy.org/downloads/packages/simple/
    
    python -m pip install kivy
    

    It solved the error. Credits to Ben R's Answer.

提交回复
热议问题