Kivy error (python 2.7) : sdl2 import error

前端 未结 6 1508
我在风中等你
我在风中等你 2020-11-28 16:46

I\'m trying to use kivy on my Python 2.7 project (in a PyCharm - Windows 10 environment), but I get the following error.

If someone can help me ? Thanks !

PS

6条回答
  •  猫巷女王i
    2020-11-28 17:14

    if you have not installed all dependencies then the error will occur , Instead of Project Interpreter use the pycharm terminal Then install the following

    1.python -m pip install docutils pygments pypiwin32 kivy_deps.sdl2==0.1.* kivy_deps.glew==0.1.*

    1. python -m pip install kivy_deps.gstreamer==0.1.*

    2. python -m pip install kivy_deps.angle==0.1.*

    3. python -m pip install kivy==1.11.1

提交回复
热议问题