Nbdev_test_nbs with Name Error

I got the name_erro as the display when running the nbdev_test.

It stopped there, after keyboard-interrupt, then it keeps running, then stopped again, then I hit ctrl-c again, then it has done with the test. I’ll go ahead and run nbdev_install_git_hooks. It’s running fine.
I have no problem running nb. I tried the 08_visiondata.
Get the following error in the first cell.
NameError Traceback (most recent call last)
1 #export
----> 2 from fastai2.torch_basics import *
3 from fastai2.data.all import *
4 from fastai2.vision.core import *

e:\fastai2\fastai2\torch_basics.py in
3 from .torch_imports import *
4 from .torch_core import *
----> 5 from .layers import *

e:\fastai2\fastai2\layers.py in
272 # Cell
–> 273 @log_args
274 @funcs_kwargs
275 class BaseLoss():

NameError: name ‘log_args’ is not defined

I appreciate any advice of fixing it.

Your error is the log_args, which was recently added to fastai2 and fastcore. Are you using the dev install of both fastai2 and fastcore?

Yes, I am following this:

git clone https://github.com/fastai/fastai2
cd fastai2
pip install -e ".[dev]"

Actually, maybe not. I know where can be the issue. Thank you for your prompt reply. I’ll tray install fastcore again.

Get this error message when Nbdev_test_nbs, after install fastcore:
e[1;31mPermissionErrore[0m: [Errno 13] Permission denied: ‘C:\Users\jerem\AppData\Local\Temp\tmppdp8b_q4’
PermissionError: [Errno 13] Permission denied: ‘C:\Users\jerem\AppData\Local\Temp\tmppdp8b_q4’

Traceback (most recent call last):
File “e:\anaconda3\envs\fastai2\lib\runpy.py”, line 193, in _run_module_as_main
main”, mod_spec)
File “e:\anaconda3\envs\fastai2\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File "E:\Anaconda3\envs\fastai2\Scripts\nbdev_test_nbs.exe_main
.py", line 7, in
File “e:\anaconda3\envs\fastai2\lib\site-packages\fastscript\core.py”, line 73, in _f
File “e:\anaconda3\envs\fastai2\lib\site-packages\nbdev\cli.py”, line 70, in nbdev_test_nbs
raise Exception(msg + ‘\n’.join([f.name for p,f in zip(passed,files) if not p]))
Exception: The following notebooks failed:

But now I have no problem running the notebook with fastai2. Thanks.