#更换阿里pip源
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
#临时指定(清华源)下载pip
pip install <包名>-i https://pypi.tuna.tsinghua.edu.cn/simple some-package(镜像站)
#升级pip
python -m pip install --upgrade pip
#安装模块
pip install <包名>
#升级模块
pip install -U <包名>
#卸载模块
pip uninstall <包名>
#查看安装包
pip list
#查看可升级的包
pip list -o
#安装jupyter notebook
pip install jupyter notebook
#在jupyter notbook中编辑运行python
jupyter notebook
jupyter notebook 按H查看快捷键