Miniconda、Vscode下载和conda源、pip源设置

1、常用软件下载

1、Miniconda软件下载:

windows网址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/?C=S&O=A

2、最新版Miniconda下载网址:https://docs.conda.io/projects/miniconda/en/latest/

3、常用代码编辑器VsCode下载网址:https://code.visualstudio.com/download

2、conda源设置

设置conda源,先执行如下命令生成 .condarc文件

python 复制代码
conda config --set show_channel_urls yes

修改 .condarc文件,windows一般在C盘用户文件夹下,如下是个人常用的源

python 复制代码
channels:
  - defaults
show_channel_urls: true
default_channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:
  conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  pytorch-lts: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud

3、pip源设置

设为全局默认命令

python 复制代码
百度源
pip config set global.index-url https://mirror.baidu.com/pypi/simple

设置清华源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

python 复制代码
pip config set global.extra-index-url "<url1> <url2>..."
请自行替换引号内的内容,源地址之间需要有空格
相关推荐
Howrun77714 分钟前
VSCode烦人的远程交互UI讲解
ide·vue.js·vscode
Ashley的成长之路37 分钟前
2025 年最新:VSCode 中提升 React 开发效率的必备插件大全
ide·vscode·react.js·工作提效·react扩展
m0_555762901 小时前
VSCODE CLAUDE CODE
ide·vscode·编辑器
jun_bai10 小时前
VSCode使用
ide·vscode·编辑器
CYpdpjRnUE11 小时前
MPU9250模块SPI驱动程序:原始数据读取与I2C主机模式配置AK8963磁力计教程
pip
猫头虎12 小时前
OpenClaw-VSCode:在 VS Code 里玩转 OpenClaw,远程管理+SSH 双剑合璧
ide·vscode·开源·ssh·github·aigc·ai编程
CaracalTiger14 小时前
OpenClaw-VSCode:在 VS Code 中通过 WebSocket 远程管理 OpenClaw 网关的完整方案
运维·ide·人工智能·vscode·websocket·开源·编辑器
TTGGGFF15 小时前
UV详解:替代pip、conda的下一代Python包与环境管理工具
conda·pip·uv
-嘟囔着拯救世界-15 小时前
【2026 最新版】OpenAI 祭出王炸 GPT-5.3-Codex!Win11 + VSCode 部署保姆级教程
vscode·gpt·chatgpt·node.js·node·codex·gpt5
嵌入小生0071 天前
标准IO---核心函数接口延续(嵌入式Linux)
c语言·vscode·vim·嵌入式·小白·标准io·函数接口