You are not logged in.

#1 2022-03-17 12:35:56

GuntherOnFire
Member
Registered: 2022-03-17
Posts: 3

Cannot render Math/LaTeX in Jupyter Notebook

Hello,

I can't perform Math/LaTeX rendering in Jupyter Notebook for some reason. I've installed mathjax package already (which was suggested in one of the topics here) and I've also tried to set the path to MathJax manually in jupyter_notebook_config.py, but it didn't help. I keep on getting the following message (see the screenshot).

https://i.ibb.co/JK2N7ns/Screenshot-fro … -11-01.png
Screenshot-from-2022-03-17-15-11-01.png

I don't understand why the path to MathJax is still empty, even despite the fact I've changed it...

Any help is appreciated. Thank you!

Below are the parts of jupyter_notebook_config.py in which I enabled MathJax and the output of the Jupyter Notebook debug

Config:

## Whether to enable MathJax for typesetting math/TeX
#  
#          MathJax is the javascript library Jupyter uses to render math/LaTeX. It is
#          very large, so you may want to disable it if you have a slow internet
#          connection, or for offline use of the notebook.
#  
#          When disabled, equations etc. will appear as their untransformed TeX
#  source.
#  Default: True
c.NotebookApp.enable_mathjax = True
## A custom url for MathJax.js.
#          Should be in the form of a case-sensitive url to MathJax,
#          for example:  /static/components/MathJax/MathJax.js
#  Default: ''
c.NotebookApp.mathjax_url = '/usr/lib/python3.10/site-packages/notebook/static/components/MathJax/mathjax2/MathJax.js '

Debug:

