[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] event object
Pete Shinners wrote:
> Joel Wickard wrote:
>
>> when I try to run fonty.py from the pygame examples directory, I get
>> this error:
>>
>> fonty.py:32: RuntimeWarning: use font: No module named font
>> raise NotImplementedError, MissingPygameModule
>> NotImplementedError: font module not available
>>
>> When I compiled pygame I noticed that font.so wasn't copied over to
>> the site-packages directory
>>
>> When I try running arraydemo.py
>> I get the following errors:
>>
>> Traceback (most recent call last):
>> File "arraydemo.py", line 9 in ?
>> raise ImportError, 'Error Importing Pygame/surfarray or Numeric'
>> ImportError: Error Importing Pygame/surfarray or Numeric
>>
>> Thanks for any help
>
>
> ah, here's some territory where i can be a little more useful.
>
> some of the pygame modules are "optional" depending on which
> dependencies are available. there's a good chance the "mixer" and
> extended "image" modules didn't get compiled either.
>
> when python compiles it autodetects which libraries are available. it
> doesn't always do a perfect job, but it's approved by 4 out of 5
> dentists.
>
> in the pygame source directory, run "config.py" and it will let you
> know which modules it has found and which are missing. my guess is you
> need to install the "-dev" rpms for Numeric and SDL_ttf. if you
> believe you do have everything installed as needed, a quick
> "hand-edit" of the "Setup" file is the easiest way to get pygame fully
> compiled. the "Setup" file controls which modules will be compiled and
> what compile flags are needed. It's easy to do, and once fixed rerun
> the "setup.py" script and you'll be up and running. (presumably)
>
> let me know if there's anything else. sorry this has been such a pain
> for you. hopefully we can figure this unicode stuff all out and make
> it easier for everyone later on
Thanks Pete...
I got the SDL_ttf development libs installed and installed Numeric and
those examples work fine.
I'm having trouble with PyOpenGL now, but that's not your project.
Thanks for the help!!
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org