You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to run wasmer on Python 3.10 on an arm Mac fails w/:
ImportError: Wasmer is not available on this system
But does work fine w/ Python 3.9.
Steps to reproduce
Using python3.10, make virtualenv: python -m venv p; . ./p/bin/activate
Install wasmer: pip install wasmer
Try to import wasmer: python -c 'import wasmer'
See error
Expected behavior
Per the README.md, it says that 3.10 is supported.
Actual behavior
Error message per above generated:
$ python -c 'import wasmer; from wasmer_compiler_llvm import Compiler'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/jmg/wasm/wasibox/p3.10/lib/python3.10/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
This is an Apple M1 cpu, which though not listed as supported, as is demonstrated above, appears to work fine on 3.9, or at least does not raise an error.
The text was updated successfully, but these errors were encountered:
By just referencing the compiled wheel, you'll get the expected binary.
The source of the problem seems to be a lack of linking (arch mismatch maybe?) somewhere, but in the meantime I noticed I wasn't getting the wheel binary (essentially a default failback) and so explicitly referencing it helped.
Thanks for the bug report!
Describe the bug
Attempting to run wasmer on Python 3.10 on an arm Mac fails w/:
But does work fine w/ Python 3.9.
Steps to reproduce
python -m venv p; . ./p/bin/activate
pip install wasmer
python -c 'import wasmer'
Expected behavior
Per the
README.md
, it says that 3.10 is supported.Actual behavior
Error message per above generated:
Additional context
This is an Apple M1 cpu, which though not listed as supported, as is demonstrated above, appears to work fine on 3.9, or at least does not raise an error.
The text was updated successfully, but these errors were encountered: