1
0
This commit is contained in:
2025-08-14 18:01:18 +02:00
parent 92f33706d4
commit d372768dd7
3 changed files with 15 additions and 26 deletions

View File

@@ -16,20 +16,12 @@ title="IDE's configuration"
quarto install tinytex
fi
inf "install python dependencies for Quarto"
python3 -Im pip install jupyter jupyterlab ipykernel matplotlib plotly pandas
asdf reshim python
inf "install and register Jupyter kernels"
JUPYTER_BIN="$(asdf which jupyter)"
python3 -Im ipykernel install --user --name python-asdf --display-name "Python (asdf)"
python3 -Im ipykernel install --user --name python-local --display-name "Python (local)"
Rscript -e "install.packages('IRkernel', repos='https://cloud.r-project.org')" \
-e "Sys.setenv(JUPYTER=\"$JUPYTER_BIN\"); IRkernel::installspec(user = TRUE)"
-e "IRkernel::installspec(user = TRUE)"
julia -e "ENV[\"JUPYTER\"]=\"${JUPYTER_BIN}\"; using Pkg; Pkg.add(\"IJulia\"); Pkg.build(\"IJulia\")"
julia -e "using Pkg; Pkg.add(\"IJulia\"); Pkg.build(\"IJulia\")"
log "${title} done"