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
(.venv) Niklass-MBP:try-python-wasm bivald$ wasmer run --mapdir /:${PWD} bin/python-3.11.1.wasm
error: failed to run `bin/python-3.11.1.wasm`
│ 1: failed to instantiate WASI module
╰─▶ 2: Error while importing "wasi_snapshot_preview1"."sock_accept": unknown import. Expected Function(FunctionType { params: [I32, I32, I32], results: [I32] })```
Am I missing something, or is it simply not supported? I'm am trying to invoke wasmer via Python to run Python in wasm (because of the sandbox, to run untrusted code). The wasm should have no network access, and only local file access. But first step is just getting started via the terminal :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
First of all, I'm out of my depth here so please forgive my ignorance :) I'm trying to run wasmer in the terminal for Wasm Language Runtimes (https://wasmlabs.dev/articles/python-wasm32-wasi/)
Beta Was this translation helpful? Give feedback.
All reactions