readthedocs / recommonmark

A markdown parser for docutils
https://recommonmark.readthedocs.io/
MIT License
340 stars 252 forks source link

Upgrading of commonmark dependency is broken on Mac OS #154

Closed kislyuk closed 2 years ago

kislyuk commented 5 years ago

When following the instructions in https://www.sphinx-doc.org/en/master/usage/markdown.html, I get the following error from Sphinx:

>make html
Running Sphinx v2.0.1

Exception occurred:
  File ".venv/lib/python3.6/site-packages/recommonmark/parser.py", line 9, in <module>
    from commonmark import Parser
ModuleNotFoundError: No module named 'commonmark'

Looking in the site-packages directory, there is a subdirectory called CommonMark, but no commonmark.

kislyuk commented 5 years ago

Upon further investigation, this appears to happen whenever upgrading in an existing environment with an older installation of commonmark. The package works when installed in a clean virtualenv.