Unable to make Sphinx Doc without chainer.Backend
See original GitHub issueReproduced both with and without CuPy and a useable GPU.
crissman@GPCL-GPU102:~/chainer/docs$ make html
sphinx-build -b html -d build/doctrees -W source build/html
Running Sphinx v1.8.3
making output directory...
[autosummary] generating autosummary for: chainermn/index.rst, chainermn/installation/guide.rst, chainermn/installation/index.rst, chainermn/installation/troubleshooting.rst, chainermn/model_parallel/example1_simple_mlp.rst, chainermn/model_parallel/example2_seq2seq.rst, chainermn/model_parallel/example3_parallel_conv.rst, chainermn/model_parallel/example4_ensemble.rst, chainermn/model_parallel/index.rst, chainermn/model_parallel/model_parallel_on_chainermn.rst, ..., reference/util/algorithm.rst, reference/util/conv.rst, reference/util/cuda.rst, reference/util/experimental.rst, reference/util/reporter.rst, reference/util/sparse.rst, reference/variable.rst, tips.rst, upgrade.rst, upgrade_v2.rst
Warning, treated as error:
[autosummary] failed to import 'chainerx.Backend': no module named chainerx.Backend
Makefile:56: recipe for target 'html' failed
make: *** [html] Error 2
crissman@GPCL-GPU102:~/chainer/docs$ python
Python 3.5.2 |Anaconda 4.2.0 (64-bit)| (default, Jul 2 2016, 17:53:06)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import chainerx
>>> type(chainerx.backend)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'chainerx' has no attribute 'backend'
Backend appears to reside in chainerx_cc/ and not chainerx/. Can sphinx docs be made without compiling?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Sphinx is not able to import anything
I ended up restructuring my project so that the docs directory is at the same level as my project directory that contains all...
Read more >Configuration
If set to a major.minor version string like '1.1' , Sphinx will compare it with its version and refuse to build if it...
Read more >Sphinx Documentation
Most Windows users do not have Python installed by default, so we begin with the installation of Python itself. If you are unsure, ......
Read more >Define your own function
Useful tools to write a function using a GPU. How to test the function definition. After reading this section, you will be able...
Read more >Getting Started with the LLVM System
Can include: compiler-rt, libc, libcxx, libcxxabi, libunwind, or openmp. LLVM_ENABLE_SPHINX, Build sphinx-based documentation from the source code. This is ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For testing purposes, you can use
SPHINXOPTS= make html
to temporary avoid the error. The built documentation is incomplete (ChainerX part will become blank).This issue is closed as announced. Feel free to re-open it if needed.