【Python】pip和Anaconda添加清華鏡像源

一、pip添加清華鏡像源

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

二、Anaconda添加清華鏡像源

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

速度飛起~~

發佈了28 篇原創文章 · 獲贊 19 · 訪問量 2萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章