Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9106311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T02:18:34+00:00 2026-06-17T02:18:34+00:00

I am trying to use the Kivy library for python in the Eclipse IDE.

  • 0

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, kivy python error

How can I setup eclipse so I do not get this error and I can run Kivy programs straight from eclipse?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T02:18:35+00:00Added an answer on June 17, 2026 at 2:18 am

    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:

    Building pygame 1.9.1 on Mac OS X 10.6 using XCode 3.2.6
    2012-04-12
    I was building this for a binary distribution that would run against python.org's 64-bit Python 2.7.2, for use on Mac OS X 10.6 and later.
    
    * Install dependencies:
    
    - libjpeg (use ./configure, make, sudo make install)
    - SDL and extra packages (use precompiled framework builds):
      - SDL
      - SDL_mixer
      - SDL_image
      - SDL_ttf
    - portmidi (use CMake as per the instructions)
    
    * Delete shared libraries in /usr/local/lib (if you want to build a binary installer that can be used elsewhere).
    
    * Check for /usr/local/lib/portmidi.a and if not found, make it a symlink from /usr/local/lib/portmidi_s.a or whatever portmidi got installed.
    
    * Modify config_darwin.py to include '/usr/X11/include' and '/usr/X11/lib':
        incdirs = ['/usr/X11/include', '/usr/local/include']
        libdirs = ['/usr/X11/lib/', '/usr/local/lib']
    
    (since libpng and libfreetype are standard in /usr/X11)
    
    * Configure pygame and make sure it finds everything:
    
    python config.py
    
    As of 2012-04-12 on Mac OS X 10.6 I found that png was NOT found. I have no idea why, but I went ahead and installed it manually.
    
    Also SCRAP is not found, but apparently that is normal for Mac OS X.
    
    * Build pygame normally
    
    python setup.py build
    bdist_mpkg (or sudo python setup.py install if you don't want a binary installer)
    

    Hopefully, these instructions will work on more recent versions of OS X and XCode (please let us know if they do).

    Thanks

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying use Google APIs Client Library for Python to rename drive file, here
I am trying use Thread but i have some problem (I am beginner at
I am trying use javascript regular expressions to do some matching and I found
I'm trying use eco for client-side templating. I have multiple .eco templates that I'd
I have a regex that I'm trying use to validate against strings. Trying to
I have a 3rd party DLL that I am trying to use in a
Im trying use a Java annotation in a Groovy class but have trouble to
I am trying use Google Maps for my work; I have downloaded an example
I am trying use gem tire to search in my application. I have tables
Hi I'm trying use a datepicker on a field I have. I'm trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.