conda
- 查看版本号
conda -V'V'需要大写
- 创建虚拟环境
conda create -n ai python=3.5
'ai' 为自己设的环境名称
- 激活虚拟环境
activate ai有些版本为conda activate ai
- 退出虚拟环境
deactivate ai
- 切换到root
actavite root
- 删除(退出当前虚拟环境)
conda remove -n ai --all
- 安装以下模块
pip install matplotlib==2.0.2
pip install numpy==1.14.2
pip install pandas==0.20.3
pip install tables==3.4.2
pip install jupyter==1.0.0
- 查看安装列表
pip list
- 将虚拟环境加入jupyter中
安装
conda install ipykernel
启动虚拟环境
重新打开cmdpython -m ipykernel install --user --name 环境名称 --display-name "Jupyter中要显示的环境名"





网友评论