d2l是字母d,数字2,字母l的组合
【不是数字1】
解决办法:
直接在Anaconda中的Prompt里面输入pip install -U d2l
或者在每次程序运行之前,都输入一个!pip install -U d2l
如果下载成功,重启jupyter就行
如果报错:
ERROR: Could not install packages due to an EnvironmentError:
[WinError 5] 拒绝访问。:
‘D:\Anaconda3\Lib\site-packages\~umpy\core\_multiarray_tests.cp38-win_amd64.pyd’
Consider using the--user
option or check the permissions.
那就换个命令:pip install --user d2l
,完成后重启jupyter即可使用