-
Notifications
You must be signed in to change notification settings - Fork 156
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] Pandoc installation missing in documentation build page #2467
Comments
I think a simple fix would be to add pandoc as a dependency in the developer/documentation install options in the |
@baraline Sorry for not mentioning this in the original issue, but I had to fix it using It might be just for my system, I'm not sure though. I have mentioned the error logs in the original message, however, if you want, I can try rebuilding the docs in a different system and provide logs. |
That would be great if you could, so we can know if it is OS related or not |
So I tried following the installation and documentation build steps on a fresh installation of Ubuntu (latest stable) (on wsl2) and I got the same error:
I ran the following commands (in order): python3 -m venv venv pip install --editable .[dev] pip install --editable .[docs] cd docs make html After doing a bit of research, it turns out Finally, I tried installing
This resulted in a successful build, and I was able to view all the build files. |
Thanks ! It would be nice to add this solution to the docs specifying the error and the resolution. Don't know how it will go on Windows tho, we'll document it when we encounter the issue I guess. |
I tried following the installation too, and it exited with the same error message: Notebook error:
PandocMissing in examples/anomaly_detection/anomaly_detection.ipynb:
Pandoc wasn't found.
Please check that pandoc is installed:
https://pandoc.org/installing.html
make: *** [html] Error 2 System info: Mac M1 Air (MacOS Sonoma) |
Sure @baraline So should I proceed to add a note in the developer guide in the documentation section? It'll be preferably in this section: https://www.aeon-toolkit.org/en/stable/developer_guide/documentation.html#documentation-build |
@inclinedadarsh yes please, thank, not much free time for coding recently! 😄 You could refer to pandoc installation guide aswell (https://pandoc.org/installing.html) @shreyap2702 do a |
Sure. I'll submit a PR soon about it. |
@aeon-actions-bot assign @inclinedadarsh |
yes, |
Never seen this before but I dev on Windows so its basically a different world 🙂. Happy to have a step or troubleshooting section which helps with this given that multiple people are having the issue. |
Hello @baraline & @MatthewMiddlehurst Please review it and let me know if any other changes are required. |
Describe the issue
While following the Developer's guide for building documentation, after running the command
make html
, it gives the following error:Which suggests Pandoc is missing
Suggest a potential alternative/fix
Simply installing pandoc worked on my system.
A simple note regarding this in the Developer's guide for building documentation should work, but I believe there can be better solutions.
Additional context
I would be happy to work on this issue.
The text was updated successfully, but these errors were encountered: