Skip to content

"Wasmer is not available on this system" when running the simulator

When setting up the simulator as described here, I get the following error message:

$ venv/bin/python sim/run.py
pygame 2.5.1 (SDL 2.28.2, Python 3.11.3)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "/home/blinry/tmp/flow3r-firmware/sim/run.py", line 16, in <module>
    import wasmer
  File "/home/blinry/tmp/flow3r-firmware/venv/lib/python3.11/site-packages/wasmer/__init__.py", line 1, in <module>
    raise ImportError("Wasmer is not available on this system")
ImportError: Wasmer is not available on this system

The funny thing is that the file /home/blinry/tmp/flow3r-firmware/venv/lib/python3.11/site-packages/wasmer/__init__.py contains this as the only content! :D

raise ImportError("Wasmer is not available on this system")

I'm on Arch Linux, and have installed "wasmer 4.1.1" as a separate package beforehand, not sure if that's necessary.