[D 15:09:59.401 NotebookApp] Searching ['/home/boris', '/home/boris/.jupyter', '/home/boris/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 15:09:59.401 NotebookApp] Looking for jupyter_config in /etc/jupyter
[D 15:09:59.402 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 15:09:59.402 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter
[D 15:09:59.403 NotebookApp] Looking for jupyter_config in /home/boris/.local/etc/jupyter
[D 15:09:59.403 NotebookApp] Looking for jupyter_config in /home/boris/.jupyter
[D 15:09:59.403 NotebookApp] Looking for jupyter_config in /home/boris
[D 15:09:59.404 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter
[D 15:09:59.404 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter
[D 15:09:59.404 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter
[D 15:09:59.404 NotebookApp] Looking for jupyter_notebook_config in /home/boris/.local/etc/jupyter
[D 15:09:59.404 NotebookApp] Looking for jupyter_notebook_config in /home/boris/.jupyter
[D 15:09:59.405 NotebookApp] Loaded config file: /home/boris/.jupyter/jupyter_notebook_config.py
[D 15:09:59.405 NotebookApp] Looking for jupyter_notebook_config in /home/boris
[I 15:09:59.406 NotebookApp] Using MathJax: /usr/lib/python3.10/site-packages/notebook/static/components/MathJax/mathjax2/MathJax.js 
[D 15:09:59.407 NotebookApp] Raising open file limit: soft 1024->4096; hard 524288->524288
[D 15:09:59.443 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /etc/jupyter/jupyter_notebook_config.d/jupyterlab.json
        /etc/jupyter/jupyter_notebook_config.json
[D 15:09:59.444 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /usr/local/etc/jupyter/jupyter_notebook_config.json
[D 15:09:59.444 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /usr/etc/jupyter/jupyter_notebook_config.json
[D 15:09:59.444 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /home/boris/.local/etc/jupyter/jupyter_notebook_config.json
[D 15:09:59.445 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
        /home/boris/.jupyter/jupyter_notebook_config.json
[I 2022-03-17 15:10:00.839 LabApp] JupyterLab extension loaded from /usr/lib/python3.10/site-packages/jupyterlab
[I 2022-03-17 15:10:00.839 LabApp] JupyterLab application directory is /usr/share/jupyter/lab
[I 15:10:00.848 NotebookApp] Serving notebooks from local directory: /home/boris
[I 15:10:00.848 NotebookApp] Jupyter Notebook 6.4.10 is running at:
[I 15:10:00.848 NotebookApp] http://localhost:8888/?token=ee0d962828cdc419013a03c1fcbc7111861a7b608359845f
[I 15:10:00.848 NotebookApp]  or [url]http://127.0.0.1:8888/?token=ee0d962828cdc419013a03c1fcbc7111861a7b608359845f[/url]
[I 15:10:00.849 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 15:10:00.942 NotebookApp] 
    
    To access the notebook, open this file in a browser:
        file:///home/boris/.local/share/jupyter/runtime/nbserver-1388-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=ee0d962828cdc419013a03c1fcbc7111861a7b608359845f
     or [url]http://127.0.0.1:8888/?token=ee0d962828cdc419013a03c1fcbc7111861a7b608359845f[/url]
[D 15:10:03.878 NotebookApp] Accepting token-authenticated connection from ::1
[D 15:10:03.879 NotebookApp] Using contents: services/contents
[D 15:10:03.987 NotebookApp] Path base/images/favicon.ico served from /usr/lib/python3.10/site-packages/notebook/static/base/images/favicon.ico
[D 15:10:03.991 NotebookApp] Path components/jquery-ui/themes/smoothness/jquery-ui.min.css served from /usr/lib/python3.10/site-packages/notebook/static/components/jquery-ui/themes/smoothness/jquery-ui.min.css
[D 15:10:03.992 NotebookApp] Path components/jquery-typeahead/dist/jquery.typeahead.min.css served from /usr/lib/python3.10/site-packages/notebook/static/components/jquery-typeahead/dist/jquery.typeahead.min.css
[D 15:10:03.993 NotebookApp] Path style/style.min.css served from /usr/lib/python3.10/site-packages/notebook/static/style/style.min.css
[D 15:10:03.996 NotebookApp] Path components/es6-promise/promise.min.js served from /usr/lib/python3.10/site-packages/notebook/static/components/es6-promise/promise.min.js
[D 15:10:03.997 NotebookApp] Path components/react/react.production.min.js served from /usr/lib/python3.10/site-packages/notebook/static/components/react/react.production.min.js
[D 15:10:03.998 NotebookApp] Path components/react/react-dom.production.min.js served from /usr/lib/python3.10/site-packages/notebook/static/components/react/react-dom.production.min.js
[D 15:10:04.002 NotebookApp] Path components/create-react-class/index.js served from /usr/lib/python3.10/site-packages/notebook/static/components/create-react-class/index.js
[D 15:10:04.002 NotebookApp] Path components/requirejs/require.js served from /usr/lib/python3.10/site-packages/notebook/static/components/requirejs/require.js
[D 15:10:04.004 NotebookApp] Path base/images/logo.png served from /usr/lib/python3.10/site-packages/notebook/static/base/images/logo.png
[D 15:10:04.007 NotebookApp] Path tree/js/main.min.js served from /usr/lib/python3.10/site-packages/notebook/static/tree/js/main.min.js
[D 15:10:04.014 NotebookApp] 200 GET /tree?token=ee0d962828cdc419013a03c1fcbc7111861a7b608359845f (::1) 136.150000ms
[D 15:10:04.110 NotebookApp] Path custom.css served from /usr/lib/python3.10/site-packages/notebook/static/custom/custom.css
[D 15:10:04.111 NotebookApp] 304 GET /custom/custom.css (::1) 2.410000ms
[D 15:10:04.378 NotebookApp] Path services/contents.js served from /usr/lib/python3.10/site-packages/notebook/static/services/contents.js
[D 15:10:04.379 NotebookApp] 200 GET /static/services/contents.js?v=20220317150959 (::1) 2.450000ms
[D 15:10:04.408 NotebookApp] Paths used for configuration of tree: 
        /etc/jupyter/nbconfig/tree.json
[D 15:10:04.409 NotebookApp] Paths used for configuration of tree: 
        /usr/local/etc/jupyter/nbconfig/tree.json
[D 15:10:04.410 NotebookApp] Paths used for configuration of tree: 
        /usr/etc/jupyter/nbconfig/tree.json
[D 15:10:04.411 NotebookApp] Paths used for configuration of tree: 
        /home/boris/.local/etc/jupyter/nbconfig/tree.json
[D 15:10:04.412 NotebookApp] Paths used for configuration of tree: 
        /home/boris/.jupyter/nbconfig/tree.json
[D 15:10:04.414 NotebookApp] 200 GET /api/config/tree?_=1647519004285 (::1) 8.870000ms
[D 15:10:04.417 NotebookApp] Paths used for configuration of common: 
        /etc/jupyter/nbconfig/common.json
[D 15:10:04.418 NotebookApp] Paths used for configuration of common: 
        /usr/local/etc/jupyter/nbconfig/common.json
[D 15:10:04.418 NotebookApp] Paths used for configuration of common: 
        /usr/etc/jupyter/nbconfig/common.json
[D 15:10:04.419 NotebookApp] Paths used for configuration of common: 
        /home/boris/.local/etc/jupyter/nbconfig/common.json
[D 15:10:04.420 NotebookApp] Paths used for configuration of common: 
        /home/boris/.jupyter/nbconfig/common.json
[D 15:10:04.420 NotebookApp] 200 GET /api/config/common?_=1647519004286 (::1) 5.570000ms
[D 15:10:04.593 NotebookApp] 200 GET /api/terminals?_=1647519004287 (::1) 1.560000ms
[D 15:10:04.597 NotebookApp] Found kernel sagemath in /usr/share/jupyter/kernels
[D 15:10:04.598 NotebookApp] Found kernel python3 in /usr/share/jupyter/kernels
[D 15:10:05.397 NotebookApp] 304 GET /api/kernelspecs (::1) 803.110000ms
[D 15:10:05.402 NotebookApp] 200 GET /api/terminals?_=1647519004289 (::1) 3.080000ms
[D 15:10:05.404 NotebookApp] 200 GET /api/sessions?_=1647519004288 (::1) 3.690000ms
[D 15:10:05.405 NotebookApp] Path custom.js served from /usr/lib/python3.10/site-packages/notebook/static/custom/custom.js
[D 15:10:05.406 NotebookApp] 200 GET /custom/custom.js?v=20220317150959 (::1) 4.530000ms
[D 15:10:05.437 NotebookApp] 200 GET /api/contents?type=directory&_=1647519004290 (::1) 13.270000ms
[D 15:10:21.183 NotebookApp] 200 GET /api/sessions?_=1647519004291 (::1) 2.210000ms
[D 15:10:21.185 NotebookApp] 200 GET /api/terminals?_=1647519004292 (::1) 1.410000ms
[D 15:10:21.216 NotebookApp] 200 GET /api/contents?type=directory&_=1647519004293 (::1) 13.390000ms
[D 15:10:22.646 NotebookApp] 200 GET /api/contents/Codes?type=directory&_=1647519004294 (::1) 2.510000ms
[D 15:10:48.872 NotebookApp] 200 GET /api/sessions?_=1647519004295 (::1) 1.640000ms
[D 15:10:48.878 NotebookApp] 200 GET /api/terminals?_=1647519004296 (::1) 1.100000ms
[D 15:10:48.897 NotebookApp] 200 GET /api/contents/Codes?type=directory&_=1647519004297 (::1) 1.880000ms
[I 15:10:56.325 NotebookApp] Creating new notebook in /Codes
[D 15:10:56.328 NotebookApp] Saving /home/boris/Codes/Untitled1.ipynb
[D 15:10:56.343 NotebookApp] 201 POST /api/contents/Codes (::1) 19.620000ms
[D 15:10:56.363 NotebookApp] Using contents: services/contents
[D 15:10:56.435 NotebookApp] Path base/images/favicon-notebook.ico served from /usr/lib/python3.10/site-packages/notebook/static/base/images/favicon-notebook.ico
[D 15:10:56.436 NotebookApp] Path components/bootstrap-tour/build/css/bootstrap-tour.min.css served from /usr/lib/python3.10/site-packages/notebook/static/components/bootstrap-tour/build/css/bootstrap-tour.min.css
[D 15:10:56.437 NotebookApp] Path components/codemirror/lib/codemirror.css served from /usr/lib/python3.10/site-packages/notebook/static/components/codemirror/lib/codemirror.css
[D 15:10:56.438 NotebookApp] Path notebook/css/override.css served from /usr/lib/python3.10/site-packages/notebook/static/notebook/css/override.css
[W 15:10:56.869 NotebookApp] Config option `template_path` not recognized by `LenvsHTMLExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 15:10:56.879 NotebookApp] Config option `template_path` not recognized by `LenvsHTMLExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 15:10:56.923 NotebookApp] Config option `template_path` not recognized by `LenvsTocHTMLExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 15:10:56.936 NotebookApp] Config option `template_path` not recognized by `LenvsTocHTMLExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 15:10:57.023 NotebookApp] Config option `template_path` not recognized by `LenvsLatexExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 15:10:57.028 NotebookApp] Config option `template_path` not recognized by `LenvsLatexExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 15:10:57.413 NotebookApp] Config option `template_path` not recognized by `LenvsSlidesExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 15:10:57.421 NotebookApp] Config option `template_path` not recognized by `LenvsSlidesExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 15:10:57.626 NotebookApp] Config option `template_path` not recognized by `LenvsHTMLExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 15:10:57.640 NotebookApp] Config option `template_path` not recognized by `LenvsHTMLExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 15:10:57.682 NotebookApp] Config option `template_path` not recognized by `LenvsTocHTMLExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 15:10:57.696 NotebookApp] Config option `template_path` not recognized by `LenvsTocHTMLExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 15:10:57.783 NotebookApp] Config option `template_path` not recognized by `LenvsLatexExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 15:10:57.789 NotebookApp] Config option `template_path` not recognized by `LenvsLatexExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 15:10:58.111 NotebookApp] Config option `template_path` not recognized by `LenvsSlidesExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
[W 15:10:58.119 NotebookApp] Config option `template_path` not recognized by `LenvsSlidesExporter`.  Did you mean one of: `extra_template_paths, template_name, template_paths`?
[D 15:10:58.174 NotebookApp] Path components/text-encoding/lib/encoding.js served from /usr/lib/python3.10/site-packages/notebook/static/components/text-encoding/lib/encoding.js
[D 15:10:58.175 NotebookApp] Path notebook/js/main.min.js served from /usr/lib/python3.10/site-packages/notebook/static/notebook/js/main.min.js
[D 15:10:58.189 NotebookApp] 200 GET /notebooks/Codes/Untitled1.ipynb?kernel_name=python3 (::1) 1827.150000ms
[D 15:10:58.246 NotebookApp] Using contents: services/contents
[W 15:10:58.259 NotebookApp] 404 GET /usr/lib/python3.10/site-packages/notebook/static/components/MathJax/mathjax2/MathJax.js%20?config=TeX-AMS-MML_HTMLorMML-full,Safe&delayStartupUntil=configured (::1) 14.910000ms referer=http://localhost:8888/notebooks/Codes/Untitled1.ipynb?kernel_name=python3
[D 15:10:58.263 NotebookApp] 304 GET /custom/custom.css (::1) 2.100000ms
[D 15:10:58.576 NotebookApp] Paths used for configuration of notebook: 
        /etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json
        /etc/jupyter/nbconfig/notebook.json
[D 15:10:58.577 NotebookApp] Paths used for configuration of notebook: 
        /usr/local/etc/jupyter/nbconfig/notebook.json
[D 15:10:58.578 NotebookApp] Paths used for configuration of notebook: 
        /usr/etc/jupyter/nbconfig/notebook.json
[D 15:10:58.579 NotebookApp] Paths used for configuration of notebook: 
        /home/boris/.local/etc/jupyter/nbconfig/notebook.json
[D 15:10:58.580 NotebookApp] Paths used for configuration of notebook: 
        /home/boris/.jupyter/nbconfig/notebook.json
[D 15:10:58.581 NotebookApp] 200 GET /api/config/notebook?_=1647519058368 (::1) 8.300000ms
[D 15:10:58.583 NotebookApp] Paths used for configuration of common: 
        /etc/jupyter/nbconfig/common.json
[D 15:10:58.584 NotebookApp] Paths used for configuration of common: 
        /usr/local/etc/jupyter/nbconfig/common.json
[D 15:10:58.585 NotebookApp] Paths used for configuration of common: 
        /usr/etc/jupyter/nbconfig/common.json
[D 15:10:58.586 NotebookApp] Paths used for configuration of common: 
        /home/boris/.local/etc/jupyter/nbconfig/common.json
[D 15:10:58.587 NotebookApp] Paths used for configuration of common: 
        /home/boris/.jupyter/nbconfig/common.json
[D 15:10:58.587 NotebookApp] 200 GET /api/config/common?_=1647519058369 (::1) 5.560000ms
[D 15:10:58.640 NotebookApp] Found kernel sagemath in /usr/share/jupyter/kernels
[D 15:10:58.640 NotebookApp] Found kernel python3 in /usr/share/jupyter/kernels
[D 15:10:58.643 NotebookApp] 304 GET /api/kernelspecs (::1) 4.980000ms
[D 15:10:58.688 NotebookApp] 200 GET /api/contents/Codes/Untitled1.ipynb?type=notebook&_=1647519058370 (::1) 5.930000ms
[D 15:10:58.693 NotebookApp] 304 GET /custom/custom.js?v=20220317150959 (::1) 1.140000ms
[D 15:10:58.792 NotebookApp] 200 GET /api/contents/Codes/Untitled1.ipynb/checkpoints?_=1647519058371 (::1) 2.070000ms
[D 15:10:58.799 NotebookApp] Path jupyter-js-widgets/extension.js served from /usr/share/jupyter/nbextensions/jupyter-js-widgets/extension.js
[D 15:10:58.802 NotebookApp] 200 GET /nbextensions/jupyter-js-widgets/extension.js?v=20220317150959 (::1) 5.880000ms
[D 15:10:58.848 NotebookApp] Instantiating kernel 'Python 3 (ipykernel)' with kernel provisioner: local-provisioner
[D 15:10:58.861 NotebookApp] Starting kernel: ['/usr/bin/python', '-m', 'ipykernel_launcher', '-f', '/home/boris/.local/share/jupyter/runtime/kernel-c7c71cd0-ab1b-45af-b19c-c451676f39e3.json']
[D 15:10:58.867 NotebookApp] Connecting to: tcp://127.0.0.1:56169
[D 15:10:58.879 NotebookApp] Connecting to: tcp://127.0.0.1:56231
[I 15:10:58.881 NotebookApp] Kernel started: c7c71cd0-ab1b-45af-b19c-c451676f39e3, name: python3
[D 15:10:58.882 NotebookApp] Kernel args: {'kernel_name': 'python3', 'cwd': '/home/boris/Codes'}
[D 15:10:58.884 NotebookApp] 201 POST /api/sessions (::1) 50.470000ms
[D 15:10:58.932 NotebookApp] Initializing websocket connection /api/kernels/c7c71cd0-ab1b-45af-b19c-c451676f39e3/channels
[D 15:10:58.935 NotebookApp] Requesting kernel info from c7c71cd0-ab1b-45af-b19c-c451676f39e3
[D 15:10:58.935 NotebookApp] Connecting to: tcp://127.0.0.1:45595
[D 15:10:59.806 NotebookApp] activity on c7c71cd0-ab1b-45af-b19c-c451676f39e3: status (starting)
[D 15:10:59.926 NotebookApp] Path base/images/favicon-busy-1.ico served from /usr/lib/python3.10/site-packages/notebook/static/base/images/favicon-busy-1.ico
[D 15:10:59.926 NotebookApp] 304 GET /static/base/images/favicon-busy-1.ico (::1) 1.450000ms
[D 15:10:59.934 NotebookApp] activity on c7c71cd0-ab1b-45af-b19c-c451676f39e3: status (busy)
[D 15:10:59.935 NotebookApp] activity on c7c71cd0-ab1b-45af-b19c-c451676f39e3: status (idle)
[D 15:10:59.936 NotebookApp] Received kernel info: {'status': 'ok', 'protocol_version': '5.3', 'implementation': 'ipython', 'implementation_version': '8.1.1', 'language_info': {'name': 'python', 'version': '3.10.2', 'mimetype': 'text/x-python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'pygments_lexer': 'ipython3', 'nbconvert_exporter': 'python', 'file_extension': '.py'}, 'banner': "Python 3.10.2 (main, Jan 15 2022, 19:56:27) [GCC 11.1.0]\nType 'copyright', 'credits' or 'license' for more information\nIPython 8.1.1 -- An enhanced Interactive Python. Type '?' for help.\n", 'help_links': [{'text': 'Python Reference', 'url': '[url]https://docs.python.org/3.10[/url]'}, {'text': 'IPython Reference', 'url': '[url]https://ipython.org/documentation.html[/url]'}, {'text': 'NumPy Reference', 'url': '[url]https://docs.scipy.org/doc/numpy/reference/[/url]'}, {'text': 'SciPy Reference', 'url': '[url]https://docs.scipy.org/doc/scipy/reference/[/url]'}, {'text': 'Matplotlib Reference', 'url': '[url]https://matplotlib.org/contents.html[/url]'}, {'text': 'SymPy Reference', 'url': '[url]http://docs.sympy.org/latest/index.html[/url]'}, {'text': 'pandas Reference', 'url': '[url]https://pandas.pydata.org/pandas-docs/stable/[/url]'}]}
[D 15:10:59.937 NotebookApp] 101 GET /api/kernels/c7c71cd0-ab1b-45af-b19c-c451676f39e3/channels?session_id=4da00eb85dbc452284e1edbde1def55b (::1) 1005.400000ms
[D 15:10:59.938 NotebookApp] Opening websocket /api/kernels/c7c71cd0-ab1b-45af-b19c-c451676f39e3/channels
[D 15:10:59.938 NotebookApp] Getting buffer for c7c71cd0-ab1b-45af-b19c-c451676f39e3
[D 15:10:59.938 NotebookApp] Connecting to: tcp://127.0.0.1:56231
[D 15:10:59.938 NotebookApp] Connecting to: tcp://127.0.0.1:45595
[D 15:10:59.939 NotebookApp] Connecting to: tcp://127.0.0.1:56169
[D 15:10:59.939 NotebookApp] Connecting to: tcp://127.0.0.1:47595
[D 15:10:59.940 NotebookApp] Connecting to: tcp://127.0.0.1:45595
[D 15:10:59.940 NotebookApp] Connecting to: tcp://127.0.0.1:56169
[D 15:10:59.941 NotebookApp] Nudge: attempt 1 on kernel c7c71cd0-ab1b-45af-b19c-c451676f39e3
[D 15:10:59.945 NotebookApp] activity on c7c71cd0-ab1b-45af-b19c-c451676f39e3: status (busy)
[D 15:10:59.945 NotebookApp] Nudge: IOPub received: c7c71cd0-ab1b-45af-b19c-c451676f39e3
[D 15:10:59.945 NotebookApp] Nudge: resolving iopub future: c7c71cd0-ab1b-45af-b19c-c451676f39e3
[D 15:10:59.946 NotebookApp] activity on c7c71cd0-ab1b-45af-b19c-c451676f39e3: status (busy)
[D 15:10:59.947 NotebookApp] activity on c7c71cd0-ab1b-45af-b19c-c451676f39e3: status (idle)
[D 15:10:59.947 NotebookApp] Nudge: shell info reply received: c7c71cd0-ab1b-45af-b19c-c451676f39e3
[D 15:10:59.947 NotebookApp] Nudge: resolving shell future: c7c71cd0-ab1b-45af-b19c-c451676f39e3
[D 15:10:59.948 NotebookApp] activity on c7c71cd0-ab1b-45af-b19c-c451676f39e3: status (idle)
[D 15:10:59.948 NotebookApp] Nudge: control info reply received: c7c71cd0-ab1b-45af-b19c-c451676f39e3
[D 15:10:59.957 NotebookApp] activity on c7c71cd0-ab1b-45af-b19c-c451676f39e3: status (busy)
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.control
[D 15:10:59.960 NotebookApp] activity on c7c71cd0-ab1b-45af-b19c-c451676f39e3: status (idle)
[IPKernelApp] WARNING | No such comm: a2705ae9-6166-4347-bd6f-e9b7655598a6
[D 15:10:59.965 NotebookApp] activity on c7c71cd0-ab1b-45af-b19c-c451676f39e3: status (busy)
[D 15:10:59.968 NotebookApp] activity on c7c71cd0-ab1b-45af-b19c-c451676f39e3: comm_close
[D 15:10:59.970 NotebookApp] activity on c7c71cd0-ab1b-45af-b19c-c451676f39e3: status (idle)
[D 15:10:59.972 NotebookApp] activity on c7c71cd0-ab1b-45af-b19c-c451676f39e3: status (busy)
[D 15:10:59.974 NotebookApp] activity on c7c71cd0-ab1b-45af-b19c-c451676f39e3: status (idle)
[D 15:10:59.988 NotebookApp] activity on c7c71cd0-ab1b-45af-b19c-c451676f39e3: status (busy)
[D 15:10:59.991 NotebookApp] activity on c7c71cd0-ab1b-45af-b19c-c451676f39e3: status (idle)

moderator edit -- replaced oversized image with link.
Pasting pictures and code

Last edited by GuntherOnFire (2022-03-17 12:52:27)

Offline

#2 2022-03-17 12:39:56

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Cannot render Math/LaTeX in Jupyter Notebook

Welcome to the forum. Please edit your post and use [ code ] tags (not quote tags) when posting output. This makes the output easier to read and provides a scroll box for long output. Please also post only thumbnails or links to images.

https://wiki.archlinux.org/title/Genera … s_and_code
https://bbs.archlinux.org/help.php#bbcode

Offline

#3 2022-03-17 15:53:33

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,147

Re: Cannot render Math/LaTeX in Jupyter Notebook

Seems to be a regression in 6.4.10. Please report to bugs.archlinux.org. Note that jupyter uses mathjax version 2, not 3, so installing mathjax is useless.

Offline

#4 2022-03-18 07:45:17

GuntherOnFire
Member
Registered: 2022-03-17
Posts: 3

Re: Cannot render Math/LaTeX in Jupyter Notebook

I've reisntalled Jupyter Notebook (I've installed jupyter-notebook 6.4.10-2, to be precise), but the problem still persists unfortunately.
Now I can see in the debug output that it sets mathjax2 path correctly, yet there is still

404 GET /usr/lib/python3.10/site-packages/notebook/static/components/MathJax/mathjax2/MathJax.js%20?config=TeX-AMS-MML_HTMLorMML-full,Safe&delayStartupUntil=configured (::1) 13.270000ms referer=http://localhost:8889/notebooks/Codes/Untitled.ipynb?kernel_name=python3

which I think is somehow related to the error.

I'm uploading the debug output below.

[D 10:39:13.318 NotebookApp] Searching ['/home/boris', '/home/boris/.jupyter', '/home/boris/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 10:39:13.319 NotebookApp] Looking for jupyter_config in /etc/jupyter
[D 10:39:13.319 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 10:39:13.319 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter
[D 10:39:13.319 NotebookApp] Looking for jupyter_config in /home/boris/.local/etc/jupyter
[D 10:39:13.319 NotebookApp] Looking for jupyter_config in /home/boris/.jupyter
[D 10:39:13.319 NotebookApp] Looking for jupyter_config in /home/boris
[D 10:39:13.320 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter
[D 10:39:13.320 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter
[D 10:39:13.320 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter
[D 10:39:13.321 NotebookApp] Looking for jupyter_notebook_config in /home/boris/.local/etc/jupyter
[D 10:39:13.321 NotebookApp] Looking for jupyter_notebook_config in /home/boris/.jupyter
[D 10:39:13.321 NotebookApp] Loaded config file: /home/boris/.jupyter/jupyter_notebook_config.py
[D 10:39:13.321 NotebookApp] Looking for jupyter_notebook_config in /home/boris
[I 10:39:13.322 NotebookApp] Using MathJax: /usr/lib/python3.10/site-packages/notebook/static/components/MathJax/mathjax2/MathJax.js 
[D 10:39:13.323 NotebookApp] Raising open file limit: soft 1024->4096; hard 524288->524288
[D 10:39:13.327 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
    	/etc/jupyter/jupyter_notebook_config.json
[D 10:39:13.327 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
    	/usr/local/etc/jupyter/jupyter_notebook_config.json
[D 10:39:13.327 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
    	/usr/etc/jupyter/jupyter_notebook_config.json
[D 10:39:13.328 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
    	/home/boris/.local/etc/jupyter/jupyter_notebook_config.json
[D 10:39:13.328 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
    	/home/boris/.jupyter/jupyter_notebook_config.json
[I 10:39:13.602 NotebookApp] The port 8888 is already in use, trying another port.
[I 10:39:13.603 NotebookApp] Serving notebooks from local directory: /home/boris
[I 10:39:13.603 NotebookApp] Jupyter Notebook 6.4.10 is running at:
[I 10:39:13.603 NotebookApp] http://localhost:8889/?token=834ff3d4e6d54b45e47d94f5fe2e0ec417e5332f4f4e382a
[I 10:39:13.603 NotebookApp]  or http://127.0.0.1:8889/?token=834ff3d4e6d54b45e47d94f5fe2e0ec417e5332f4f4e382a
[I 10:39:13.603 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 10:39:13.680 NotebookApp] 
    
    To access the notebook, open this file in a browser:
        file:///home/boris/.local/share/jupyter/runtime/nbserver-21540-open.html
    Or copy and paste one of these URLs:
        http://localhost:8889/?token=834ff3d4e6d54b45e47d94f5fe2e0ec417e5332f4f4e382a
     or http://127.0.0.1:8889/?token=834ff3d4e6d54b45e47d94f5fe2e0ec417e5332f4f4e382a
[D 10:39:15.104 NotebookApp] Accepting token-authenticated connection from ::1
[D 10:39:15.105 NotebookApp] Using contents: services/contents
[D 10:39:15.163 NotebookApp] Path base/images/favicon.ico served from /usr/lib/python3.10/site-packages/notebook/static/base/images/favicon.ico
[D 10:39:15.164 NotebookApp] Path components/jquery-ui/themes/smoothness/jquery-ui.min.css served from /usr/lib/python3.10/site-packages/notebook/static/components/jquery-ui/themes/smoothness/jquery-ui.min.css
[D 10:39:15.164 NotebookApp] Path components/jquery-typeahead/dist/jquery.typeahead.min.css served from /usr/lib/python3.10/site-packages/notebook/static/components/jquery-typeahead/dist/jquery.typeahead.min.css
[D 10:39:15.165 NotebookApp] Path style/style.min.css served from /usr/lib/python3.10/site-packages/notebook/static/style/style.min.css
[D 10:39:15.166 NotebookApp] Path components/es6-promise/promise.min.js served from /usr/lib/python3.10/site-packages/notebook/static/components/es6-promise/promise.min.js
[D 10:39:15.166 NotebookApp] Path components/react/react.production.min.js served from /usr/lib/python3.10/site-packages/notebook/static/components/react/react.production.min.js
[D 10:39:15.166 NotebookApp] Path components/react/react-dom.production.min.js served from /usr/lib/python3.10/site-packages/notebook/static/components/react/react-dom.production.min.js
[D 10:39:15.167 NotebookApp] Path components/create-react-class/index.js served from /usr/lib/python3.10/site-packages/notebook/static/components/create-react-class/index.js
[D 10:39:15.167 NotebookApp] Path components/requirejs/require.js served from /usr/lib/python3.10/site-packages/notebook/static/components/requirejs/require.js
[D 10:39:15.168 NotebookApp] Path base/images/logo.png served from /usr/lib/python3.10/site-packages/notebook/static/base/images/logo.png
[D 10:39:15.169 NotebookApp] Path tree/js/main.min.js served from /usr/lib/python3.10/site-packages/notebook/static/tree/js/main.min.js
[D 10:39:15.173 NotebookApp] 200 GET /tree?token=834ff3d4e6d54b45e47d94f5fe2e0ec417e5332f4f4e382a (::1) 69.830000ms
[D 10:39:15.246 NotebookApp] 200 GET /static/components/jquery-ui/themes/smoothness/jquery-ui.min.css?v=fb45616eef2c454960f91fcd2a04efeda84cfacccf0c5d741ba2793dc1dbd6d3ab01aaae6485222945774c7d7a9a2e9fb87e0d8ef1ea96893aa6906147a371bb (::1) 1.940000ms
[D 10:39:15.250 NotebookApp] 200 GET /static/style/style.min.css?v=b092d0a2da5df36f2b073ddb4eafcd6c8094c4fa21b6dcd3f7185ce16c04ad66424083d785b81607a26b4b85b69a560574ada7db75262c886655f99d651c482e (::1) 1.820000ms
[D 10:39:15.253 NotebookApp] 200 GET /static/components/react/react-dom.production.min.js?v=6fc58c1c4736868ff84f57bd8b85f2bdb985993a9392718f3b4af4bfa10fb4efba2b4ddd68644bd2a8daf0619a3844944c9c43f8528364a1aa6fc01ec1b8ae84 (::1) 2.610000ms
[D 10:39:15.254 NotebookApp] 200 GET /static/components/requirejs/require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b7953b5cc60411154f593 (::1) 2.790000ms
[D 10:39:15.256 NotebookApp] Path custom.css served from /usr/lib/python3.10/site-packages/notebook/static/custom/custom.css
[D 10:39:15.257 NotebookApp] 200 GET /custom/custom.css (::1) 1.840000ms
[D 10:39:15.302 NotebookApp] 200 GET /static/tree/js/main.min.js?v=dab772273166ac9f0f558594df24e3c759850e5235dc1b578b63bc5acc95cdde555c0f3a598db857a1d5c72e298c6ffe30932d59a11929a5ffbd06fa69143e67 (::1) 3.410000ms
[D 10:39:15.433 NotebookApp] Path services/contents.js served from /usr/lib/python3.10/site-packages/notebook/static/services/contents.js
[D 10:39:15.434 NotebookApp] 200 GET /static/services/contents.js?v=20220318103913 (::1) 1.660000ms
[D 10:39:15.478 NotebookApp] Paths used for configuration of tree: 
    	/etc/jupyter/nbconfig/tree.json
[D 10:39:15.479 NotebookApp] Paths used for configuration of tree: 
    	/usr/local/etc/jupyter/nbconfig/tree.json
[D 10:39:15.479 NotebookApp] Paths used for configuration of tree: 
    	/usr/etc/jupyter/nbconfig/tree.json
[D 10:39:15.480 NotebookApp] Paths used for configuration of tree: 
    	/home/boris/.local/etc/jupyter/nbconfig/tree.json
[D 10:39:15.480 NotebookApp] Paths used for configuration of tree: 
    	/home/boris/.jupyter/nbconfig/tree.json
[D 10:39:15.481 NotebookApp] 200 GET /api/config/tree?_=1647589155398 (::1) 4.840000ms
[D 10:39:15.483 NotebookApp] Paths used for configuration of common: 
    	/etc/jupyter/nbconfig/common.json
[D 10:39:15.484 NotebookApp] Paths used for configuration of common: 
    	/usr/local/etc/jupyter/nbconfig/common.json
[D 10:39:15.485 NotebookApp] Paths used for configuration of common: 
    	/usr/etc/jupyter/nbconfig/common.json
[D 10:39:15.486 NotebookApp] Paths used for configuration of common: 
    	/home/boris/.local/etc/jupyter/nbconfig/common.json
[D 10:39:15.487 NotebookApp] Paths used for configuration of common: 
    	/home/boris/.jupyter/nbconfig/common.json
[D 10:39:15.488 NotebookApp] 200 GET /api/config/common?_=1647589155399 (::1) 6.440000ms
[D 10:39:15.506 NotebookApp] 200 GET /api/terminals?_=1647589155400 (::1) 1.770000ms
[D 10:39:15.519 NotebookApp] 200 GET /api/sessions?_=1647589155401 (::1) 2.140000ms
[D 10:39:15.521 NotebookApp] 200 GET /api/terminals?_=1647589155402 (::1) 1.230000ms
[D 10:39:15.532 NotebookApp] Found kernel python3 in /usr/share/jupyter/kernels
[D 10:39:15.924 NotebookApp] 304 GET /api/kernelspecs (::1) 394.150000ms
[D 10:39:15.928 NotebookApp] Path components/font-awesome/fonts/fontawesome-webfont.woff2 served from /usr/lib/python3.10/site-packages/notebook/static/components/font-awesome/fonts/fontawesome-webfont.woff2
[D 10:39:15.929 NotebookApp] 200 GET /static/components/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0 (::1) 3.480000ms
[D 10:39:15.929 NotebookApp] Path custom.js served from /usr/lib/python3.10/site-packages/notebook/static/custom/custom.js
[D 10:39:15.930 NotebookApp] 200 GET /custom/custom.js?v=20220318103913 (::1) 3.560000ms
[D 10:39:15.941 NotebookApp] 200 GET /api/contents?type=directory&_=1647589155403 (::1) 13.690000ms
[D 10:39:17.764 NotebookApp] 200 GET /api/contents/Codes?type=directory&_=1647589155404 (::1) 3.170000ms
[I 10:39:20.859 NotebookApp] Creating new notebook in /Codes
[D 10:39:20.860 NotebookApp] Saving /home/boris/Codes/Untitled.ipynb
[D 10:39:20.875 NotebookApp] 201 POST /api/contents/Codes (::1) 18.570000ms
[D 10:39:20.909 NotebookApp] Using contents: services/contents
[D 10:39:20.977 NotebookApp] Path base/images/favicon-notebook.ico served from /usr/lib/python3.10/site-packages/notebook/static/base/images/favicon-notebook.ico
[D 10:39:20.978 NotebookApp] Path components/bootstrap-tour/build/css/bootstrap-tour.min.css served from /usr/lib/python3.10/site-packages/notebook/static/components/bootstrap-tour/build/css/bootstrap-tour.min.css
[D 10:39:20.978 NotebookApp] Path components/codemirror/lib/codemirror.css served from /usr/lib/python3.10/site-packages/notebook/static/components/codemirror/lib/codemirror.css
[D 10:39:20.979 NotebookApp] Path notebook/css/override.css served from /usr/lib/python3.10/site-packages/notebook/static/notebook/css/override.css
[D 10:39:21.964 NotebookApp] Path components/text-encoding/lib/encoding.js served from /usr/lib/python3.10/site-packages/notebook/static/components/text-encoding/lib/encoding.js
[D 10:39:21.965 NotebookApp] Path notebook/js/main.min.js served from /usr/lib/python3.10/site-packages/notebook/static/notebook/js/main.min.js
[D 10:39:21.974 NotebookApp] 200 GET /notebooks/Codes/Untitled.ipynb?kernel_name=python3 (::1) 1066.230000ms
[D 10:39:22.026 NotebookApp] Using contents: services/contents
[W 10:39:22.038 NotebookApp] 404 GET /usr/lib/python3.10/site-packages/notebook/static/components/MathJax/mathjax2/MathJax.js%20?config=TeX-AMS-MML_HTMLorMML-full,Safe&delayStartupUntil=configured (::1) 13.270000ms referer=http://localhost:8889/notebooks/Codes/Untitled.ipynb?kernel_name=python3
[D 10:39:22.040 NotebookApp] 304 GET /custom/custom.css (::1) 1.660000ms
[D 10:39:22.054 NotebookApp] 200 GET /static/components/text-encoding/lib/encoding.js?v=737ac6f9f978afb6348b5914877e7d7136de7465cd4cdf389bad9a6b3ad5ceffbfb23febc75c23378967d7d36f98f5388208e8eb78c80f2bf47e8f8c000481ad (::1) 1.900000ms
[D 10:39:22.073 NotebookApp] 200 GET /static/notebook/js/main.min.js?v=d20cedcdfe41831d9a4ce0b46c51f1c5b6783a774c68a8f8282f390e1f7eef860df037874bac2a7dd7328cae8a84bebab3b573164a3a7dab138c32db01461d3c (::1) 5.630000ms
[D 10:39:22.435 NotebookApp] Paths used for configuration of notebook: 
    	/etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json
    	/etc/jupyter/nbconfig/notebook.json
[D 10:39:22.436 NotebookApp] Paths used for configuration of notebook: 
    	/usr/local/etc/jupyter/nbconfig/notebook.json
[D 10:39:22.436 NotebookApp] Paths used for configuration of notebook: 
    	/usr/etc/jupyter/nbconfig/notebook.json
[D 10:39:22.437 NotebookApp] Paths used for configuration of notebook: 
    	/home/boris/.local/etc/jupyter/nbconfig/notebook.json
[D 10:39:22.437 NotebookApp] Paths used for configuration of notebook: 
    	/home/boris/.jupyter/nbconfig/notebook.json
[D 10:39:22.438 NotebookApp] 200 GET /api/config/notebook?_=1647589162237 (::1) 4.140000ms
[D 10:39:22.440 NotebookApp] Paths used for configuration of common: 
    	/etc/jupyter/nbconfig/common.json
[D 10:39:22.441 NotebookApp] Paths used for configuration of common: 
    	/usr/local/etc/jupyter/nbconfig/common.json
[D 10:39:22.442 NotebookApp] Paths used for configuration of common: 
    	/usr/etc/jupyter/nbconfig/common.json
[D 10:39:22.442 NotebookApp] Paths used for configuration of common: 
    	/home/boris/.local/etc/jupyter/nbconfig/common.json
[D 10:39:22.443 NotebookApp] Paths used for configuration of common: 
    	/home/boris/.jupyter/nbconfig/common.json
[D 10:39:22.443 NotebookApp] 200 GET /api/config/common?_=1647589162238 (::1) 5.150000ms
[D 10:39:22.497 NotebookApp] Found kernel python3 in /usr/share/jupyter/kernels
[D 10:39:22.499 NotebookApp] 304 GET /api/kernelspecs (::1) 2.010000ms
[D 10:39:22.545 NotebookApp] 200 GET /api/contents/Codes/Untitled.ipynb?type=notebook&_=1647589162239 (::1) 11.170000ms
[D 10:39:22.547 NotebookApp] 304 GET /custom/custom.js?v=20220318103913 (::1) 1.380000ms
[D 10:39:22.567 NotebookApp] Path jupyter-js-widgets/extension.js served from /usr/share/jupyter/nbextensions/jupyter-js-widgets/extension.js
[D 10:39:22.569 NotebookApp] 200 GET /nbextensions/jupyter-js-widgets/extension.js?v=20220318103913 (::1) 3.280000ms
[D 10:39:22.663 NotebookApp] Instantiating kernel 'Python 3 (ipykernel)' with kernel provisioner: local-provisioner
[D 10:39:22.674 NotebookApp] Starting kernel: ['/usr/bin/python', '-m', 'ipykernel_launcher', '-f', '/home/boris/.local/share/jupyter/runtime/kernel-2cb1e968-4e18-48c2-bf8a-d93c28e98744.json']
[D 10:39:22.679 NotebookApp] Connecting to: tcp://127.0.0.1:47067
[D 10:39:22.682 NotebookApp] 200 GET /api/contents/Codes/Untitled.ipynb/checkpoints?_=1647589162240 (::1) 5.450000ms
[D 10:39:22.685 NotebookApp] Serving kernel resource from: /usr/share/jupyter/kernels/python3
[D 10:39:22.686 NotebookApp] 304 GET /kernelspecs/python3/logo-64x64.png (::1) 3.240000ms
[D 10:39:22.693 NotebookApp] Connecting to: tcp://127.0.0.1:49825
[I 10:39:22.695 NotebookApp] Kernel started: 2cb1e968-4e18-48c2-bf8a-d93c28e98744, name: python3
[D 10:39:22.695 NotebookApp] Kernel args: {'kernel_name': 'python3', 'cwd': '/home/boris/Codes'}
[D 10:39:22.696 NotebookApp] 201 POST /api/sessions (::1) 44.220000ms
[D 10:39:22.762 NotebookApp] Initializing websocket connection /api/kernels/2cb1e968-4e18-48c2-bf8a-d93c28e98744/channels
[D 10:39:22.765 NotebookApp] Requesting kernel info from 2cb1e968-4e18-48c2-bf8a-d93c28e98744
[D 10:39:22.766 NotebookApp] Connecting to: tcp://127.0.0.1:37725
[D 10:39:23.606 NotebookApp] activity on 2cb1e968-4e18-48c2-bf8a-d93c28e98744: status (starting)
[D 10:39:23.608 NotebookApp] activity on 2cb1e968-4e18-48c2-bf8a-d93c28e98744: status (busy)
[D 10:39:23.609 NotebookApp] activity on 2cb1e968-4e18-48c2-bf8a-d93c28e98744: status (idle)
[D 10:39:23.610 NotebookApp] Received kernel info: {'status': 'ok', 'protocol_version': '5.3', 'implementation': 'ipython', 'implementation_version': '8.1.1', 'language_info': {'name': 'python', 'version': '3.10.2', 'mimetype': 'text/x-python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'pygments_lexer': 'ipython3', 'nbconvert_exporter': 'python', 'file_extension': '.py'}, 'banner': "Python 3.10.2 (main, Jan 15 2022, 19:56:27) [GCC 11.1.0]\nType 'copyright', 'credits' or 'license' for more information\nIPython 8.1.1 -- An enhanced Interactive Python. Type '?' for help.\n", 'help_links': [{'text': 'Python Reference', 'url': 'https://docs.python.org/3.10'}, {'text': 'IPython Reference', 'url': 'https://ipython.org/documentation.html'}, {'text': 'NumPy Reference', 'url': 'https://docs.scipy.org/doc/numpy/reference/'}, {'text': 'SciPy Reference', 'url': 'https://docs.scipy.org/doc/scipy/reference/'}, {'text': 'Matplotlib Reference', 'url': 'https://matplotlib.org/contents.html'}, {'text': 'SymPy Reference', 'url': 'http://docs.sympy.org/latest/index.html'}, {'text': 'pandas Reference', 'url': 'https://pandas.pydata.org/pandas-docs/stable/'}]}
[D 10:39:23.610 NotebookApp] 101 GET /api/kernels/2cb1e968-4e18-48c2-bf8a-d93c28e98744/channels?session_id=9c504eb953f64ad68fb3aed5d235eae4 (::1) 848.630000ms
[D 10:39:23.611 NotebookApp] Opening websocket /api/kernels/2cb1e968-4e18-48c2-bf8a-d93c28e98744/channels
[D 10:39:23.611 NotebookApp] Getting buffer for 2cb1e968-4e18-48c2-bf8a-d93c28e98744
[D 10:39:23.611 NotebookApp] Connecting to: tcp://127.0.0.1:49825
[D 10:39:23.612 NotebookApp] Connecting to: tcp://127.0.0.1:37725
[D 10:39:23.612 NotebookApp] Connecting to: tcp://127.0.0.1:47067
[D 10:39:23.612 NotebookApp] Connecting to: tcp://127.0.0.1:34511
[D 10:39:23.613 NotebookApp] Connecting to: tcp://127.0.0.1:37725
[D 10:39:23.613 NotebookApp] Connecting to: tcp://127.0.0.1:47067
[D 10:39:23.614 NotebookApp] Nudge: attempt 1 on kernel 2cb1e968-4e18-48c2-bf8a-d93c28e98744
[D 10:39:23.618 NotebookApp] activity on 2cb1e968-4e18-48c2-bf8a-d93c28e98744: status (busy)
[D 10:39:23.618 NotebookApp] Nudge: IOPub received: 2cb1e968-4e18-48c2-bf8a-d93c28e98744
[D 10:39:23.618 NotebookApp] Nudge: resolving iopub future: 2cb1e968-4e18-48c2-bf8a-d93c28e98744
[D 10:39:23.621 NotebookApp] activity on 2cb1e968-4e18-48c2-bf8a-d93c28e98744: status (busy)
[D 10:39:23.622 NotebookApp] activity on 2cb1e968-4e18-48c2-bf8a-d93c28e98744: status (idle)
[D 10:39:23.623 NotebookApp] activity on 2cb1e968-4e18-48c2-bf8a-d93c28e98744: status (idle)
[D 10:39:23.624 NotebookApp] Nudge: shell info reply received: 2cb1e968-4e18-48c2-bf8a-d93c28e98744
[D 10:39:23.624 NotebookApp] Nudge: resolving shell future: 2cb1e968-4e18-48c2-bf8a-d93c28e98744
[D 10:39:23.624 NotebookApp] Nudge: control info reply received: 2cb1e968-4e18-48c2-bf8a-d93c28e98744
[D 10:39:23.631 NotebookApp] activity on 2cb1e968-4e18-48c2-bf8a-d93c28e98744: status (busy)
[D 10:39:23.636 NotebookApp] activity on 2cb1e968-4e18-48c2-bf8a-d93c28e98744: status (idle)
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.control
[IPKernelApp] WARNING | No such comm: 4c82a5a2-dadd-4337-ae62-80ca6a964d0f
[D 10:39:23.643 NotebookApp] activity on 2cb1e968-4e18-48c2-bf8a-d93c28e98744: status (busy)
[D 10:39:23.647 NotebookApp] activity on 2cb1e968-4e18-48c2-bf8a-d93c28e98744: comm_close
[D 10:39:23.650 NotebookApp] activity on 2cb1e968-4e18-48c2-bf8a-d93c28e98744: status (idle)
[D 10:39:23.654 NotebookApp] activity on 2cb1e968-4e18-48c2-bf8a-d93c28e98744: status (busy)
[D 10:39:23.657 NotebookApp] activity on 2cb1e968-4e18-48c2-bf8a-d93c28e98744: status (idle)
[D 10:39:23.673 NotebookApp] activity on 2cb1e968-4e18-48c2-bf8a-d93c28e98744: status (busy)
[D 10:39:23.676 NotebookApp] activity on 2cb1e968-4e18-48c2-bf8a-d93c28e98744: status (idle)

Last edited by GuntherOnFire (2022-03-18 07:47:15)

Offline

#5 2022-03-18 07:55:01

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,147

Re: Cannot render Math/LaTeX in Jupyter Notebook

Please remove all manual configuration you may have done. This is supposed to work out of the box.

Offline

#6 2022-03-18 08:02:10

GuntherOnFire
Member
Registered: 2022-03-17
Posts: 3

Re: Cannot render Math/LaTeX in Jupyter Notebook

Everything's working now. Thank you very much!

Offline

Board footer

Powered by FluxBB