《深度学习》No module named ‘d2lzh‘/No module named ‘mxnet‘
第一次在jupyter notebook执行深度学习的代码。报错:No module named 'd2lzh'
执行pip install d2lzh命令即可。
接着运行,又报错:
大同小异:执行pip install mxnet 命令即可、下载有点久、耐心等待。
不行、我发现等太久了……等了半个多小时、还read time out 网络不良的时候中断下载,我吐了、下了三四遍、
打算换一下方法下载:
用清华的镜像:(试了n多种方法之后终于找到一种成功的了)
输入命令:
pip install --index-url https://pypi.tuna.tsinghua.edu.cn/simple/ lightgbm
然后报错:说我的numpy版本不对
我就升级一下numpy:pip install -U numpy
再安装一下:就没有报错了
终于安装好了mxnet!!在juypter notebook终于也不报错了!可喜可贺!
↓↓ ↓↓觉得有用给我点个赞吧!!!