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

Cannot compile the documentation #2

Open
JurgisR opened this issue Nov 16, 2020 · 2 comments
Open

Cannot compile the documentation #2

JurgisR opened this issue Nov 16, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@JurgisR
Copy link

JurgisR commented Nov 16, 2020

Trying to compile the documentation.
Created a virtual environment for Olympus, cloned the olympus repo, installed olympus.
Installed requirements at documentation, missing modules in the requirements:

  • No module named 'sklearn' (installing manually)
  • Sqlite databases require sqlalchemy (missing module) (installing manually)
  • Plotter requires matplotlib, seaborn (installing manually)
  • No module named m2r (installing manually)

Error after installing these modules:
sphinx/registry.py", line 266, in add_source_parser for filetype in parser.supported: AttributeError: 'str' object has no attribute 'supported' make: *** [Makefile:21: html] Error 2

@matteoaldeghi matteoaldeghi added the bug Something isn't working label Nov 16, 2020
@matteoaldeghi
Copy link
Collaborator

I can confirm I have encountered the same issue. Interestingly I can compile the docs on my Mac in a conda env with python==3.7.3 and sphinx==2.3.1. I can share the whole env details if this may help.

@matteoaldeghi
Copy link
Collaborator

This issue seemed to be caused by this:
sphinx-doc/sphinx#8395

I updated the master branch to use m2r2 and the docs should compile now - I managed to compile them with m2r2==0.2.7

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

2 participants