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
相关推荐
hui函数1 天前
如何解决 pip install 代理报错 SOCKS5 握手失败 ReadTimeoutError 问题
bug·pip
雪风飞舞1 天前
conda 常用命令
linux·windows·conda
惊讶的猫1 天前
vscode+conda
ide·vscode·conda
arthur.dy.lee1 天前
在pycharm中使用powershell7解决conda,ohmyposh报错的问题
ide·pycharm·conda
num_killer1 天前
小白的uv包管理工具使用
python·conda·pip·uv
hui函数2 天前
如何解决 pip install SSL 报错 ValueError check_hostname requires server_hostname 问题
ssl·pip
hui函数2 天前
如何解决 pip install 报错 pip.conf 配置项无效(unknown command ‘use-feature’)问题
pip
NiceZack2 天前
pip与conda换国内源
conda·pip
love530love2 天前
EPGF 新手教程 11在 PyCharm(中文版 GUI)中创建 uv 环境,并把 uv 做到“项目自包含”(工具本地化为必做环节)
ide·人工智能·python·pycharm·conda·uv·epgf
极客小云3 天前
【Python pip换源教程:国内镜像源配置方法(清华/阿里云/中科大源)】
开发语言·python·pip