Lazy loaded image
技术分享
Python教学[01]-环境安装
Words 171Read Time 1 min
2026-4-17
2026-4-17
type
Post
status
Published
date
Apr 17, 2026
slug
summary
tags
category
技术分享
password

📝 主旨内容

步骤1

打开文件夹中的对应地址内容,下载Anaconda
notion image
安装Anaconda时卡在Setting up the package cache字样,建议关闭防火墙和杀毒软件,等待一会就可以安装成功。
 

步骤2

在搜索栏检索 Anaconda Prompt后点击进入cmd面板
notion image
在cmd中输入 conda create -n myenv python=3.10
notion image
 
后续输入Y后回车,确定操作,出现以下字样就是安装成功
notion image
 

步骤3

以Trae编辑器为例,使用快捷键Ctrl+Shift+P,搜索:
Python: Select Interpreter
notion image
安装完Trae对应插件后重启应用 即可出现相关安装的环境
notion image
 
上一篇
从零构建ERC20 MINT DEMO
下一篇
RAG中向量的作用是什么?