[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] arraydemo.py broken



can you try removing the pygame directory?

remove this one:
/usr/lib/python2.5/site-packages/pygame



On Tue, Jul 15, 2008 at 6:26 AM, Knapp <magick.crow@xxxxxxxxx> wrote:
>
>
> On Mon, Jul 14, 2008 at 7:29 PM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
>>
>> Knapp wrote:
>>>
>>> Just to be clean I got and compiled the cvs version today and ran
>>> arraydemo.py. Here is the first error report. In the past I just commented
>>> out that line to get it to run farther but we should start at the top.
>>>
>>>
>>> douglas@frog:~/pygame/trunk/examples$ python arraydemo.py
>>> Press the mouse button to advance image.
>>> Press the "s" key to save the current image.
>>> Traceback (most recent call last):
>>>  File "arraydemo.py", line 21, in <module>
>>>    pygame.surfarray.use_arraytype ("numeric")
>>> AttributeError: 'module' object has no attribute 'use_arraytype'
>>>
>> It may be that the old 1.7 surfarray extension module, a shared library,
>> is still present. This would hide the surfarray.py module that replaced it
>> in Python 1.8.
>>
>> --
>> Lenard Lindstrom
>> <len-l@xxxxxxxxx>
>
>
> So then what do I need to hunt down and remove? What is the name of it?
> Thanks for the idea. I am now running  1.8.1 and it still has this problem.
>
>
> --
> Douglas E Knapp
>
> http://sf-journey-creations.wikispot.org/Front_Page