三、Conda管理包
安装命令
conda install package_name
安装numpy,输入
conda install numpy
安装 matplotlib
conda install matplotlib
查看已安装的包
conda list
搜索安装包
conda search search_term
同时安装多个包
conda install numpy scipy pandas
安装指定版本的包
conda install numpy=1.11
卸载包
conda remove package_name
更新包
conda update package_name
更新环境中的所有包
conda update --all四
四、Conda创建环境
基于 python3.6 创建一个名为test_py3 的环境
conda create --name test_py3 python=3.6
基于 python2.7 创建一个名为test_py2 的环境
conda create --name test_py2 python=2.7
激活 test 环境
activate test_py2 # windows
source activate test_py2 # linux/mac
切换到python3
activate test_py3