notebook: Mathjax js file not loading
I just loaded up a notebook that I last used with IPython < 4.0 and the MathJax math from SymPy output is failing to load. I’m getting this 404:
[W 16:47:28.747 NotebookApp] 404 GET /static/components/MathJax/jax/element/mml/optable/BasicLatin.js?rev=2.5.3 (127.0.0.1) 10.63ms referer=http://localhost:8888/notebooks/n01_dynamics_overview.ipynb
My previous method for installing MathJax was to do this:
In [1]: from IPython.external import mathjax
In [2]: mathjax.install_mathjax()
I see from some issues that that may not be correct anymore.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 6
- Comments: 19 (7 by maintainers)
Commits related to this issue
- Add Mathjax/jax/element/mml to package_data Closes gh-2780 Closes gh-1108 — committed to takluyver/notebook by takluyver 7 years ago
I have the same issue and solved it!
go to MathJax release page download MathJax 2.7.5 copy the file in
MathJax-2.7.5\jax
just downloaded topython37\Lib\site-packages\notebook\ static\components\MathJax\jax
and the notebook work well when renderer formula to svg!For the error message which not refer to this path, just copy&paste with corresponding path.
I had this same problem:
Workaround was to copy the
../TeX
folder from another MathJax installation into the right spot in thenotebook
folder withinsite-packages
.