1 下载python: Welcome to Python.org
- 也可从微软应用商店搜索安装)
- 已安装python路径查看: where python
2 更新pip:python.exe -m pip install --upgrade pip
- 查看pip版本信息:pip --version
- 安装虚拟环境:pip install virtualenv
- 创建虚拟环境 :virtualenv my_env (假设虚拟环境名字是my_env)
- 激活虚拟环境:my_env\Scripts\activate
- 当前环境下已安装的包:my_env\Scripts\pip list
- 查询当前pandas版本:pip show pandas
4 pip install jupyter notebook==6.4.12
5 pip install jupyter_contrib_nbextensions
6 jupyter contrib nbextension install --user
或者
pipinstalljupyter_contrib_nbextensions-ihttps://pypi.tuna.tsinghua.edu.cn/simple
安装nbextensions_configurator
pip install jupyter_nbextensions_configurator -i Simple Index
# 1.安装nbextensions插件:
pip install jupyter_contrib_nbextensions
# 2.安装 javascript and css files :
pip install jupyter_contrib_nbextensions
# 3.安装configurator:
pip install jupyter_nbextensions_configurator
显示可更新包:pip list --outdated
显示安装完成的包:pip show 名字
cd my_env/Scripts
activate
cd /d D:\Cache\New