Skip to content

Dependency issue when building docs according to instructions #2893

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

Closed
jbusecke opened this issue Apr 15, 2019 · 1 comment · Fixed by #2897
Closed

Dependency issue when building docs according to instructions #2893

jbusecke opened this issue Apr 15, 2019 · 1 comment · Fixed by #2897

Comments

@jbusecke
Copy link
Contributor

Code Sample, a copy-pastable example if possible

I was following the instructions to build the docs locally, using xarray/ci/requirements-py36 as test environment.

When running make html in the xarray/doc folder, I get this:

xarray: 0.12.1+9.gfad6d624.dirty, /Users/juliusbusecke/Work/CODE/PYTHON/xarray/xarray/__init__.py

Extension error:
Could not import extension IPython.sphinxext.ipython_directive (exception: No module named 'IPython')
make: *** [html] Error 2
(test_env)

After installing ipython with conda install ipython, the build works properly.

Should this line conda install -c conda-forge sphinx sphinx_rtd_theme sphinx-gallery numpydoc be updated to:
conda install -c conda-forge sphinx sphinx_rtd_theme sphinx-gallery numpydoc ipython ?

Or am I overlooking something?

@dcherian
Copy link
Contributor

There is an environment.yml file in the doc folder that contains ipython, so yes that line should be fixed. PR? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants