当前位置:网站首页>[reprint] solve the problem that CONDA installs pytorch too slowly
[reprint] solve the problem that CONDA installs pytorch too slowly
2022-07-08 00:53:00 【UQI-LIUWJ】
In the use of conda Yes pytorch When installing , Because the download of the original image is too slow , Even termination , The following solutions can be adopted
1. Add Tsinghua garden image :
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes( This command means from channel Displays when installing packages in channel Of url, In this way, you can know the installation source of the package )
2. Start installation pytorch, The default is already in pytorch The official website has got the order that meets your installation requirements , for example :
conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
Be careful : To install using the added image source , You need to put the last of the command -c pytorch Get rid of ;( Because this means downloading from the original image )
3. therefore , Direct execution :
conda install pytorch torchvision torchaudio cudatoolkit=10.2
4. Wait for the installation to complete !
边栏推荐
- 《因果性Causality》教程,哥本哈根大学Jonas Peters讲授
- Tapdata 的 2.0 版 ,开源的 Live Data Platform 现已发布
- Is it safe to open an account on the official website of Huatai Securities?
- Malware detection method based on convolutional neural network
- Hotel
- 取消select的默认样式的向下箭头和设置select默认字样
- 5G NR 系统消息
- 手机上炒股安全么?
- 新库上线 | CnOpenData中华老字号企业名录
- 3年经验,面试测试岗20K都拿不到了吗?这么坑?
猜你喜欢
随机推荐
基于卷积神经网络的恶意软件检测方法
玩轉Sonar
[C language] objective questions - knowledge points
RPA云电脑,让RPA开箱即用算力无限?
【obs】Impossible to find entrance point CreateDirect3D11DeviceFromDXGIDevice
Su embedded training - Day3
动态库基本原理和使用方法,-fPIC 选项的来龙去脉
华泰证券官方网站开户安全吗?
【愚公系列】2022年7月 Go教学课程 006-自动推导类型和输入输出
Semantic segmentation model base segmentation_ models_ Detailed introduction to pytorch
The method of server defense against DDoS, Hangzhou advanced anti DDoS IP section 103.219.39 x
Letcode43: string multiplication
Solution to the problem of unserialize3 in the advanced web area of the attack and defense world
Deep dive kotlin collaboration (the end of 23): sharedflow and stateflow
新库上线 | 中国记者信息数据
韦东山第三期课程内容概要
Is it safe to open an account on the official website of Huatai Securities?
爬虫实战(八):爬表情包
The standby database has been delayed. Check that the MRP is wait_ for_ Log, apply after restarting MRP_ Log but wait again later_ for_ log
How can CSDN indent the first line of a paragraph by 2 characters?