1. 基礎軟件
python3.6
sudo apt-get install python3
2. 下載anaconda3
進入官網,下載對應的anaconda3的版本https://www.anaconda.com/download/#linux
anaconda3 是python 的環境管理器,可以方便的管理python 的環境依賴,相當月maven
安裝
sh 上面download的*.sh 一路yes
配置環境變量
export PATH=/home/{你的用戶名}/anaconda3/bin:$PATH
查看是否安裝成功
conda --version
查看python是否切換到anaconda環境
which python
修改一下源.提升下網速
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
升級下依賴
conda upgrade --all
3. 啓動jupyter 已經被anaconda安裝了,可以直接啓動
命令行直接: jupyter notebook
基本上相當於在線ide+txt混編版本
Jupyter Notebook(此前被稱爲 IPython notebook)是一個交互式筆記本,支持運行 40 多種編程語言。
Jupyter Notebook 的本質是一個 Web 應用程序,便於創建和共享文學化程序文檔,