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