03 安裝【動(dòng)手學(xué)深度學(xué)習(xí)v2】

本地安裝
wget https://zh-v2.d2l.ai/d2l-zh.zip
unzip d2l-zh.zip
jupyter notebook

Anaconda prompt 命令行中
使用命令:pip install jupyter d2l torch torchvision
環(huán)境配置博客推薦(來自評(píng)論區(qū)大佬)
1:2.1 環(huán)境配置 - Dive-into-DL-PyTorch (tangshusen.me)
2.動(dòng)手深度學(xué)習(xí)--windows環(huán)境安裝_諸葛三石的博客-CSDN博客
鏡像安裝
國內(nèi)云服務(wù)器 換國內(nèi)源 pip install xxx(包名) -i https://pypi.tuna.tsinghua.edu.cn/simple 清華鏡像
如:pip install jupyter -i https://pypi.tuna.tsinghua.edu.cn/simple
阿里云
pip install torch torchvision -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
我的方法是下載他的記事本文件j解壓放到安裝好的jupyter 安裝目錄下,cmd 切換到j(luò)upyter 的安裝目錄下再使用jupyter notebook命令打開notebook就可以啦,具體步驟如下





標(biāo)簽: