Open mmtrebuchet opened 5 years ago
thanks! I need to setup the documentation yaml file.
Hi there, I am running into errors with 'make build' as well. After downloading pydoc-markdown and pydocmd, I get this error:
make build
mkdir -p theme_dir/img/ipynb/
./render_ipynb.bash
pydocmd build
/homes/gws/nchand/miniconda3/bin/pydocmd:28: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
Traceback (most recent call last):
File "/homes/gws/nchand/miniconda3/bin/pydocmd", line 228, in <module>
file_i = insp_file(in_f)
File "/homes/gws/nchand/miniconda3/bin/pydocmd", line 54, in insp_file
mod_inst = imp.load_source('', file_name)
File "/homes/gws/nchand/miniconda3/lib/python3.9/imp.py", line 171, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 711, in _load
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 846, in exec_module
File "<frozen importlib._bootstrap_external>", line 982, in get_code
File "/homes/gws/nchand/miniconda3/lib/python3.9/imp.py", line 157, in get_data
return super().get_data(path)
File "<frozen importlib._bootstrap_external>", line 1039, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'build'
make: *** [build] Error 1
I am not sure if I am somehow missing the build file or if there was an error in my setup that led to this. Any advice would be appreciated!
(I'm using the bpnet conda environment, git commit de99967aa5) In bpnet/docs,
I then installed pydoc-markdown (pip install pydoc-markdown), and now I get (home directory replaced with ~):