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
相关推荐
晓枫-迷麟13 小时前
【使用conda】安装pytorch
人工智能·pytorch·conda
拾回程序猿的圈圈∞2 天前
PyCharm项目和文件运行时使用conda环境的教程
windows·pycharm·conda
猫头虎3 天前
零基础安装 Python 教程:从下载到环境配置一步到位(支持 VSCode 和 PyCharm)与常用操作系统操作指南
vscode·python·pycharm·beautifulsoup·numpy·pyqt·pip
weixin_478689763 天前
【conda配置深度学习环境】
人工智能·深度学习·conda
是Dream呀4 天前
IPython 使用技巧整理
conda·文心一言·ipython
love530love4 天前
【笔记】2025 年 Windows 系统下 abu 量化交易库部署与适配指南
大数据·运维·人工智能·windows·笔记·python·conda
CC_IsMe6 天前
Linux服务器 TensorFlow找不到GPU
linux·jupyter·ssh·conda·tensorflow
不做无法实现的梦~6 天前
电脑用户名是中文,conda配置环境报错,该怎么解决
conda
代码讲故事7 天前
解决 xmlsec.InternalError: (-1, ‘lxml & xmlsec libxml2 library version mismatch‘)
linux·python·pip·lxml·xmlsec·libxml2
Python大数据分析@10 天前
Python包管理器 uv替代conda?
python·conda·uv