Skip to content
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

Embed packages example on website doesn't work. #775

Open
HuakunShen opened this issue Sep 9, 2023 · 0 comments
Open

Embed packages example on website doesn't work. #775

HuakunShen opened this issue Sep 9, 2023 · 0 comments
Assignees
Labels
❓ question Further information is requested

Comments

@HuakunShen
Copy link

Summary

On wasmer's website https://wasmer.io/products/registry, there is a piece of sample code at the bottom

from wasmer import Wasmer
python = Wasmer("python/python")
runner = python.entrypoint.run('-c "print(1+1)"')
print(python.stdout)

If I understand correctly, this is saying we can run python code in python, rust or other languages.
But there are 2 problems,

  1. when I click on other languages, it doesn't show the code in that language, alwasy in python
    image
  2. The sample code doesn't work at all. I installed wasmer with pip on mac and linux, the sample code don't run. Wasmer is not even exported.
@HuakunShen HuakunShen added the ❓ question Further information is requested label Sep 9, 2023
@ptitSeb ptitSeb transferred this issue from wasmerio/wasmer Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants