{"id":1141,"date":"2020-07-31T13:06:39","date_gmt":"2020-07-31T04:06:39","guid":{"rendered":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/?p=1141"},"modified":"2020-09-15T14:29:14","modified_gmt":"2020-09-15T05:29:15","slug":"macos-%e3%81%ab-maxima-jupyter-%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/1141\/","title":{"rendered":"macOS \u306b Maxima-Jupyter \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b"},"content":{"rendered":"<p>\u4ee5\u4e0b\u3092\u53c2\u8003\u306b\uff0cmacOS (Catalina) \u306b<strong> Maxima-Jupyter (Maxima kernel for Jupyter)<\/strong> \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u7279\u306b\uff0c<a href=\"https:\/\/maxima.hatenablog.jp\/entry\/2020\/05\/25\/001814\">\u4ee5\u4e0b\u306e Maxima \u3067\u7db4\u308b\u6570\u5b66\u306e\u65c5\u306e\u8a18\u4e8b<\/a>\u306f\u53c2\u8003\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u5b9f\u969b\u306b Ubuntu 20.04 \u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306e\u6982\u7565\u3092\u65e5\u672c\u8a9e\u3067\u8a18\u8f09\u3057\u3066\u3044\u308b\u3082\u306e\u306f\u306a\u304b\u306a\u304b\u898b\u5f53\u305f\u3089\u306a\u304b\u3063\u305f\u306e\u3067\uff0c\u3053\u306e\u8a18\u4e8b\u306b\u30a4\u30f3\u30b9\u30d1\u30a4\u30a2\u3055\u308c\u3066\uff0cmacOS \u3067\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/robert-dodier\/maxima-jupyter\">GitHub &#8211; robert-dodier\/maxima-jupyter: A Maxima kernel for Jupyter, based on CL-Jupyter (Common Lisp kernel)<\/a><\/li>\n<li><a href=\"https:\/\/maxima.hatenablog.jp\/entry\/2020\/05\/25\/001814\">-\u305d\u306e\u4ed6- Maxima\u306e\u74b0\u5883\u6574\u5099(2) Jupyter lab \/ notebook &#8211; Maxima \u3067\u7db4\u308b\u6570\u5b66\u306e\u65c5<\/a><\/li>\n<\/ul>\n<h3>Homebrew<\/h3>\n<p><a href=\"https:\/\/brew.sh\/index_ja\">Homebrew<\/a> \u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u305d\u3057\u3066\uff0c<\/p>\n<pre>brew update; brew upgrade<\/pre>\n<h3>Python<\/h3>\n<pre>brew install python3\r\npip3 install jupyter jupyterlab<\/pre>\n<p>\u306a\u304a\uff0cmacOS \u3067\u306f\uff0c<code>\/etc\/paths<\/code> \u306e\u6700\u521d\u306b\u4ee5\u4e0b\u3092\u4ed8\u3051\u52a0\u3048\u308b\u3068\uff0c<code>\u20193\u2019<\/code> \u3092\u3064\u3051\u5fd8\u308c\u3066\u3082\u5927\u4e08\u592b\u3002<\/p>\n<pre>% cat \/etc\/paths\r\n\/usr\/local\/opt\/python@3.8\/libexec\/bin\r\n\/usr\/local\/bin\r\n\/usr\/bin\r\n\/bin\r\n\/usr\/sbin\r\n\/sbin<\/pre>\n<pre>% python -V\r\nPython 3.8.5\r\n\r\n% python3 -V\r\nPython 3.8.5\r\n\r\n% pip -V\r\npip 20.1.1 from \/usr\/local\/lib\/python3.8\/site-packages\/pip (python 3.8)\r\n\r\n% pip3 -V\r\npip 20.1.1 from \/usr\/local\/lib\/python3.8\/site-packages\/pip (python 3.8)<\/pre>\n<h3>\u4e0b\u6e96\u5099<\/h3>\n<pre>brew install sbcl gpg zmq gnuplot<\/pre>\n<h3>Maxima<\/h3>\n<p><code>brew install maxima<\/code> \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u306f<span style=\"color: #ff0000;\"><strong>\u30c0\u30e1<\/strong><\/span>\uff08\u3053\u308c\u3067\u5f15\u3063\u304b\u304b\u3063\u3066\u968f\u5206\u60a9\u3093\u3067\u305f\uff09\u3002 configure \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u5909\u66f4\u3057\u3066\u30bd\u30fc\u30b9\u304b\u3089\u30b3\u30f3\u30d1\u30a4\u30eb\u30fb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<pre>brew edit maxima<\/pre>\n<p><code>Formula\/maxima.rb<\/code> \u306e\u4ee5\u4e0b\u306e &#8220;<code>--enable-sbcl-exec<\/code>&#8221; \u306e\u884c\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\uff0c\u4fdd\u5b58\u3002<\/p>\n<pre style=\"padding-left: 40px;\">      \"--enable-sbcl\",\r\n#     \"--enable-sbcl-exec\",<\/pre>\n<pre>brew install maxima -s  #\uff08-s \u3092\u3064\u3051\u3066\uff0c\u30bd\u30fc\u30b9\u304b\u3089\u30b3\u30f3\u30d1\u30a4\u30eb\uff09<\/pre>\n<h3>quicklisp<\/h3>\n<p><a href=\"https:\/\/www.quicklisp.org\/beta\/\">Quicklisp beta<\/a> \u306e Installation \u3092\u53c2\u7167\u3002<\/p>\n<p><code>~\/<\/code> \u3067\u3082\u3044\u3044\u304c\uff0c\u4e0d\u7528\u610f\u306b\u30c7\u30ea\u30fc\u30c8\u3057\u3066\u5f8c\u3067\u56f0\u3089\u306a\u3044\u3088\u3046\u306b <code>~\/Library<\/code> \u306b\u4fdd\u5b58\u3057\u3066\u307f\u308b\u3002<\/p>\n<pre>cd ~\/Library\r\n\r\ncurl -O https:\/\/beta.quicklisp.org\/quicklisp.lisp\r\ncurl -O https:\/\/beta.quicklisp.org\/quicklisp.lisp.asc\r\ngpg --verify quicklisp.lisp.asc quicklisp.lisp\r\n\r\nsbcl --load quicklisp.lisp\r\n...\r\nTo continue, evaluate: (quicklisp-quickstart:install)\r\n...\r\n* (quicklisp-quickstart:install)\r\n...\r\nNIL\r\n* (ql:system-apropos \"vecto\")\r\n...\r\nNIL\r\n* (ql:quickload \"vecto\")\r\n...\r\n(\"vecto\")\r\n* (ql:add-to-init-file)\r\n...\r\n#P\"\/Users\/quicklisp\/.sbclrc\"\r\n* (quit)<\/pre>\n<h3>Maxima-Jupyter<\/h3>\n<pre>git clone https:\/\/github.com\/robert-dodier\/maxima-jupyter.git\r\ncd maxima-jupyter\/\r\nmaxima\r\n(%i1) load(\"load-maxima-jupyter.lisp\");\r\n(%i2) jupyter_install();\r\n(%i3) quit();<\/pre>\n<p><code>(%i2)<\/code> \u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066\u306f\uff0c\u4ee5\u4e0b\u306e\u8a18\u8ff0\u3092\u53c2\u8003\u306b\u3002<\/p>\n<p style=\"padding-left: 40px;\">After the install script has loaded then install using one of the kernel types.<\/p>\n<p style=\"padding-left: 40px;\">User specific Quicklisp kernel: <code>jupyter_install();<\/code><br \/>\nUser specific binary image kernel: <code>jupyter_install_image();<\/code><br \/>\nSystem-wide Quicklisp bundled kernel: <code>jupyter_system_install(true, \"pkg\/\");<\/code><\/p>\n<p style=\"padding-left: 40px;\">After the installation is complete then exit Maxima. For the System-wide installation copy the files in pkg to the system root, i.e. <code>sudo cp -r pkg\/* \/<\/code> on Linux. (macOS \u3067\u3082\u540c\u69d8)<\/p>\n<p>\u500b\u4eba\u3067\u4f7f\u3046\u306b\u306f\uff0c<code>jupyter_install();<\/code> \u3084 <code>jupyter_install_image();<\/code> \u3067\u3088\u3044\u304c\uff0c\u5b9f\u7fd2\u5ba4 PC \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u6559\u80b2\u7528\u306b&#8230; \u3068\u601d\u3046\u3068\uff0csystem-wide \u306a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5fc5\u8981\u3067\uff0c<code>jupyter_system_install(true, \"pkg\/\");<\/code><\/p>\n<p>\u3057\u304b\u3057\uff0csystem-wide \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\uff0c\u8d77\u52d5\u6642\u306b\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u5927\u91cf\u306e Warning \u304c\u51fa\u307e\u304f\u308b\u3002\u5b9f\u884c\u306b\u306f\u652f\u969c\u304c\u306a\u3044\u3088\u3046\u3060\u304c\uff0c\u3069\u3046\u3057\u305f\u3082\u306e\u304b\u3068&#8230;<\/p>\n<pre><span style=\"font-size: 10pt;\">% jupyter console --kernel=maxima<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: System definition file #P\"\/usr\/local\/share\/maxima-jupyter\/software\/cl-base64-20150923-git\/cl-base64.asd\" contains definition for system \"cl-base64-tests\". Please only define \"cl-base64\" and secondary systems with a name starting with \"cl-base64\/\" (e.g. \"cl-base64\/test\") in that file.<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/PACKAGE::WHEN-PACKAGE-FISHINESS in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/PACKAGE::NOTE-PACKAGE-FISHINESS in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/PACKAGE:DEFINE-PACKAGE in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/COMMON-LISP::LOOP* in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/COMMON-LISP::COMPATFMT in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/UTILITY:DEFGENERIC* in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/UTILITY:DEFUN* in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/UTILITY:WITH-UPGRADABILITY in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/UTILITY:UIOP-DEBUG in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/UTILITY:NEST in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/UTILITY:IF-LET in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/UTILITY:WHILE-COLLECTING in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/UTILITY:APPENDF in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/UTILITY:LATEST-TIMESTAMP-F in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/UTILITY:WITH-MUFFLED-CONDITIONS in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining PRINT-OBJECT (#&lt;SB-PCL::CONDITION-CLASS UIOP\/VERSION:DEPRECATED-FUNCTION-CONDITION&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/VERSION:WITH-DEPRECATION in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/OS:OS-COND in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/PATHNAME:WITH-PATHNAME-DEFAULTS in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/PATHNAME:WITH-ENOUGH-PATHNAME in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/FILESYSTEM:WITH-CURRENT-DIRECTORY in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/STREAM:WITH-SAFE-IO-SYNTAX in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/STREAM:WITH-OUTPUT-FILE in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/STREAM:WITH-OUTPUT in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/STREAM:WITH-INPUT-FILE in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/STREAM:WITH-INPUT in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/STREAM:WITH-NULL-INPUT in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/STREAM:WITH-NULL-OUTPUT in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/STREAM:WITH-TEMPORARY-FILE in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/STREAM:WITH-STAGING-PATHNAME in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/IMAGE:WITH-FATAL-CONDITION-HANDLER in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/LISP-BUILD:WITH-OPTIMIZATION-SETTINGS in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/LISP-BUILD:WITH-MUFFLED-COMPILER-CONDITIONS in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/LISP-BUILD:WITH-MUFFLED-LOADER-CONDITIONS in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/LISP-BUILD:WITH-SAVED-DEFERRED-WARNINGS in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/RUN-PROGRAM:SLURP-INPUT-STREAM in DEFGENERIC<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining SLURP-INPUT-STREAM (#&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:FUNCTION&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining SLURP-INPUT-STREAM (#&lt;BUILT-IN-CLASS COMMON-LISP:CONS&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining SLURP-INPUT-STREAM (#&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:STREAM&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining SLURP-INPUT-STREAM (#&lt;SB-MOP:EQL-SPECIALIZER STRING&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining SLURP-INPUT-STREAM (#&lt;SB-MOP:EQL-SPECIALIZER :STRING&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining SLURP-INPUT-STREAM (#&lt;SB-MOP:EQL-SPECIALIZER :LINES&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining SLURP-INPUT-STREAM (#&lt;SB-MOP:EQL-SPECIALIZER :LINE&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining SLURP-INPUT-STREAM (#&lt;SB-MOP:EQL-SPECIALIZER :FORMS&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining SLURP-INPUT-STREAM (#&lt;SB-MOP:EQL-SPECIALIZER :FORM&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining SLURP-INPUT-STREAM (#&lt;SB-MOP:EQL-SPECIALIZER T&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining SLURP-INPUT-STREAM (#&lt;BUILT-IN-CLASS COMMON-LISP:NULL&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining SLURP-INPUT-STREAM (#&lt;STRUCTURE-CLASS COMMON-LISP:PATHNAME&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining SLURP-INPUT-STREAM (#&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/RUN-PROGRAM:VOMIT-OUTPUT-STREAM in DEFGENERIC<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining VOMIT-OUTPUT-STREAM (#&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:FUNCTION&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining VOMIT-OUTPUT-STREAM (#&lt;BUILT-IN-CLASS COMMON-LISP:CONS&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining VOMIT-OUTPUT-STREAM (#&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:STREAM&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining VOMIT-OUTPUT-STREAM (#&lt;BUILT-IN-CLASS COMMON-LISP:STRING&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining VOMIT-OUTPUT-STREAM (#&lt;SB-MOP:EQL-SPECIALIZER T&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining VOMIT-OUTPUT-STREAM (#&lt;BUILT-IN-CLASS COMMON-LISP:NULL&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining VOMIT-OUTPUT-STREAM (#&lt;STRUCTURE-CLASS COMMON-LISP:PATHNAME&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining VOMIT-OUTPUT-STREAM (#&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt; #&lt;SB-PCL:SYSTEM-CLASS COMMON-LISP:T&gt;) in DEFMETHOD<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/RUN-PROGRAM::PLACE-SETTER in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/RUN-PROGRAM::WITH-PROGRAM-INPUT in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/RUN-PROGRAM::WITH-PROGRAM-OUTPUT in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining UIOP\/RUN-PROGRAM::WITH-PROGRAM-ERROR-OUTPUT in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: System definition file #P\"\/usr\/local\/share\/maxima-jupyter\/software\/pzmq-20200610-git\/pzmq.asd\" contains definition for system \"pzmq-compat\". Please only define \"pzmq\" and secondary systems with a name starting with \"pzmq\/\" (e.g. \"pzmq\/test\") in that file.<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: System definition file #P\"\/usr\/local\/share\/maxima-jupyter\/software\/pzmq-20200610-git\/pzmq.asd\" contains definition for system \"pzmq-test\". Please only define \"pzmq\" and secondary systems with a name starting with \"pzmq\/\" (e.g. \"pzmq\/test\") in that file.<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: System definition file #P\"\/usr\/local\/share\/maxima-jupyter\/software\/pzmq-20200610-git\/pzmq.asd\" contains definition for system \"pzmq-examples\". Please only define \"pzmq\" and secondary systems with a name starting with \"pzmq\/\" (e.g. \"pzmq\/test\") in that file.<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining DISSECT:WITH-TRUNCATED-STACK in DEFMACRO<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining JUPYTER:START in DEFGENERIC<\/span>\r\n<span style=\"font-size: 10pt;\">WARNING: redefining JUPYTER:STOP in DEFGENERIC<\/span>\r\n<span style=\"font-size: 10pt;\">jupyter_kernel_start(\"\/Users\/kasai\/Library\/Jupyter\/runtime\/kernel-75782.json\")<\/span>\r\n<span style=\"font-size: 10pt;\">\/usr\/local\/lib\/python3.8\/site-packages\/jupyter_console\/ptshell.py:98: UserWarning: No lexer found for language 'maxima'. Treating as plain text.<\/span>\r\n<span style=\"font-size: 10pt;\">warn(\"No lexer found for language %r. Treating as plain text.\" % name)<\/span>\r\n<span style=\"font-size: 10pt;\">Jupyter console 6.1.0<\/span>\r\n\r\n<span style=\"font-size: 10pt;\">maxima-jupyter: a Maxima Jupyter kernel; (C) 2019 Robert Dodier (BSD)<\/span>\r\n<span style=\"font-size: 10pt;\">In [1]:<\/span><\/pre>\n<h3>Maxima-Jupyter \u306e Code Highlighting Installation<\/h3>\n<pre>cd \/usr\/local\/lib\/python3.8\/site-packages\/notebook\/static\/components\/codemirror\/mode\/\r\nmkdir maxima\r\ncp ~\/maxima-jupyter-master\/maxima.js maxima\/\r\n\r\ncode (or vim or cot \u3068\u304b\uff0c\u304a\u597d\u304d\u306a\u30a8\u30c7\u30a3\u30bf\u3067) meta.js\r\n\r\n  {name: \"Mathematica\", mime: \"text\/x-mathematica\", mode: \"mathematica\", ext: [\"m\", \"nb\"]},\r\n+ {name: \"Maxima\", mime: \"text\/x-maxima\", mode: \"maxima\", ext: [\"mac\", \"max\"]},\r\n  {name: \"Modelica\", mime: \"text\/x-modelica\", mode: \"modelica\", ext: [\"mo\"]},<\/pre>\n<pre>cd \/usr\/local\/lib\/python3.8\/site-packages\/pygments\/lexers\r\ncp ~\/maxima-jupyter-master\/maxima_lexer.py .\r\n\r\ncode  (or vim or cot \u3068\u304b\uff0c\u304a\u597d\u304d\u306a\u30a8\u30c7\u30a3\u30bf\u3067) _mapping.py\r\n\r\n  'MatlabSessionLexer': ('pygments.lexers.matlab', 'Matlab session', ('matlabsession',), (), ()),\r\n+ 'MaximaLexer': ('pygments.lexers.maxima_lexer', 'Maxima', ('maxima', 'macsyma'), ('*.mac', '*.max'), ()),\r\n  'MiniDLexer': ('pygments.lexers.d', 'MiniD', ('minid',), (), ('text\/x-minidsrc',)),<\/pre>\n<h3><span id=\"i-3\">\u4f7f\u7528\u4f8b<\/span><\/h3>\n<p>Jupyter notebook \u74b0\u5883\u3067\uff0cWeb \u30d6\u30e9\u30a6\u30b6\u3092\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u30fb\u30a8\u30c7\u30a3\u30bf\u306b\u3057\u3066 Maxima \u304c\u4f7f\u3048\u308b\u306e\u306f\u3042\u308a\u304c\u305f\u3044\u3002\u5b9a\u6570\u3084\u95a2\u6570\u306e\u5b9a\u7fa9\uff0c\u63cf\u753b\u7d50\u679c\u3082\u4fdd\u5b58\u3057\u3066\u304a\u3051\u308b\u3057\u306d\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/home.hirosaki-u.ac.jp\/jupyter\/maxima\/\">Maxima-Jupyter \u306b\u3088\u308b\u6570\u5f0f\u51e6\u7406\u3068\u30b0\u30e9\u30d5\u4f5c\u6210 \u2013 \u5f18\u524d\u5927\u5b66 Home Sweet Home<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u4e0b\u3092\u53c2\u8003\u306b\uff0cmacOS (Catalina) \u306b Maxi <a href=\"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/1141\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[14,7,15],"tags":[],"class_list":["post-1141","post","type-post","status-publish","format-standard","hentry","category-jupyter","category-macos","category-maxima"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/posts\/1141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/comments?post=1141"}],"version-history":[{"count":16,"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/posts\/1141\/revisions"}],"predecessor-version":[{"id":1224,"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/posts\/1141\/revisions\/1224"}],"wp:attachment":[{"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/media?parent=1141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/categories?post=1141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/home.hirosaki-u.ac.jp\/heroic-2020\/wp-json\/wp\/v2\/tags?post=1141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}