I am trying to use the Kivy library for python in the Eclipse IDE. I have tried some solutions that I have found on google but none of them seem to work. I am using Mac OSX 10.7 with python 2.7.
I have installed the kivy setup.py file with the command
python setup.py install
I now how a kivy folder in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/. In eclipse I go to Preferences->PyDev->Interpreter and where I can add libraires I add that path and apply the changes. When writing python code I can now import everything I need from kivy without error and write code with code completion using the kivy modules. When I try to run the project with the code,
import kivy
from kivy.app import App
from kivy.uix.widget import Widget
class PongGame(Widget):
pass
class PongApp(App):
def build(self):
return PongGame()
if __name__=='__main__':
PongApp().run()
I get the error, 
How can I setup eclipse so I do not get this error and I can run Kivy programs straight from eclipse?
In a recent Google Groups post, Russell Owen outlined how he built a 64-bit version of PyGame 1.9.1 for Mac OS X 10.6 (Snow Leopard), and also provides a URL to a pre-built 64-bit PyGame OS X binary dmg file!
pygame-1.9.1release-py2.7-python.org-macosx10.6.dmg
Russell’s instructions were:
Hopefully, these instructions will work on more recent versions of OS X and XCode (please let us know if they do).
Thanks