Substra / substra-documentation

Documentation of the Substra software
https://docs.substra.org/
Apache License 2.0
21 stars 10 forks source link

[BUG] myst_parser : No module named 'attr' #166

Open Fabien-GELUS opened 1 year ago

Fabien-GELUS commented 1 year ago

Describe the bug

Exception occurred:
  File "/Users/fgelus/.virtualenvs/substra-doc-3.8/lib/python3.8/site-packages/myst_parser/main.py", line 3, in <module>
    import attr
ModuleNotFoundError: No module named 'attr'

How To Reproduce

Expected behavior

Give a clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

Get it with uname -a on Linux and system_profiler SPSoftwareDataType on Mac

Additional context

Fabien-GELUS commented 1 year ago

Solution 1: pip install attrs

But the best would be to upgrade myst-parser to the latest version, and apply the breaking changes: https://myst-parser.readthedocs.io/en/latest/develop/_changelog.html#markdown-link-resolution-improvements