wasmerio / wasmer-python

🐍🕸 WebAssembly runtime for Python

Home Page:https://wasmer.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError: Wasmer is not available on this system

fanym919 opened this issue · comments

I am using Python 3.6.9 on Ubuntu 18.04.5, and I am getting the following error,

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/fanyo/.local/lib/python3.6/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

i saw some similar questions related to this error, but they were caused by the wrong python (e.g. python 3.4) version or system (windows). Not sure if I miss something in my system.

Same error. ARM64, Kubuntu 21.04, Python 3.10. (Edit: Python 3.9 works, but not ideal).

same error.

Linux ts-OptiPlex-7080 5.13.0-40-generic #45~20.04.1-Ubuntu SMP Mon Apr 4 09:38:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
ts@ts-OptiPlex-7080:~/project/android_CNFW/wasm$ python3 hello.py 
Traceback (most recent call last):
  File "hello.py", line 1, in <module>
    from wasmer import engine, Store, Module, Instance
  File "/home/ts/.local/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

was able to fix the issue by using Python version 3.9.

Similar error using GitHub Actions using ubuntu-latest image.

Current runner version: '2.295.0'
Operating System  Ubuntu 20.04.4 LTS
Environment: ubuntu-20.04
Version: 20220814.1

After installing wasmer package via pip3 (which was successful) and running the code.

File "/home/runner/.local/lib/python3.8/site-packages/wasmer/__init__.py", line 1, in <module>
  raise ImportError("Wasmer is not available on this system")

Build: https://github.com/FX31337/FX31337-wasm/runs/7900707597?check_suite_focus=true#step:5:11

Been having this same issue... any updates??