(Sorry for the many questions, but since I cannot reproduce the error on my system, this is the only way I can figure out what is going wrong. I hope you understand, even if this might be somewhat annoying.) The line "No module named 'markups.mdx_mathjax..." may be worth pursuing further. Can you please let me know what happens when you run the following from a terminal: python3 -c "import markups.mdx_mathjax as mj; print(mj.MathExtension)" (On mine, I get <class 'markups.mdx_mathjax.MathExtension'> as the output.)