Open fredguth opened 4 months ago
Are you using the latest version of the Python shinylive
package? It is currently at version 0.5.0.
https://pypi.org/project/shinylive/
❯ poetry run shinylive --version
0.5.0
The same code as a app.py file (outside Quarto) works with shiny run app.py
Any news on this?
I created another repo where the problem can be seen (https://github.com/fredguth/ducktales)
When I quarto preview example.qmd
there is an error.
But I then created a shiny
folder and run shiny from there shiny run shiny/app.py
it works.
I have a shiny app that is able to query a
duckdb
file and present it initables
(https://github.com/fredguth/shinyduck/blob/main/express-itables-mwe.py)Now, I am trying to replicate this minimum example to Quarto with
{shinylive-python}
.But I am not able to add the package:
There is a pyodide wheel that I was able to use in the shinelive editor online: https://duckdb.github.io/duckdb-pyodide/wheels/duckdb-1.0.0-cp312-cp312-pyodide_2024_0_wasm32.whl
But I was not able to use it with Quarto.