当前位置:网站首页>[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 !
边栏推荐
- Development of a horse tourism website (optimization of servlet)
- Deep dive kotlin synergy (XXII): flow treatment
- 接口测试要测试什么?
- Reentrantlock fair lock source code Chapter 0
- 国外众测之密码找回漏洞
- Basic mode of service mesh
- 【obs】Impossible to find entrance point CreateDirect3D11DeviceFromDXGIDevice
- Basic types of 100 questions for basic grammar of Niuke
- Hotel
- 华泰证券官方网站开户安全吗?
猜你喜欢

【GO记录】从零开始GO语言——用GO语言做一个示波器(一)GO语言基础

What if the testing process is not perfect and the development is not active?

Cve-2022-28346: Django SQL injection vulnerability

SDNU_ACM_ICPC_2022_Summer_Practice(1~2)

FOFA-攻防挑战记录

Langchao Yunxi distributed database tracing (II) -- source code analysis

玩转Sonar

Codeforces Round #804 (Div. 2)(A~D)

CVE-2022-28346:Django SQL注入漏洞

ThinkPHP kernel work order system source code commercial open source version multi user + multi customer service + SMS + email notification
随机推荐
Class head up rate detection based on face recognition
Introduction to paddle - using lenet to realize image classification method I in MNIST
AI遮天传 ML-初识决策树
第一讲:链表中环的入口结点
玩轉Sonar
Play sonar
Jemter distributed
CVE-2022-28346:Django SQL注入漏洞
How to add automatic sorting titles in typora software?
SDNU_ ACM_ ICPC_ 2022_ Summer_ Practice(1~2)
New library launched | cnopendata China Time-honored enterprise directory
浪潮云溪分布式数据库 Tracing(二)—— 源码解析
[Yugong series] go teaching course 006 in July 2022 - automatic derivation of types and input and output
Leetcode brush questions
New library online | information data of Chinese journalists
5G NR 系统消息
Cancel the down arrow of the default style of select and set the default word of select
Single machine high concurrency model design
Codeforces Round #804 (Div. 2)(A~D)
德总理称乌不会获得“北约式”安全保障