wasmer-python: wasmer is not available on aarch64?
Describe the bug
I’m trying to run wasmer + wasmer-py on a RPi 3b+, running Ubuntu 20.04 (aarch64). I tried wasmer_compiler_llvm and wasmer_compiler_cranelift as backends, both of which throw the same error. Also, wasmer itself can be installed, but is not working from python.
Steps to reproduce
- Clone this repo and go into this folder: https://github.com/proohit/nodejs-rust/tree/master/smartcore-wasi/python
- Install dependencies
pip install -r requirements.txt - Run
python run-wasmer.py - See error
Expected behavior
I was expecting it to run, since aarch64 seems to be supported, according to the readme.
Actual behavior
$ python run-wasmer.py
Traceback (most recent call last):
File "run-wasmer.py", line 1, in <module>
from lib.python.glue import load_model
File "/home/ubuntu/workspace/nodejs-rust/smartcore-wasi/python/lib/python/glue.py", line 1, in <module>
from wasmer import engine, wasi, Store, Module, Instance
File "/home/ubuntu/workspace/nodejs-rust/smartcore-wasi/python/env/lib/python3.8/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
Additional context
$ uname -a
Linux raspberry 5.4.0-1035-raspi #38-Ubuntu SMP PREEMPT Tue Apr 20 21:37:03 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
$ python --version
Python 3.8.5
$ wasmer --version
wasmer 1.0.2
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 18 (9 by maintainers)
So yeah, you should use
wasmer-1.0.0-cp38-cp38-manylinux2010_aarch64.whlfor what I can see. I will investigate.