当前位置:网站首页>1.5 conda的使用
1.5 conda的使用
2022-06-27 03:51:00 【LetsStudy】
1、https://docs.conda.io/en/latest/miniconda.html
这边使用的是轻量的miniconda,windows程序直接下载安装即可
2、conda常用操作
a.查询已有的环境,默认只有base
conda env list
b.新建环境,test环境名称
conda create -n test python=3.8.5 -y
c.进入环境
activate test
d.退出环境
deactivate
e.安装依赖,比如说安装pytest
conda install pytest
f.删除环境
conda remove -n test --all -y
g.克隆环境
conda create -n testclone --clone test
h.导出依赖清单
conda list -e > requirements.txt//导出
conda install --yes --file requirements.txt//安装
3、新建项目,并使用虚拟环境
activate test//激活虚拟环境
mkdir test//创建项目
cd test
conda install requests
这个时候用pycharmm打开项目,就无须在setting中配置了
边栏推荐
- 2020:MUTANT: A Training Paradigm for Out-of-Distribution Generalizationin Visual Question Answering
- Easy to use plug-ins in idea
- PAT甲级 1020 Tree Traversals
- windows上安装MySQL
- 乐得瑞LDR6035 USB-C接口设备支持可充电可OTG传输数据方案。
- IDEA中好用的插件
- Pat grade a 1018 public bike management
- 敏捷开发篇--Agile Development-自用
- How can e-commerce products be promoted and advertised on Zhihu?
- fplan-布局
猜你喜欢
How to make ef core 6 support dateonly type
2016Analyzing the Behavior of Visual Question Answering Models
为什么 C# 访问 null 字段会抛异常?
使用promise的基本功能【四、Promise源码】
Il manque beaucoup de fichiers et de répertoires tels que scripts pendant et après l'installation d'anaconda3
2021:adavqa: overlapping language priors with adapted margin cosine loss *
MySql的开发环境
PostgreSQL基础命令教程:创建新用户admin来访问PostgreSQL
Uni-app 之uParse 富文本解析 完美解析富文本!
静态时序分析-OCV和time derate
随机推荐
IDEA中好用的插件
Is the money invested in financial products guaranteed? Is there no more?
2021:Beyond Question-Based Biases:Assessing Multimodal Shortcut Learning in Visual Question Answeri
与STM32或GD32替换说明
resnet152 辣椒病虫害图像识别1.0
静态时序分析-OCV和time derate
PAT甲级 1024 Palindromic Number
解码苹果手机证书文件方法
快速掌握 ASP.NET 身份认证框架 Identity - 通过邮件重置密码
PostgreSQL basic command tutorial: create a new user admin to access PostgreSQL
办公室VR黄片,骚操作!微软HoloLens之父辞职!
文旅灯光秀打破时空限制,展现景区夜游魅力
mysql数据库基础:DQL数据查询语言
事业观、金钱观与幸福观
Topolvm: kubernetes local persistence scheme based on LVM, capacity aware, dynamically create PV, and easily use local disk
There are two problems when Nacos calls microservices: 1 Load balancer does not contain an instance for the service 2. Connection refused
Kotlin compose implicitly passes the parameter compositionlocalprovider
Pat grade a 1023 have fun with numbers
Il manque beaucoup de fichiers et de répertoires tels que scripts pendant et après l'installation d'anaconda3
PAT甲级 1025 PAT Ranking