mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
* Fix webapp README: correct pip install command The README had incorrect syntax for pip install. Changed from `pip install requirements.txt` to `pip install -r requirements.txt`. * Fix webapp Pyodide compatibility: pin matplotlib and contourpy versions The webapp uses Shinylive which runs Python in the browser via Pyodide. Pyodide only supports specific versions of packages that have C extensions. Pin matplotlib to 3.8.4 and contourpy to 1.3.1 to match Pyodide's available versions. This fixes the "Can't find a pure Python 3 wheel for 'contourpy==1.3.2'" error when loading the webapp.
279 B
279 B
To run this app locally, install the requirements and run shiny run.
$ cd webapp
$ pip install -r requirements.txt
$ shiny run
After the server starts, which should take only a moment, you can open http://127.0.0.1:8000 to see the interface.