当前位置:网站首页>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
边栏推荐
- How to configure log4j in slf4j?
- 办公自动化解决方案——DocuWare Cloud 将应用程序和流程迁移到云端的完整的解决方案
- Source code analysis of Chang'an chain data storage
- Huawei connect conference 2022 opens Bangkok trip; Facebook pushes the video revenue sharing function, and the creator can get 20% share
- LED high precision scale scheme specification
- Two years after its release, the price increased by $100, and the reverse growth of meta Quest 2
- PC Museum (3) MITs Altair 8800
- 为什么需要第三方支付?
- Built in function time date function
- Use cpolar to build a business website (5)
猜你喜欢

Pyqt5 rapid development and practice 4.5 button controls and 4.6 qcombobox (drop-down list box)

Connection pool - return connection details (Part 1)

An in-depth understanding of crystal oscillation circuit derived from xtalin pin and xtalout pin of single chip microcomputer

Learn about the 12 necessary animation plug-ins of blender

Can software testing be learned in 2022? Don't learn, software testing positions are saturated

#yy关于鱼的英文学习

Rodin installs the SMT solvers plug-in

2022年,软件测试还能学吗?别学了,软件测试岗位饱和了...

Understanding of basic concepts of channel capacity and channel bandwidth

Simple application of multipoint bidirectional republication and routing strategy
随机推荐
ES6--解构赋值
办公自动化解决方案——DocuWare Cloud 将应用程序和流程迁移到云端的完整的解决方案
Add joint control to gltf model
PMP practice once a day | don't get lost in the exam -7.27 (including agility + multiple choices)
Membership card head assembly usage document
Redis queue、rdb学习
Redis hash structure command
ZJNU 22-07-26 比赛心得
PyQt5快速开发与实战 4.7 QSpinBox(计数器) and 4.8 QSlider(滑动条)
Function priority
uva1421
kubectl 获取pod日志 —— 筑梦之路
Redis thing learning
获得微店商品详情 API
康佳半导体首款存储主控芯片量产出货,首批10万颗
What does bus mean
分享Redshift渲染器的去噪方法技巧,一定要看看
Underlying principle of mvcc
[redis] several deployment methods of redis
Redis Hash 结构命令