一、安装Jupyter Notebook
1.安装python
下载并安装python:
2.安装pip
pip 是 Python 的包管理工具,该工具提供了对Python 包的查找、下载、安装、卸载的功能。
检验是否有pip
升级pip
//使用国内镜像
python -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host https://pypi.tuna.tsinghua.edu.cn
其他镜像链接:
阿里云
http://mirrors.aliyun.com/pypi/simple/
中国科技大学
https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban)
http://pypi.douban.com/simple/
清华大学
https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学
http://pypi.mirrors.ustc.edu.cn
pip常用命令:
- pip已安装模块
pip list
3.安装Jupyter Notebook
安装
pip install jupyter -i https://pypi.tuna.tsinghua.edu.cn/simple
切换到指定目录,运行Jupyter
jupyter notebook