Skip to content
Snippets Groups Projects
Verified Commit 64acfc5d authored by dos's avatar dos
Browse files

sim: Update the README

parent a745ba79
Branches
No related tags found
1 merge request!600Simulator improvements
...@@ -18,6 +18,11 @@ If not using nix-shell, you'll need Python3 with the following libraries: ...@@ -18,6 +18,11 @@ If not using nix-shell, you'll need Python3 with the following libraries:
- wasmer - wasmer
- wasmer-compiler-cranelift - wasmer-compiler-cranelift
For full functionality you'll also need:
- requests
- pymad
All of these should be available in PyPI. All of these should be available in PyPI.
Installing in a venv Installing in a venv
...@@ -26,10 +31,16 @@ Installing in a venv ...@@ -26,10 +31,16 @@ Installing in a venv
``` ```
python -m venv venv python -m venv venv
source venv/bin/activate source venv/bin/activate
pip install wasmer wasmer-compiler-cranelift pygame pip install wasmer wasmer-compiler-cranelift pygame requests pymad
``` ```
Note: The simulator currently does no work with python3.11. Make sure to use python ≤3.10. Note: The wasmer python module from PyPI [doesn't work with Python version 3.11](https://github.com/wasmerio/wasmer-python/issues/539).
You will get `ImportError: Wasmer is not available on this system` when trying to run the simulator. Instead, install our [rebuilt wasmer wheels](https://flow3r.garden/tmp/wasmer-py311/) using:
```
venv/bin/pip install https://flow3r.garden/tmp/wasmer-py311/wasmer_compiler_cranelift-1.2.0-cp311-cp311-manylinux_2_34_x86_64.whl
venv/bin/pip install https://flow3r.garden/tmp/wasmer-py311/wasmer-1.2.0-cp311-cp311-manylinux_2_34_x86_64.whl
```
Running Running
--- ---
...@@ -43,7 +54,7 @@ python3 sim/run.py ...@@ -43,7 +54,7 @@ python3 sim/run.py
Known Issues Known Issues
--- ---
No support for audio yet. No support for most audio APIs or positional captouch yet.
Hacking Hacking
--- ---
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment