Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Fabien-GELUS opened this issue Sep 8, 2022 · 1 comment
Open

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

Fabien-GELUS opened this issue Sep 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Fabien-GELUS
Copy link
Contributor

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

  • Create a python 3.8.2 clean venv
  • follow the readme (install substra libs and requirements.txt)
  • run make clean html

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

  • Version, branch (branch and commit number)
    cf51e68
  • OS and version: [e.g. macOS Mojave version 10.14.4]
    MacOS monterey

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

  • Browser and version if relevant [e.g. Firefox, Chrome, Safari]
  • Any other relevant information [e.g. dependencies, version of Python, version of Go, ...]

Additional context

@Fabien-GELUS Fabien-GELUS added the bug Something isn't working label Sep 8, 2022
@Fabien-GELUS
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant