-
Notifications
You must be signed in to change notification settings - Fork 511
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
a problem in tutorial #428
Comments
I don't get this error, are you using the latest version of nbdev as well as the latest template? |
I did not set the lib_name, use, author, author_email, branch. Maybe that will cause that. And when I run nbdev_build_doc, it cause an another problem.
How did I fix that? WSL2, Ubuntu20.04, under Anaconda base ENV |
I tested a fresh repo after following the tutorial with the latest nbdev release and everything works for me. https://github.com/hamelsmu/test-nbdev I did the following steps:
Everything works as expected. I suggest you upgrade to the latest version on GitHub
Let us know if this doesn't fix your errors any issues. cc: @jph00
yes you need to edit your settings.ini per the tutorial. These are required values. You also need to run Furthermore, you need to follow the tutorial carefully, the tutorial tells you to edit the notebooks I would suggest slow down and follow all the steps in the tutorial. If you skip a step you will encounter problems |
I found the reason. The Anaconda's default nbdev version is 0.2.40 ' pip3 install -U nbdev' fixed that.
Addtional mention, when I run 'pip3 install nbdev', it not worked on ubuntu20.04 under wsl2. So I install nbdev by install anaconda first, then use 'conda install -c fastai nbdev', it succeed. and then because of default nbdev version is 0.2.40 in conda, an error "'HTMLExporter' object has no attribute 'template_path'" occured. But 'pip3 install -U nbdev' fixed that. All this makes me a little dizzy. Strongly suggest everyone should run 'pip install -U nbdev' or 'pip3 install -U nbdev' after install nbdev by anaconda, can you kindly metion this in the tutorial or install instruction? @hamelsmu |
@yunlongYoung that is realy interesting. Do you mind opening an issue specifically about the problems you are experiencing with conda? Thanks so much! |
When I run nbdev_build_lib followed the turorial,it runs to be a
The nbdev lack a
/_data
directory undernbdev_template/doc
, this need fix.The text was updated successfully, but these errors were encountered: