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
相关推荐
王 富贵21 小时前
Conda常用命令大全
windows·conda
慕无言1 天前
pycharm2024选择conda环境
conda
HAPPY酷2 天前
Flutter 开发环境搭建全流程
android·python·flutter·adb·pip
灯下夜无眠2 天前
conda打包环境上传spark集群
大数据·spark·conda
万粉变现经纪人3 天前
如何解决 pip install 编译报错 ‘cl.exe’ not found(缺少 VS C++ 工具集)问题
开发语言·c++·人工智能·python·pycharm·bug·pip
YuSun_WK4 天前
使用conda配置环境时遇到的问题
conda
Caven774 天前
【Linux 技巧】如何在登录时自动激活 Conda Base 环境
linux·运维·conda
梁辰兴4 天前
PyCharm使用了Conda的虚拟环境创建的的Python项目,下载库(包)到该项目的虚拟环境中
python·pycharm·conda·错误·异常·异常报错
qq_203769494 天前
在conda环境中使用jupyter
python·jupyter·conda
爱吃面条的猿5 天前
Python修改pip install 指定安装包的路径和默认镜像源
linux·python·pip