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
相关推荐
ken223211 小时前
怎样选择 python 包管理器 pip, uv, conda ?
pip·uv
xiaotao13112 小时前
阶段零:Python 安装与虚拟环境(venv / Conda)
开发语言·人工智能·python·conda
KANGBboy1 天前
anaconda 相关
python·conda
万粉变现经纪人2 天前
如何解决 pip install tensorflow-gpu 报错 未检测到 CUDA 驱动 问题
人工智能·python·深度学习·aigc·tensorflow·bug·pip
baidu_huihui2 天前
在 CentOS 9 上安装 pip(Python 的包管理工具)
开发语言·python·pip
万粉变现经纪人2 天前
如何解决 import aiohttp ModuleNotFoundError: No module named ‘aiohttp’
python·scrapy·beautifulsoup·aigc·pillow·pip·httpx
qq_白羊座2 天前
‌Miniconda 和 Conda 的关系
conda
万粉变现经纪人2 天前
如何解决 pip install ta-lib 报错 本地 TA-Lib 库未安装 问题
数据库·python·scrapy·oracle·bug·pandas·pip
tryCbest4 天前
Pip生成requirements.txt文件
python·pip
萧行之4 天前
CONDA设置、查看、管理源
conda