Removed old pygame and rebuilt and arraydemo now works!! Thank guys!! Douglas
On Tue, Jul 15, 2008 at 9:26 PM, Lenard Lindstrom <[EMAIL PROTECTED]> wrote: > As it is arraydemo.py is trying to import pygame and failing because the > package has been renamed. Reinstall pygame 1.8.1. This will create a new, > clean, /usr/lib/python2.5/site-packages/pygame. > > Lenard > > > Knapp wrote: > >> 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 <[EMAIL PROTECTED] <mailto: >> [EMAIL PROTECTED]>> 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 <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> > >> > >> > On Mon, Jul 14, 2008 at 7:29 PM, Lenard Lindstrom >> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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. >> >>> >> >>> >> >>> [EMAIL PROTECTED]:~/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 >> >> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> >> > >> > >> > 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
