4

I tried running the mkdocs serve command on the windows command prompt but it wasn't working. I get the following error:

INFO    -  Building documentation...
ERROR   -  Config value: 'markdown_extensions'. Error: Failed loading extension "mdx_math".

Aborted with 1 Configuration Errors!

I then noticed that my terminal directory wasn't on the mkdocs.yml file as stated in the MkDocs Website but when I ran cd command to change the directory to the mkdocs.yml, I got the following error:

The directory name is invalid.
How do I fix this?
James Huang
  • 848
  • 1
  • 7
  • 35
Aiden Chow
  • 391
  • 6
  • 17

2 Answers2

0

It appears that your extension isn't installed.

Try: pip install mdx_math

Allan Bowe
  • 12,306
  • 19
  • 75
  • 124
0

Please install the missing extensions by

pip install python-markdown-math
Arjun Kumar
  • 172
  • 3
  • 16