Skip to content

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

@HuakunShen

Description

@HuakunShen

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.

Metadata

Metadata

Assignees

Labels

❓ questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions