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
相关推荐
Warren9815 小时前
Pytest Fixture 作用域详解:Function、Class、Module、Session 怎么选
面试·职场和发展·单元测试·pytest·pip·模块测试·jira
没事儿写两篇2 天前
Anaconda 的开源替代软件 Miniforge
开源·conda·miniconda·miniforge
次旅行的库2 天前
不能将windows本地虚拟环境打包到实验室服务器
linux·windows·conda
云和数据.ChenGuang4 天前
python对接mysql和模型类的故障
数据库·python·mysql·oracle·conda·virtualenv
Clarice__4 天前
VScode上的python使用教程
vscode·python·conda
存在即合理L4 天前
Windows中安装Anaconda后如何在powershell使用conda activate命令
windows·conda
m0_647057964 天前
PyCharm 2023.2.5 Conda Interpreter 解析失败问题排查与解决(macOS)
macos·pycharm·conda
YelloooBlue4 天前
深度学习 SOP: conda通过命令快速构建指定版本tensorflow gpu环境。
深度学习·conda·tensorflow
小舞O_o5 天前
CondaError: Run ‘conda init‘ before ‘conda activate‘
linux·python·conda
Java后端的Ai之路5 天前
【Python小知识】-pip install xxx 命令安装的 ,在电脑的哪个盘?
开发语言·python·pip·pip install