一、Jupyter Notebook的一般安装
① 安装pip
sudo apt install python3-pip
② 解决pip下载速度慢问题
这里使用清华大学的,参考https://mirrors.tuna.tsinghua.edu.cn/help/pypi/
升级 pip 到最新的版本 (>=10.0.0) 后进行配置:
pip3 install pip -U
pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
完成时显示:Writing to /home/xxxxx/.config/pip/pip.conf
如果您到 pip 默认源的网络连接较差,临时使用本镜像站来升级 pip:
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple pip -U
③ 安装jupyter
pip3 install --upgrade pip
pip3 install jupyter
完成时显示:Successfully installed……
sudo apt install jupyter-core