How to configure Python Kivy for PyCharm on Windows?

前端 未结 7 681
孤独总比滥情好
孤独总比滥情好 2020-11-27 16:58

I\'m having trouble getting Kivy to work with PyCharm on Windows 7. I\'ve managed to add most of the external libraries through File > Settings > Python interpreters &

相关标签:
7条回答
  • 2020-11-27 18:02

    A very simple version which worked for me was:

    1. Follow the instructions in Setting-Up-Kivy-with-various-popular-IDE's
    2. Install the packages in the Project Interpreter

        Go to: [File]-[Settings]-[Project: ProjectName]-[Project Interpreter]
        Install: Pillow, image, kivy.deps.glew, kipy.deps.gstreamer, kivy.deps.sdl2, pygame, kivy
      

    At least for me this solved my issue with the PIL module import error (The module PIL is called now Pillow) and also with the sdl2 ddl import error.

    Update

    Actually, I just installed the modules from the second step in PyCharm on a different PC without completing the first step and Kivy was working anyway.

    0 讨论(0)
提交回复
热议问题