conda、pip、npm、yarn换国内源

conda源

vbscript 复制代码
# conda源
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes

# 换回conda的默认源
conda config --remove-key channels

pip源

vbscript 复制代码
# pip源

# 永久换源
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/

# 临时换源安装matplotlib
pip install -i https://mirrors.aliyun.com/pypi/simple/ matplotlib 

npm源

vbscript 复制代码
npm config set registry https://registry.npmmirror.com

yarn源

vbscript 复制代码
yarn config set registry https://registry.npmmirror.com
相关推荐
deepin_sir1 天前
02 pip 与包管理基础——你的第一个包管理工具
pip
xing-xing1 天前
PIP工具学习总结
python·pip
消失的旧时光-19432 天前
第四篇:Point-In-Polygon 是什么?——机器人电子围栏核心算法
机器人·pip·rtk
DFT计算杂谈2 天前
KPROJ编译教程
java·前端·python·算法·conda
开发者联盟league3 天前
pip install出现报错ERROR: Cannot set --home and --prefix together
开发语言·python·pip
在路上@Amos4 天前
conda 安装
conda
神秘剑客_CN5 天前
ubuntu26.04音频转srt字幕
ubuntu·conda·whisperx
开发者联盟league6 天前
linux普通用户使用pip安装模块
linux·python·pip
九成宫7 天前
WSL2 网络优化配置:提升Git克隆与包下载速度
windows·笔记·代理模式·pip·wsl
m0_6174939410 天前
pip安装zxing-cpp报错“returned non-zero exit status 1”的完美解决方案
pip