"Deep Learning" No module named'd2lzh'/No module named'mxnet'

It is the first time to execute deep learning code in jupyter notebook. Error: No module named'd2lzh'

Just execute the pip install d2lzh command.

Then run, and report an error:

Similarities and minor  differences: just execute the pip install mxnet command, the download is a bit long, and wait patiently.

No, I found that I waited too long... After waiting for more than half an hour, and the read time out was interrupted when the network was bad, I vomited and downloaded it three or four times.

I plan to change the method to download:

Using Tsinghua's mirror image: (I finally found a successful one after trying many methods)

input the command:

pip install --index-url https://pypi.tuna.tsinghua.edu.cn/simple/ lightgbm

Then report an error: saying that my numpy version is wrong

I will upgrade numpy: pip install -U numpy

Install it again: no error is reported

Finally mxnet is installed! ! Finally no error is reported in juypter notebook! congratulations!

↓↓ ↓↓ feel useful, give me a like! ! !

Guess you like

Origin blog.csdn.net/weixin_41950078/article/details/109256354