PyCharm loading pygame issue (kivy)
I get the following when I run my (kivy) app in PyCharm...
ERROR: pygame.macosx import FAILED
The app used to work before I upgraded kivy, this however still runs from the command line. I presume this is a matter of allowing PyCharm to find pygame, but I don't know how to do that.
ERROR: pygame.macosx import FAILED
The app used to work before I upgraded kivy, this however still runs from the command line. I presume this is a matter of allowing PyCharm to find pygame, but I don't know how to do that.
Please sign in to leave a comment.
Could you please try opening Settings | Python Interpreters, selecting the interpreter that you're using for your project and pressing the Reload button in the Paths tab?
Is there a path I should be looking for? The paths do include the following:
file:///Applications/Kivy.app/Contents/Resources/kivy
file:///Applications/Kivy.app/Contents/Resources/lib/sitepackages
[INFO ] [Window ] Provider: pygame
ERROR: pygame.macosx import FAILED
[WARNING] [WinPygame ] SDL wrapper failed to import!
[DEBUG ] [Window ] Ignored <sdl> (import error)
[DEBUG ] [Window ] Ignored <x11> (import error)
[CRITICAL] [Window ] Unable to find any valuable Window provider at all!
[CRITICAL] [App ] Unable to get a Window, abort.
/Applications//Kivy.app/Contents/Resources/lib/sitepackages/pygame