Notes
Search…
Anaconda And Conda
1
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
2
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
3
conda config --set show_channel_urls yes
4
5
$ cat ~/.condarc
6
channels:
7
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
8
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
9
- defaults
10
ssl_verify: true
11
show_channel_urls: true
12
13
conda --version
14
conda -h
15
conda update conda
16
17
conda update --all
18
19
conda create -n <env_name> <package_names>
20
conda create -n study numpy matplotlib
21
22
~/anaconda3/env
23
24
source activate <env_name>
25
source activate study
26
27
source deactivate
28
29
conda env list
30
conda info --envs
31
conda info -e
32
33
conda remove -n <env_name> --all
34
35
conda search --full-name <package_full_name>
36
conda search <text>
37
conda list
38
conda install -n <env_name> <package_name>
39
conda install <package_name>
40
conda remove -n <env_name> <package_name>
41
conda remove <package_name>
42
43
conda clean -a
44
45
rm -rf ~/anaconda3
46
47
conda install nb_conda
48
conda install -n study ipykernel
Copied!
Last modified 2yr ago
Copy link