当前位置:网站首页>CONDA common commands
CONDA common commands
2022-07-27 20:22:00 【laluneX】
One 、 New environment
1. Create an environment
conda create -n yourEnv python=3.9
–n: It can also be written as -name,yourEnv Is the name of the newly created virtual environment , Created , Can be in anaconda/envs Find a new environment
python=3.9: yes python Version number of , You can specify
If you want to install... While creating the environment python Some of my bags :
conda create -n yourEnv python=3.6 numpy pandas
If you want to create your own environment based on others' virtual environment :
conda create -n <yourEnv> --clone <baseEnv>
2. Activation and exit
activate yourEnv
deactivate yourEnv
3. Look at the environment
Export all environments , It has * Number is the current environment
conda info --envs # Same as conda env list equally
4. Package related operations
Check the packages and versions installed in the current environment
conda list
Install or remove numpy and sklearn package
conda install numpy scikit-learn
conda uninstall numpy scikit-learn
5. Delete environment
conda env remove -n yourEnv
6. Source operation
View source
conda config --show-sources
Add installation source
- Pay attention to the installation PyTorch, The installation order given by the official website needs to remove the last -c pytorch, To use Tsinghua source
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
Remove installation source
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
Two 、 other
1. quote
- https://blog.csdn.net/SARACH_WONG/article/details/89328307
- https://blog.csdn.net/David_jiahuan/article/details/104544957
This article is only for personal learning and recording , Tort made delete
边栏推荐
- Pyqt5 rapid development and practice 4.3 qlabel and 4.4 text box controls
- slf4j简介说明
- Membership card head assembly usage document
- 同源与跨域
- Redis hash structure command
- Rodin installs the SMT solvers plug-in
- Redis thing learning
- 内置函数锁相关
- ES6 deleting attributes of objects_ ES6 delete an element "suggested collection" in the object
- 1.2 pedestrian recognition based on incremental generation of occlusion and confrontation suppression (code understanding and experimental progress + Report)
猜你喜欢

我也是醉了,Eureka 延迟注册还有这个坑
![22 year PMP test [Quanzhen agile test]](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
22 year PMP test [Quanzhen agile test]

Codeworks 5 questions per day (average 1500) - day 24

PMP practice once a day | don't get lost in the exam -7.27 (including agility + multiple choices)

JS实现视频录制-以Cesium为例

Chapter 3 basic operation

使用cpolar建立一个商业网站(5)

Two years after its release, the price increased by $100, and the reverse growth of meta Quest 2

What does bus mean

长安链数据存储源码分析
随机推荐
Kubectl's access to pod logs -- the way to build a dream
预处理与宏定义
How to run kevinchappell / FormBuilder
JS array method foreach and map comparison
Why do we need third-party payment?
OA项目之我的审批(查询&会议签字)
Set -- data deconstruction
Add joint control to gltf model
'vite' is not an internal or external command, nor is it a runnable program or batch file
康佳首批10万颗存储主控芯片售罄,2020年预计销量1亿颗
图解LeetCode——592. 分数加减运算(难度:中等)
长安链数据存储源码分析
JS jump to the page and refresh (jump to this page)
ES6 -- Deconstruction assignment
JS实现视频录制-以Cesium为例
[openbmc series] 4. Start the process and use qume to simulate ast2600 EVB
什么是多层感知机(什么是多层感知机)
Two years after its release, the price increased by $100, and the reverse growth of meta Quest 2
Huawei connect conference 2022 opens Bangkok trip; Facebook pushes the video revenue sharing function, and the creator can get 20% share
汇顶科技:收购恩智浦VAS业务已完成交割