[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] event object
Michael Hudson wrote:
>Joel Wickard <jwickard@litriusgroup.com> writes:
>
>>Michael Hudson wrote:
>>
>>>Joel Wickard <jwickard@litriusgroup.com> writes:
>>>
>>>>my python it the default pthyon 2.2 rpm from Red Hat
>>>>
>>>Is that the one that installs as "python2"? Could you try executing
>>>
>>>import sys
>>>print sys.maxunicode
>>>
>>>for me?
>>>
>>>Cheers,
>>>M.
>>>
>>1114111
>>
>
>Then, from somewhere, you have a wide unicode build. You need to either
>
>(a) get yourself a narrow unicode build
> -or-
>(b) recompile pygame against the wide build you have installed
>
>(a) can probably be achieved by going to http://www.python.org/2.2.1/
>and downloading the RPM and (b) is presumably a matter of downloading
>the pygame source and running "python2 setup.py install
>
So I opted for option (b) and now it doesn't error on the event module
(thank you very much).
I'm getting two other errors, so I thought I'd pick your brain about
those. you've helped me a lot already so if this is an inconvenience
don't worry about it.
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
font = pygame.font.Font(None, 80)
Traceback (most recent call last):
File "fonty.py", line 67, in ?
if __name__ == '__main__': main()
File "fonty.py", line32, in main
font = pygame.font.Font(None, 80)
File "/usr/lib/python2.2/site-packages/pygame/__init__.py", line 60,
in __getattr__
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
-Joel
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org