mbarkhau / markdown-katex

Adds KaTeX support for Python Markdown
MIT License
16 stars 10 forks source link

Can't import markdown_katex after installing #12

Closed damiensnyder closed 3 years ago

damiensnyder commented 3 years ago

I installed markdown_katex using pip, but when I run import markdown_katex or run python -m markdown_katex --version I get the error No module named markdown_katex. The package is successfully installed, and pip recognizes it as present. The folder for the module is present in the correct directory. But I am unable to import it. Does anyone know why this might happen or what I might do to fix this?

I am on MacOS Big Sur running Python 3.9.

damiensnyder commented 3 years ago

Ok I feel like a fool for solving this mere minutes after opening the issue, but I had to install this via python -m pip install markdown-katex instead of pip install markdown-katex. Then it worked. Hope this helps if someone ever has the same issue.