Conda commands

Conda

This is a summary about conda/jupyter commonly used commands.

Installation

miniconda

https://mirrors.tuna.tsinghua.edu.cn/help/anaconda

conda initialize

conda init

Create environment and packages

conda create -n env_name list of packages

conda create -n py python=3.3
conda create -n data python=3.5 numpy pandas

For package

conda install/upgrade/remove/search package_name
conda upgrade --all # update all package

For environment

view the environment

conda info --envs

activate environment

Linux:

source/conda activate my_env

Windows:

active my_env

deactivate environment

Linux:

source deactivate my_env

Windows:

deactivate my_env

delete environment

conda remove -n your_env_name --all

list package

conda list

delete environment

conda clean --packages --tarballs

kernel

list kernel

jupyter kernelspec list

delete kernel

jupyter kernelspec uninstall python37564bitbasecondac521c0e867d74695b0ab483942c57dc3

add environment

conda install nb_conda

or

pip install ipykernel
python -m ipykernel install --user --name pygmt --display-name pygmt

change channel

channels:
  - https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
  - https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  - defaults
show_channel_urls: true

conda info

change font

conda install -n env-name -c conda-forge mscorefonts

No Comments

Send Comment Edit Comment


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
Previous
Next