PINE64
wasp simulation error - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PineTime (https://forum.pine64.org/forumdisplay.php?fid=134)
+--- Forum: General Discussion on PineTime (https://forum.pine64.org/forumdisplay.php?fid=135)
+--- Thread: wasp simulation error (/showthread.php?tid=10408)



wasp simulation error - pratyush049 - 06-24-2020

sir,
while using simulator of wasp os am getting some error as mention below:-



raise UnsupportedError(pixels2d, "numpy module could not be loaded")

sdl2.ext.compat.UnsupportedError: 'numpy module could not be loaded'



can you share something about this error. what should i do further to overcome this error ! thankyou


RE: wasp simulation error - danielt - 06-24-2020

(06-24-2020, 04:01 AM)pratyush049 Wrote: sir,
while using simulator of wasp os am getting some error as mention below:-



raise UnsupportedError(pixels2d, "numpy module could not be loaded")

sdl2.ext.compat.UnsupportedError: 'numpy module could not be loaded'



can you share something about this error. what should i do further to overcome this error ! thankyou

Did you (sucessfully) run the commands from the building guide to set things up to run the simulator?


Building wasp-os and launching the wasp-os simulator requires Python 3.6 (or later) and the following python modules: click, numpy, pexpect, PIL (or Pillow), pyserial, pysdl2.

On Debian Buster the requires python modules can be obtain with the following commands:
Code:
sudo apt install \
  git build-essential libsdl2-2.0.0 \
  python3-click python3-numpy python3-pexpect \
  python3-pil python3-pip python3-serial
pip3 install --user pysdl2