4 ms·
wasmer add --pip wai/tutorial-01 Querying WAPM for package bindings error: Unable to find bindings for wai/tutorial-01@latest ╰─▶ 1: The package doesn't contain
by singularity2001 4y ago
wasmer add --pip wai/tutorial-01
Querying WAPM for package bindings
error: Unable to find bindings for wai/tutorial-01@latest
╰─▶ 1: The package doesn't contain any bindings
I guess one needs to publish a pip package? pip has very high requirements to publishing packages. the wai tutorial gives zero info on how to create a local pip package.
- syrusakbary 4y agoLooking into it. The command you posted should work: wasmer add --pip wai/tutorial-01 Will post as soon as we get it fixed. Thanks for letting us know EDIT: (+25 min) The command should be fully working now
- singularity2001 4y agoalmost. the command works but the import fails: /opt/wasm/wai/tutorial-01/ python3 consume.py Traceback (most recent call last): File "/opt/wasm/wai/tutorial-01/consume.py", line 2, in <module> from tutorial_01 import bindings File "/opt/homebrew/lib/python3.10/site-packages/tutorial_01/__init__.py", line 7, in <module> from wasmer import Store as _Store # type: ignore File "/opt/homebrew/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 which wasmer /opt/homebrew/bin/wasmer wasmer -v wasmer 3.0.2
- syrusakbary 4y agoAlmost there! Are you in macOS m1/m2 by any chance?