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

Re: [pygame] arraydemo.py broken



I renamed that dir and tried arraydemo.py and get:

Traceback (most recent call last):
  File "arraydemo.py", line 13, in <module>
    raise ImportError, 'Error Importing Pygame/surfarray or Numeric'
ImportError: Error Importing Pygame/surfarray or Numeric

Looks like things are going well with the debugging.
So then what must I do to get the lib back and using the current one?

DEK

On Tue, Jul 15, 2008 at 1:20 AM, René Dudfield <renesd@xxxxxxxxx> wrote:
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



--
Douglas E Knapp

http://sf-journey-creations.wikispot.org/Front_Page