python: python3.8
1)、安装jupyter
pip install jupyter -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/
2)、启动jupyter
默认执行: jupyter notebook :默认在端口8000处启动
指定端口启动: jupyter notebook --port 9000
[I 17:38:09.650 NotebookApp] Serving notebooks from local directory: D:\Python38
[I 17:38:09.650 NotebookApp] Jupyter Notebook 6.4.12 is running at:
[I 17:38:09.650 NotebookApp] http://localhost:9000/?token=fe5b76aaa8ddf84cdc5ffe89335b9fe562391e5af1c45730
[I 17:38:09.651 NotebookApp] or http://127.0.0.1:9000/?token=fe5b76aaa8ddf84cdc5ffe89335b9fe562391e5af1c45730
[I 17:38:09.651 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 17:38:09.806 NotebookApp]
To access the notebook, open this file in a browser:
file:///C:/Users/Administrator/AppData/Roaming/jupyter/runtime/nbserver-8848-open.html
Or copy and paste one of these URLs:
http://localhost:9000/?token=fe5b76aaa8ddf84cdc5ffe89335b9fe562391e5af1c45730
or http://127.0.0.1:9000/?token=fe5b76aaa8ddf84cdc5ffe89335b9fe562391e5af1c45730
[I 17:38:19.422 NotebookApp] Malformed HTTP message from ::1: no colon in header line
然后自动吊起浏览器访问 http://localhost:9000/