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
{{ message }}
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
Running strictly from the example it looks like something in the instantiate function within wasmtime broke.
Traceback (most recent call last):
File "run.py", line 7, in<module>
import markdown
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "/private/tmp/wasmtime-demos/python/venv/lib/python3.7/site-packages/wasmtime/__init__.py", line 46, in exec_module
res = instantiate(data, imports)
Exception: version mismatch in the bindings section: wasm file has `0.5.0` and this library supports `0.4.0`
The text was updated successfully, but these errors were encountered:
@whb07 Ran into the same issue. @tschneidereit did not publish any source code but you can find it at https://wasmtime.dev/. Clone the source and inside the misc/wasmtime-py directory you'll find instructions how to build the python wasmtime module.
Once build you can simply overwrite the .so file in your local installation or add the build/lib/ directory to your PYTHONPATH. Hih.
@zababurinsv It is in your site-packages/wasmtime directory. Which site-packages depends on your platform and if you installed wasmtime as system or user package.
To add it to your PYTHONPATH add the path of the file to an environment variable called PYTHONPATH.
Running strictly from the example it looks like something in the instantiate function within wasmtime broke.
The text was updated successfully, but these errors were encountered: