Closed cameronraysmith closed 2 years ago
maybe it is the same as #112
Yes, I'll take a look.
Apologies that this is essentially a duplicate of https://github.com/robert-dodier/maxima-jupyter/issues/112 . Reposted there https://github.com/robert-dodier/maxima-jupyter/issues/112#issuecomment-1184802253 .
I have been installing
maxima-jupyter
in a docker container with the following proceduremaxima-jupyter installation procedure
```sh ## install maxima jupyter kernel RUN git clone https://github.com/robert-dodier/maxima-jupyter.git ${HOME}/maxima-jupyter WORKDIR ${HOME}/maxima-jupyter RUN export PYTHON_SITE=$(python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])') && \ mkdir -p ${PYTHON_SITE}/notebook/static/components/codemirror/mode/maxima/ && \ cp maxima.js ${PYTHON_SITE}/notebook/static/components/codemirror/mode/maxima/ && \ patch ${PYTHON_SITE}/notebook/static/components/codemirror/mode/meta.js codemirror-mode-meta-patch # && \ # cp maxima_lexer.py ${PYTHON_SITE}/pygments/lexers/ && \ # patch ${PYTHON_SITE}/pygments/lexers/_mapping.py pygments-mapping-patch RUN curl -kLO https://beta.quicklisp.org/quicklisp.lisp && \ sbcl --non-interactive --load quicklisp.lisp --load docker-install-quicklisp.lisp && \ maxima --batch-string="load(\"load-maxima-jupyter.lisp\");jupyter_install();" ```Underlying dependencies derive from the archlinux package repositories
In my most recent run, 07/13/2022, I received the following log/error
maxima-jupyter installation log
```sh #17 [12/42] RUN git clone https://github.com/robert-dodier/maxima-jupyter.git /home/jovyan/maxima-jupyter #17 0.582 Cloning into '/home/jovyan/maxima-jupyter'... #17 DONE 1.1s #18 [13/42] WORKDIR /home/jovyan/maxima-jupyter #18 DONE 0.0s #19 [14/42] RUN export PYTHON_SITE=$(python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])') && mkdir -p ${PYTHON_SITE}/notebook/static/components/codemirror/mode/maxima/ && cp maxima.js ${PYTHON_SITE}/notebook/static/components/codemirror/mode/maxima/ && patch ${PYTHON_SITE}/notebook/static/components/codemirror/mode/meta.js codemirror-mode-meta-patch #0 0.127 patching file /usr/lib/python3.10/site-packages/notebook/static/components/codemirror/mode/meta.js #19 DONE 0.1s #20 [15/42] RUN curl -kLO https://beta.quicklisp.org/quicklisp.lisp && sbcl --non-interactive --load quicklisp.lisp --load docker-install-quicklisp.lisp && maxima --batch-string="load("load-maxima-jupyter.lisp");jupyter_install();" #0 0.060 % Total % Received % Xferd Average Speed Time Time Time Current #0 0.070 Dload Upload Total Spent Left Speed #0 0.075 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 57144 100 57144 0 0 168k 0 --:--:-- --:--:-- --:--:-- 169k #20 0.395 This is SBCL 2.2.5, an implementation of ANSI Common Lisp. #20 0.395 More information about SBCL is available atPlease let me know if this rings a bell. Apologies if I have missed something quite obvious. Many thanks.