当前位置:网站首页>安装anaconda并创建虚拟环境
安装anaconda并创建虚拟环境
2022-08-03 19:24:00 【friedrichor】
1. 安装ANACONDA
进入anaconda官网:https://www.anaconda.com/
点击下载
点击下载后的exe文件(如Anaconda3-2022.05-Windows-x86_64.exe)
安装流程:



选择安装路径

下面这里全选



这样就安装完成了。
2. 创建虚拟环境
在 cmd 里输入:conda create -n NAME python==3.7.5
其中NAME
为你想定义的虚拟环境的名字,后面的python版本根据需求修改即可。
进入虚拟环境:
在cmd输入 activate NAME
进入到刚刚创建的虚拟环境中:
进入到虚拟环境后可输入 python
查看python版本
输入 exit()
即可退出编译环境。
如果需要安装包可直接使用 pip install 需要安装的包
,具体使用流程可查看:python中pip 安装、升级、升级固定的包
创建完虚拟环境后就可以在 pycharm 等编译器中设定环境为该虚拟环境。
边栏推荐
- U-Net生物医学图像分割讲解(Convolutional Networks for BiomedicalImage Segmentation)
- 力扣刷题之有效的正方形(每日一题7/29)
- Unity gets the actual coordinates of the ui on the screen under the canvas
- Radondb mysql installation problems
- 入门3D建模基础教程详细分解
- redis常用命令,HSET,XADD,XREAD,DEL等
- 手把手教你定位线上MySQL慢查询问题,包教包会
- Don't look down upon the WebSocket!Long connection, stateful, two-way, full-duplex king is Fried
- 【WPS-OFFICE-Word】 WPS中样式的运作原理?样式自动更新、自动改变如何处理?样式的管理方法?
- Web项目中简单使用线程池
猜你喜欢
LeetCode 952. Calculate Maximum Component Size by Common Factor
手把手教你定位线上MySQL慢查询问题,包教包会
设备树基本原理与操作方法
ctfshow php features
Protobuf Grpc使用异常 类型有未导出的方法,并且是在不同的软件包中定义
建模该从哪一步开始?给你分析,给零基础的你一些学习建议
Handler 源码解析
开发即时通讯到底需要什么样的技术,需要多久的时间
Network protocol-TCP, UDP difference and TCP three-way handshake, four wave
Reveal how the five operational management level of hundreds of millions of easily flow system
随机推荐
【木马免杀】
系统太多,多账号互通如何实现?
京东云发布新一代分布式数据库StarDB 5.0
LeetCode 952. Calculate Maximum Component Size by Common Factor
G6尝试 学习
手把手教你定位线上MySQL慢查询问题,包教包会
设备树基本原理与操作方法
Execute the mysql script file in the docker mysql container and solve the garbled characters
ScrollView嵌套RV,滑动有阻力不顺滑怎么办?
InnoDB 中不同SQL语句设置的锁
ctfshow php features
The ecological environmental protection management system based on mobile GIS
安装radondb mysql遇到问题
Climbing Stairs (7/30)
Postgresql快照优化Globalvis新体系分析(性能大幅增强)
傅里叶变换(深入浅出)
Word另存为PDF后无导航栏解决办法
APT级全面免杀与企业纵深防御体系的红蓝对抗
力扣解法汇总899-有序队列
Handler source code analysis