直接在控制终端输入:C:\>pip install jupyter notebook
安装成功信息如下:
Collecting jupyter
Using cached jupyter-1.0.0-py2.py3-none-any.whl (2.7 kB)
Collecting notebook
Downloading notebook-6.5.2-py3-none-any.whl (439 kB)
---------------------------------------- 439.1/439.1 kB 1.3 MB/s eta 0:00:00
Collecting ipykernel
Downloading ipykernel-6.17.0-py3-none-any.whl (138 kB)
---------------------------------------- 138.5/138.5 kB 1.2 MB/s eta 0:00:00
Collecting ipywidgets
Downloading ipywidgets-8.0.2-py3-none-any.whl (134 kB)
---------------------------------------- 134.4/134.4 kB 1.1 MB/s eta 0:00:00
Collecting qtconsole
Downloading qtconsole-5.4.0-py3-none-any.whl (121 kB)
---------------------------------------- 121.0/121.0 kB 1.4 MB/s eta 0:00:00
Collecting nbconvert
Downloading nbconvert-7.2.3-py3-none-any.whl (273 kB)
---------------------------------------- 273.1/273.1 kB 1.4 MB/s eta 0:00:00
Collecting jupyter-console
Downloading jupyter_console-6.4.4-py3-none-any.whl (22 kB)
Collecting jupyter-core>=4.6.1
Downloading jupyter_core-4.11.2-py3-none-any.whl (88 kB)
---------------------------------------- 88.5/88.5 kB 1.0 MB/s eta 0:00:00
Collecting nbformat
Downloading nbformat-5.7.0-py3-none-any.whl (77 kB)
---------------------------------------- 77.1/77.1 kB 1.1 MB/s eta 0:00:00
Collecting jupyter-client>=5.3.4
Downloading jupyter_client-7.4.4-py3-none-any.whl (132 kB)
---------------------------------------- 132.3/132.3 kB 1.1 MB/s eta 0:00:00
Collecting traitlets>=4.2.1
Downloading traitlets-5.5.0-py3-none-any.whl (107 kB)
---------------------------------------- 107.4/107.4 kB 564.8 kB/s eta 0:00:00
Collecting pyzmq>=17
Downloading pyzmq-24.0.1-cp39-cp39-win_amd64.whl (999 kB)
---------------------------------------- 999.5/999.5 kB 476.1 kB/s eta 0:00:00
Collecting argon2-cffi
Downloading argon2_cffi-21.3.0-py3-none-any.whl (14 kB)
Collecting ipython-genutils
Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting prometheus-client
Downloading prometheus_client-0.15.0-py3-none-any.whl (60 kB)
---------------------------------------- 60.1/60.1 kB 530.4 kB/s eta 0:00:00
Collecting terminado>=0.8.3
Downloading terminado-0.17.0-py3-none-any.whl (16 kB)
Collecting nbclassic>=0.4.7
Downloading nbclassic-0.4.8-py3-none-any.whl (9.8 MB)
---------------------------------------- 9.8/9.8 MB 486.7 kB/s eta 0:00:00
Collecting nest-asyncio>=1.5
Downloading nest_asyncio-1.5.6-py3-none-any.whl (5.2 kB)
Collecting jinja2
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting tornado>=6.1
Downloading tornado-6.2-cp37-abi3-win_amd64.whl (425 kB)
---------------------------------------- 425.3/425.3 kB 520.8 kB/s eta 0:00:00
Collecting Send2Trash>=1.8.0
Downloading Send2Trash-1.8.0-py3-none-any.whl (18 kB)
Requirement already satisfied: python-dateutil>=2.8.2 in c:\users\ritchie.li\appdata\local\programs\python\python39\lib\site-packages (from jupyter-client>=5.3.4->notebook) (2.8.2)
Collecting entrypoints
Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting pywin32>=1.0
Downloading pywin32-305-cp39-cp39-win_amd64.whl (12.2 MB)
---------------------------------------- 12.2/12.2 MB 564.3 kB/s eta 0:00:00
Collecting notebook-shim>=0.1.0
Downloading notebook_shim-0.2.2-py3-none-any.whl (13 kB)
Collecting jupyter-server>=1.8
Downloading jupyter_server-1.21.0-py3-none-any.whl (346 kB)
---------------------------------------- 346.5/346.5 kB 716.9 kB/s eta 0:00:00
Collecting mistune<3,>=2.0.3
Downloading mistune-2.0.4-py2.py3-none-any.whl (24 kB)
Collecting markupsafe>=2.0
Using cached MarkupSafe-2.1.1-cp39-cp39-win_amd64.whl (17 kB)
Requirement already satisfied: importlib-metadata>=3.6 in c:\users\ritchie.li\appdata\local\programs\python\python39\lib\site-packages (from nbconvert->jupyter) (4.11.3)
Collecting nbclient>=0.5.0
Downloading nbclient-0.7.0-py3-none-any.whl (71 kB)
---------------------------------------- 71.9/71.9 kB 789.9 kB/s eta 0:00:00
Collecting defusedxml
Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting jupyterlab-pygments
Downloading jupyterlab_pygments-0.2.2-py2.py3-none-any.whl (21 kB)
Collecting pandocfilters>=1.4.1
Downloading pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB)
Requirement already satisfied: pygments>=2.4.1 in c:\users\ritchie.li\appdata\local\programs\python\python39\lib\site-packages (from nbconvert->jupyter) (2.12.0)
Requirement already satisfied: bleach in c:\users\ritchie.li\appdata\local\programs\python\python39\lib\site-packages (from nbconvert->jupyter) (5.0.0)
Collecting tinycss2
Downloading tinycss2-1.2.1-py3-none-any.whl (21 kB)
Collecting packaging
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Requirement already satisfied: beautifulsoup4 in c:\users\ritchie.li\appdata\local\programs\python\python39\lib\site-packages (from nbconvert->jupyter) (4.9.3)
Collecting fastjsonschema
Downloading fastjsonschema-2.16.2-py3-none-any.whl (22 kB)
Collecting jsonschema>=2.6
Downloading jsonschema-4.17.0-py3-none-any.whl (83 kB)
---------------------------------------- 83.8/83.8 kB 931.6 kB/s eta 0:00:00
Collecting pywinpty>=1.1.0
Downloading pywinpty-2.0.9-cp39-none-win_amd64.whl (1.4 MB)
---------------------------------------- 1.4/1.4 MB 430.2 kB/s eta 0:00:00
Collecting argon2-cffi-bindings
Downloading argon2_cffi_bindings-21.2.0-cp36-abi3-win_amd64.whl (30 kB)
Collecting matplotlib-inline>=0.1
Downloading matplotlib_inline-0.1.6-py3-none-any.whl (9.4 kB)
Collecting debugpy>=1.0
Downloading debugpy-1.6.3-cp39-cp39-win_amd64.whl (4.6 MB)
---------------------------------------- 4.6/4.6 MB 397.9 kB/s eta 0:00:00
Collecting psutil
Downloading psutil-5.9.3-cp39-cp39-win_amd64.whl (247 kB)
---------------------------------------- 247.1/247.1 kB 459.9 kB/s eta 0:00:00
Collecting ipython>=7.23.1
Downloading ipython-8.6.0-py3-none-any.whl (761 kB)
---------------------------------------- 761.1/761.1 kB 166.3 kB/s eta 0:00:00
Collecting widgetsnbextension~=4.0
Downloading widgetsnbextension-4.0.3-py3-none-any.whl (2.0 MB)
---------------------------------------- 2.0/2.0 MB 262.9 kB/s eta 0:00:00
Collecting jupyterlab-widgets~=3.0
Downloading jupyterlab_widgets-3.0.3-py3-none-any.whl (384 kB)
---------------------------------------- 384.1/384.1 kB 244.2 kB/s eta 0:00:00
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
Downloading prompt_toolkit-3.0.32-py3-none-any.whl (382 kB)
---------------------------------------- 382.8/382.8 kB 189.3 kB/s eta 0:00:00
Collecting qtpy>=2.0.1
Downloading QtPy-2.2.1-py3-none-any.whl (82 kB)
---------------------------------------- 82.6/82.6 kB 330.2 kB/s eta 0:00:00
Requirement already satisfied: zipp>=0.5 in c:\users\ritchie.li\appdata\local\programs\python\python39\lib\site-packages (from importlib-metadata>=3.6->nbconvert->jupyter) (3.8.0)
Collecting jedi>=0.16
Downloading jedi-0.18.1-py2.py3-none-any.whl (1.6 MB)
---------------------------------------- 1.6/1.6 MB 215.7 kB/s eta 0:00:00
Collecting stack-data
Downloading stack_data-0.6.0-py3-none-any.whl (24 kB)
Collecting pickleshare
Downloading pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting backcall
Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting colorama
Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting decorator
Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB)
Requirement already satisfied: attrs>=17.4.0 in c:\users\ritchie.li\appdata\local\programs\python\python39\lib\site-packages (from jsonschema>=2.6->nbformat->notebook) (21.4.0)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Downloading pyrsistent-0.19.2-cp39-cp39-win_amd64.whl (62 kB)
---------------------------------------- 62.8/62.8 kB 210.2 kB/s eta 0:00:00
Collecting anyio<4,>=3.1.0
Downloading anyio-3.6.2-py3-none-any.whl (80 kB)
---------------------------------------- 80.6/80.6 kB 321.4 kB/s eta 0:00:00
Requirement already satisfied: websocket-client in c:\users\ritchie.li\appdata\local\programs\python\python39\lib\site-packages (from jupyter-server>=1.8->nbclassic>=0.4.7->notebook) (1.3.2)
Collecting wcwidth
Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Requirement already satisfied: six>=1.5 in c:\users\ritchie.li\appdata\local\programs\python\python39\lib\site-packages (from python-dateutil>=2.8.2->jupyter-client>=5.3.4->notebook) (1.16.0)
Collecting cffi>=1.0.1
Downloading cffi-1.15.1-cp39-cp39-win_amd64.whl (179 kB)
---------------------------------------- 179.1/179.1 kB 277.2 kB/s eta 0:00:00
Requirement already satisfied: soupsieve>1.2 in c:\users\ritchie.li\appdata\local\programs\python\python39\lib\site-packages (from beautifulsoup4->nbconvert->jupyter) (2.2.1)
Requirement already satisfied: webencodings in c:\users\ritchie.li\appdata\local\programs\python\python39\lib\site-packages (from bleach->nbconvert->jupyter) (0.5.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in c:\users\ritchie.li\appdata\local\programs\python\python39\lib\site-packages (from packaging->nbconvert->jupyter) (2.4.7)
Requirement already satisfied: idna>=2.8 in c:\users\ritchie.li\appdata\local\programs\python\python39\lib\site-packages (from anyio<4,>=3.1.0->jupyter-server>=1.8->nbclassic>=0.4.7->notebook) (3.2)
Collecting sniffio>=1.1
Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting pycparser
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
---------------------------------------- 118.7/118.7 kB 365.2 kB/s eta 0:00:00
Collecting parso<0.9.0,>=0.8.0
Downloading parso-0.8.3-py2.py3-none-any.whl (100 kB)
---------------------------------------- 100.8/100.8 kB 362.2 kB/s eta 0:00:00
Collecting executing>=1.2.0
Downloading executing-1.2.0-py2.py3-none-any.whl (24 kB)
Collecting asttokens>=2.1.0
Downloading asttokens-2.1.0-py2.py3-none-any.whl (26 kB)
Collecting pure-eval
Downloading pure_eval-0.2.2-py3-none-any.whl (11 kB)
Installing collected packages: wcwidth, Send2Trash, pywin32, pure-eval, pickleshare, mistune, ipython-genutils, fastjsonschema, executing, backcall, widgetsnbextension, traitlets, tornado, tinycss2, sniffio, pyzmq, pywinpty, pyrsistent, pycparser, psutil, prompt-toolkit, prometheus-client, parso, pandocfilters, packaging, nest-asyncio, markupsafe, jupyterlab-widgets, jupyterlab-pygments, entrypoints, defusedxml, decorator, debugpy, colorama, asttokens, terminado, stack-data, qtpy, matplotlib-inline, jupyter-core, jsonschema, jinja2, jedi, cffi, anyio, nbformat, jupyter-client, ipython, argon2-cffi-bindings, nbclient, ipykernel, argon2-cffi, qtconsole, nbconvert, jupyter-console, ipywidgets, jupyter-server, notebook-shim, nbclassic, notebook, jupyter
Successfully installed Send2Trash-1.8.0 anyio-3.6.2 argon2-cffi-21.3.0 argon2-cffi-bindings-21.2.0 asttokens-2.1.0 backcall-0.2.0 cffi-1.15.1 colorama-0.4.6 debugpy-1.6.3 decorator-5.1.1 defusedxml-0.7.1 entrypoints-0.4 executing-1.2.0 fastjsonschema-2.16.2 ipykernel-6.17.0 ipython-8.6.0 ipython-genutils-0.2.0 ipywidgets-8.0.2 jedi-0.18.1 jinja2-3.1.2 jsonschema-4.17.0 jupyter-1.0.0 jupyter-client-7.4.4 jupyter-console-6.4.4 jupyter-core-4.11.2 jupyter-server-1.21.0 jupyterlab-pygments-0.2.2 jupyterlab-widgets-3.0.3 markupsafe-2.1.1 matplotlib-inline-0.1.6 mistune-2.0.4 nbclassic-0.4.8 nbclient-0.7.0 nbconvert-7.2.3 nbformat-5.7.0 nest-asyncio-1.5.6 notebook-6.5.2 notebook-shim-0.2.2 packaging-21.3 pandocfilters-1.5.0 parso-0.8.3 pickleshare-0.7.5 prometheus-client-0.15.0 prompt-toolkit-3.0.32 psutil-5.9.3 pure-eval-0.2.2 pycparser-2.21 pyrsistent-0.19.2 pywin32-305 pywinpty-2.0.9 pyzmq-24.0.1 qtconsole-5.4.0 qtpy-2.2.1 sniffio-1.3.0 stack-data-0.6.0 terminado-0.17.0 tinycss2-1.2.1 tornado-6.2 traitlets-5.5.0 wcwidth-0.2.5 widgetsnbextension-4.0.3
WARNING: There was an error checking the latest version of pip.
警告pip 版本不是最新,更新pip版本:python安装的路径 -m pip install --upgrade pip
C:\>c:\users\ritchie.li\appdata\local\programs\python\python39\python.exe -m pip install --upgrade pip
Requirement already satisfied: pip in c:\users\ritchie.li\appdata\local\programs\python\python39\lib\site-packages (22.1)
Collecting pip
Using cached pip-22.3.1-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 22.1
Uninstalling pip-22.1:
Successfully uninstalled pip-22.1
Successfully installed pip-22.3.1