All pastes #990631 Raw Edit

Meins

public text v1 · immutable
#990631 ·published 2008-04-20 08:59 UTC
rendered paste body
from __future__ import division
import numpy
import pygame
import pygame.surfarray
import xml.dom.minidom

...

pygame.surfarray.use_arraytype("numpy")

-------------------------------------------

RuntimeWarning: use surfarray: No modul
e named Numeric
  pygame.surfarray.use_arraytype("numpy")
Traceback (most recent call last):
  File "C:\Dateien\Dateien\Python\toa\rendermap.py", line 8, in <module>
    import Map
  File "C:\Dateien\Dateien\Python\toa\Map.py", line 13, in <module>
    pygame.surfarray.use_arraytype("numpy")
  File "C:\Dateien\Programme\Python\lib\site-packages\pygame\__init__.py", line
52, in __getattr__
    raise NotImplementedError, MissingPygameModule
NotImplementedError: surfarray module not available