Python 必备包管理利器 anaconda3+ jupyter notebook 的安装

初学Python的时候,真的佩服遇到包依赖问题全世界去找的自己,直到某一天发现Anaconda 包管理器,把这一个繁琐的工作,变成简单的 conda install xxx!

3分钟教会大家如何安装 anaconda 和编辑神器 jupyter notebook;

Python 必备包管理利器 anaconda3+ jupyter notebook 的安装

安装环境,vtlur vps Centos7 64位;

下载安装:

# wget https://repo.anaconda.com/archive/Anaconda3-2018.12-Linux-x86_64.sh && chmod +x Anaconda3-2018.12-Linux-x86_64.sh && bash ./Anaconda3-2018.12-Linux-x86_64.sh

常用命令:

  • # conda install 包名(安装各种包,功能类似于 pip install)
  • # conda create -n 环境名(建立新的运行环境)
  • # conda activate 环境名(激活新环境)
  • # conda deactivate 环境名(关闭新环境)
  • # conda env remove -n 环境名(删除已建环境)

指定 Python 版本:

  • # conda create -n py27 python=2.7(指定环境版本)
Python 必备包管理利器 anaconda3+ jupyter notebook 的安装

安装 jupyter notebook:

# conda install jupyter notebook

Python 必备包管理利器 anaconda3+ jupyter notebook 的安装


分享到:


相關文章: