-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HELP] Cannot get python wasm to run with wasi #331
Comments
Actually if I wrap it in an try catch and I print
|
you can try with |
also, python needs many folder to run. It's not specific to the webassembly version, but also for the native version. Just running the main binary without mounting it's file system (mainly, the |
With python/[email protected] I get the following error:
@ptitSeb How would I mount the file system for this node script, is there an example somewhere? eventually I want to run this code in the browser, is that possible? |
hey @laurensV, the issue you are running into is that loading Full JavaScript support for WASIX and loading packages from the Wasmer registry is being added in #328, and there is a |
@laurensV check out Creating an Interactive Terminal with XTerm.js for how to make a terminal like wasmer.sh using the new JavaScript SDK. You'll just need to swap the |
I am trying to run a python command with wasi from the wasmer-js package, but cannot get it to run. I want to achieve something similar to webassembly.sh functionality where I can run a python command:
I tried the following code:
However, I am getting the following error:
Is there something I am missing here to get the python command to work?
The text was updated successfully, but these errors were encountered: