pygame is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

pygame / pygame http://pygame.org/

Clone this repository (size: 15.4 MB): HTTPS / SSH
hg clone https://bitbucket.org/pygame/pygame
hg clone ssh://hg@bitbucket.org/pygame/pygame

Issues

#108 error when import pygame

Reported by berkeley110

Hello,

I am trying to run some code that requires pygame module. Im using OSX lion and python 2.7 that comes installed with my Mac. I have followed instructions here http://pygame.org/wiki/MacCompile and was able to install after a long struggle. I am not the most familiar with terminal. well, on to it.

import pygame gives me this error

ImportError: dlopen(/Library/Python/2.7/site-packages/pygame-1.9.1release-py2.7-macosx-10.7-intel.egg/pygame/base.so, 2): Symbol not found: _SDL_EnableUNICODE Referenced from: /Library/Python/2.7/site-packages/pygame-1.9.1release-py2.7-macosx-10.7-intel.egg/pygame/base.so Expected in: flat namespace in /Library/Python/2.7/site-packages/pygame-1.9.1release-py2.7-macosx-10.7-intel.egg/pygame/base.so

Ive spent the better part of an afternoon search this error, with no avail.

Any help would be greatly appreciated.

Status: new Responsible: nobody Type: bug Priority: major
Milestone: none Component: other Version: Development

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 berkeley110

    written

    Ok, I have uninstalled xcode 4.2 in exchange for xcode 4.1 that includes gcc-4.2, and installed a separate python 2.7 code. Then I was able to install pygame again, but to my frustration I am still getting the same error when I try to run pygame.

    Please, any help would be greatly appreciated.

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?