79587491

Date: 2025-04-22 21:48:40
Score: 0.5
Natty:
Report link

I finally found the issues. Firstly, I had to add all the dependent packages in the requirements.txt in the docs directory. In my case I had the following

mpi4py
colossus
numpy
scipy
sphinx
sphinx_rtd_theme
numpydoc
sphinx-autoapi

Next, under the python section and install subsection, add

- method: pip
  path: .

If it weren't for mpi4py, everything would work fine. However, since mpi4py needs additional libraries installed, we need to add

apt_packages:
  - libopenmpi-dev

under the build section of .readthedocs.yaml file.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: DrMittal