RhodiumGroup / docker_images

Docker images for Rhodium's jupyterlab deployments
2 stars 2 forks source link

install octave kernel #81

Closed delgadom closed 4 years ago

delgadom commented 5 years ago

so we can do stuff written in .m scripts

Mike tested this with some KE scripts and they worked!

conda install -c conda-forge octave_kernel texinfo

also tried this:

apt-get install --no-install-recommends  octave octave-symbolic octave-miscellaneous python-sympy  gnuplot ghostscript
delgadom commented 5 years ago

using the package manager required

apt-get install liboctave-dev
delgadom commented 5 years ago

may also need to update gnuplot?

apt-get upgrade gnuplot
delgadom commented 5 years ago

current attempt:

apt-get install libglu1-mesa
conda install -c conda_forge octave octave_kernel texinfo
delgadom commented 5 years ago

also need ipyparallel, then run python -m octave_kernel install --user

delgadom commented 5 years ago

actually jupyter kernelspec seems like a better path forward

delgadom commented 5 years ago

jupyter kernelspec install /opt/conda/envs/octave/share/jupyter/kernels/octave --name octave

delgadom commented 5 years ago

this apparently works best:

apt-get install octave
conda env create -n octave python=3.6 texinfo
source activate octave
pip install octave_kernel
jupyter kernelspec install /opt/conda/envs/octave/share/jupyter/kernels/octave --name octave
delgadom commented 4 years ago

Addressed in #104