前言: Jupter 在windwos下如何安装,运行。本文做一些实践记录。

JupyterLab: Jupyter’s Next-Generation Notebook Interface

JupyterLab is a web-based interactive development environment for Jupyter notebooks, code, and data. JupyterLab is flexible: configure and arrange the user interface to support a wide range of workflows in data science, scientific computing, and machine learning. JupyterLab is extensible and modular: write plugins that add new components and integrate with existing ones.

The Jupyter Notebook

The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more.


1 安装:

打开,windows,cmd命令行窗口(在开始里面,输入cmd)

输入,

pip install jupyter

Collecting jupyter
  Downloading jupyter-1.0.0-py2.py3-none-any.whl (2.7 kB)
Collecting nbconvert
  Downloading nbconvert-6.2.0-py3-none-any.whl (553 kB)
     |████████████████████████████████| 553 kB 327 kB/s
Collecting notebook
  Downloading notebook-6.4.4-py3-none-any.whl (9.9 MB)
     |████████████████████████████████| 9.9 MB 2.2 MB/s
Collecting ipykernel
  Downloading ipykernel-6.4.1-py3-none-any.whl (124 kB)
     |████████████████████████████████| 124 kB 2.2 MB/s
Collecting ipywidgets
  Downloading ipywidgets-7.6.5-py2.py3-none-any.whl (121 kB)
     |████████████████████████████████| 121 kB 6.4 MB/s
Collecting qtconsole
  Downloading qtconsole-5.1.1-py3-none-any.whl (119 kB)
     |████████████████████████████████| 119 kB 2.2 MB/s
Collecting jupyter-console
  Downloading jupyter_console-6.4.0-py3-none-any.whl (22 kB)
Collecting ipython<8.0,>=7.23.1
  Downloading ipython-7.28.0-py3-none-any.whl (788 kB)
     |████████████████████████████████| 788 kB 2.2 MB/s
Collecting debugpy<2.0,>=1.0.0
  Downloading debugpy-1.4.3-cp39-cp39-win_amd64.whl (4.3 MB)
     |████████████████████████████████| 4.3 MB 3.3 MB/s
Collecting tornado<7.0,>=4.2
  Downloading tornado-6.1-cp39-cp39-win_amd64.whl (422 kB)
     |████████████████████████████████| 422 kB 6.4 MB/s
Collecting traitlets<6.0,>=4.1.0
  Downloading traitlets-5.1.0-py3-none-any.whl (101 kB)
     |████████████████████████████████| 101 kB 2.2 MB/s
Collecting matplotlib-inline<0.2.0,>=0.1.0
  Downloading matplotlib_inline-0.1.3-py3-none-any.whl (8.2 kB)
Collecting jupyter-client<8.0
  Downloading jupyter_client-7.0.3-py3-none-any.whl (122 kB)
     |████████████████████████████████| 122 kB 6.4 MB/s
Collecting ipython-genutils
  Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting pickleshare
  Downloading pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting decorator
  Downloading decorator-5.1.0-py3-none-any.whl (9.1 kB)
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
  Downloading prompt_toolkit-3.0.20-py3-none-any.whl (370 kB)
     |████████████████████████████████| 370 kB 3.3 MB/s
Collecting pygments
  Downloading Pygments-2.10.0-py3-none-any.whl (1.0 MB)
     |████████████████████████████████| 1.0 MB 6.4 MB/s
Collecting jedi>=0.16
  Downloading jedi-0.18.0-py2.py3-none-any.whl (1.4 MB)
     |████████████████████████████████| 1.4 MB 6.8 MB/s
Requirement already satisfied: setuptools>=18.5 in d:\programs\python\python39\lib\site-packages (from ipython<8.0,>=7.23.1->ipykernel->jupyter) (56.0.0)
Collecting colorama
  Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting backcall
  Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting parso<0.9.0,>=0.8.0
  Downloading parso-0.8.2-py2.py3-none-any.whl (94 kB)
     |████████████████████████████████| 94 kB 1.0 MB/s
Collecting nest-asyncio>=1.5
  Downloading nest_asyncio-1.5.1-py3-none-any.whl (5.0 kB)
Collecting entrypoints
  Downloading entrypoints-0.3-py2.py3-none-any.whl (11 kB)
Collecting pyzmq>=13
  Downloading pyzmq-22.3.0-cp39-cp39-win_amd64.whl (1.0 MB)
     |████████████████████████████████| 1.0 MB 6.4 MB/s
Collecting python-dateutil>=2.1
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     |████████████████████████████████| 247 kB 6.8 MB/s
Collecting jupyter-core>=4.6.0
  Downloading jupyter_core-4.8.1-py3-none-any.whl (86 kB)
     |████████████████████████████████| 86 kB 1.8 MB/s
Collecting pywin32>=1.0
  Downloading pywin32-301-cp39-cp39-win_amd64.whl (9.3 MB)
     |████████████████████████████████| 9.3 MB 3.3 MB/s
Collecting wcwidth
  Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting six>=1.5
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting nbformat>=4.2.0
  Downloading nbformat-5.1.3-py3-none-any.whl (178 kB)
     |████████████████████████████████| 178 kB 6.4 MB/s
Collecting jupyterlab-widgets>=1.0.0
  Downloading jupyterlab_widgets-1.0.2-py3-none-any.whl (243 kB)
     |████████████████████████████████| 243 kB 6.4 MB/s
Collecting widgetsnbextension~=3.5.0
  Downloading widgetsnbextension-3.5.1-py2.py3-none-any.whl (2.2 MB)
     |████████████████████████████████| 2.2 MB 6.4 MB/s
Collecting jsonschema!=2.5.0,>=2.4
  Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
     |████████████████████████████████| 56 kB 785 kB/s
Collecting pyrsistent>=0.14.0
  Downloading pyrsistent-0.18.0-cp39-cp39-win_amd64.whl (62 kB)
     |████████████████████████████████| 62 kB 295 kB/s
Collecting attrs>=17.4.0
  Downloading attrs-21.2.0-py2.py3-none-any.whl (53 kB)
     |████████████████████████████████| 53 kB 943 kB/s
Collecting jinja2
  Downloading Jinja2-3.0.1-py3-none-any.whl (133 kB)
     |████████████████████████████████| 133 kB 6.4 MB/s
Collecting Send2Trash>=1.5.0
  Downloading Send2Trash-1.8.0-py3-none-any.whl (18 kB)
Collecting argon2-cffi
  Downloading argon2_cffi-21.1.0-cp35-abi3-win_amd64.whl (40 kB)
     |████████████████████████████████| 40 kB 1.2 MB/s
Collecting prometheus-client
  Downloading prometheus_client-0.11.0-py2.py3-none-any.whl (56 kB)
     |████████████████████████████████| 56 kB 565 kB/s
Collecting terminado>=0.8.3
  Downloading terminado-0.12.1-py3-none-any.whl (15 kB)
Collecting pywinpty>=1.1.0
  Downloading pywinpty-1.1.4-cp39-none-win_amd64.whl (1.3 MB)
     |████████████████████████████████| 1.3 MB 6.4 MB/s
Collecting cffi>=1.0.0
  Downloading cffi-1.14.6-cp39-cp39-win_amd64.whl (180 kB)
     |████████████████████████████████| 180 kB 6.4 MB/s
Collecting pycparser
  Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
     |████████████████████████████████| 112 kB 6.8 MB/s
Collecting MarkupSafe>=2.0
  Downloading MarkupSafe-2.0.1-cp39-cp39-win_amd64.whl (14 kB)
Collecting jupyterlab-pygments
  Downloading jupyterlab_pygments-0.1.2-py2.py3-none-any.whl (4.6 kB)
Collecting testpath
  Downloading testpath-0.5.0-py3-none-any.whl (84 kB)
     |████████████████████████████████| 84 kB 1.3 MB/s
Collecting defusedxml
  Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting bleach
  Downloading bleach-4.1.0-py2.py3-none-any.whl (157 kB)
     |████████████████████████████████| 157 kB ...
Collecting pandocfilters>=1.4.1
  Downloading pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB)
Collecting mistune<2,>=0.8.1
  Downloading mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting nbclient<0.6.0,>=0.5.0
  Downloading nbclient-0.5.4-py3-none-any.whl (66 kB)
     |████████████████████████████████| 66 kB 1.0 MB/s
Collecting webencodings
  Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting packaging
  Downloading packaging-21.0-py3-none-any.whl (40 kB)
     |████████████████████████████████| 40 kB 854 kB/s
Collecting pyparsing>=2.0.2
  Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
     |████████████████████████████████| 67 kB 1.7 MB/s
Collecting qtpy
  Downloading QtPy-1.11.2-py2.py3-none-any.whl (58 kB)
     |████████████████████████████████| 58 kB 2.9 MB/s
Installing collected packages: traitlets, six, pywin32, pyrsistent, attrs, wcwidth, tornado, pyzmq, python-dateutil, pyparsing, parso, nest-asyncio, jupyter-core, jsonschema, ipython-genutils, entrypoints, webencodings, pygments, pycparser, prompt-toolkit, pickleshare, packaging, nbformat, matplotlib-inline, MarkupSafe, jupyter-client, jedi, decorator, colorama, backcall, testpath, pywinpty, pandocfilters, nbclient, mistune, jupyterlab-pygments, jinja2, ipython, defusedxml, debugpy, cffi, bleach, terminado, Send2Trash, prometheus-client, nbconvert, ipykernel, argon2-cffi, notebook, widgetsnbextension, qtpy, jupyterlab-widgets, qtconsole, jupyter-console, ipywidgets, jupyter
Successfully installed MarkupSafe-2.0.1 Send2Trash-1.8.0 argon2-cffi-21.1.0 attrs-21.2.0 backcall-0.2.0 bleach-4.1.0 cffi-1.14.6 colorama-0.4.4 debugpy-1.4.3 decorator-5.1.0 defusedxml-0.7.1 entrypoints-0.3 ipykernel-6.4.1 ipython-7.28.0 ipython-genutils-0.2.0 ipywidgets-7.6.5 jedi-0.18.0 jinja2-3.0.1 jsonschema-3.2.0 jupyter-1.0.0 jupyter-client-7.0.3 jupyter-console-6.4.0 jupyter-core-4.8.1 jupyterlab-pygments-0.1.2 jupyterlab-widgets-1.0.2 matplotlib-inline-0.1.3 mistune-0.8.4 nbclient-0.5.4 nbconvert-6.2.0 nbformat-5.1.3 nest-asyncio-1.5.1 notebook-6.4.4 packaging-21.0 pandocfilters-1.5.0 parso-0.8.2 pickleshare-0.7.5 prometheus-client-0.11.0 prompt-toolkit-3.0.20 pycparser-2.20 pygments-2.10.0 pyparsing-2.4.7 pyrsistent-0.18.0 python-dateutil-2.8.2 pywin32-301 pywinpty-1.1.4 pyzmq-22.3.0 qtconsole-5.1.1 qtpy-1.11.2 six-1.16.0 terminado-0.12.1 testpath-0.5.0 tornado-6.1 traitlets-5.1.0 wcwidth-0.2.5 webencodings-0.5.1 widgetsnbextension-3.5.1
WARNING: You are using pip version 21.1.2; however, version 21.2.4 is available.
You should consider upgrading via the 'd:\programs\python\python39\python.exe -m pip install --upgrade pip' command.

【案】我们尝试打开jupyter,


jupyter lab --no-browser

[I 2021-09-26 21:39:10.475 ServerApp] jupyterlab | extension was successfully linked.
[I 2021-09-26 21:40:03.628 ServerApp] Writing Jupyter server cookie secret to C:\Users\frank_sj\AppData\Roaming\jupyter\runtime\jupyter_cookie_secret
[W 2021-09-26 21:40:03.672 ServerApp] The 'min_open_files_limit' trait of a ServerApp instance expected an int, not the NoneType None.
[I 2021-09-26 21:40:05.137 ServerApp] nbclassic | extension was successfully loaded.
[I 2021-09-26 21:40:05.139 LabApp] JupyterLab extension loaded from d:\programs\python\python39\lib\site-packages\jupyterlab
[I 2021-09-26 21:40:05.139 LabApp] JupyterLab application directory is D:\Programs\Python\Python39\share\jupyter\lab
[I 2021-09-26 21:40:05.144 ServerApp] jupyterlab | extension was successfully loaded.
[I 2021-09-26 21:40:05.148 ServerApp] The port 8888 is already in use, trying another port.
[I 2021-09-26 21:40:05.152 ServerApp] Serving notebooks from local directory: C:\Users\frank_sj
[I 2021-09-26 21:40:05.152 ServerApp] Jupyter Server 1.11.0 is running at:
[I 2021-09-26 21:40:05.153 ServerApp] http://localhost:8889/lab?token=e659cca8dbacab41bc951c9f4590eca9ed17ca4c35952db8
[I 2021-09-26 21:40:05.153 ServerApp]  or http://127.0.0.1:8889/lab?token=e659cca8dbacab41bc951c9f4590eca9ed17ca4c35952db8
[I 2021-09-26 21:40:05.154 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2021-09-26 21:40:05.169 ServerApp]

To access the server, open this file in a browser:
        file:///C:/Users/frank_sj/AppData/Roaming/jupyter/runtime/jpserver-45804-open.html
    Or copy and paste one of these URLs:
        http://localhost:8889/lab?token=e659cca8dbacab41bc951c9f4590eca9ed17ca4c35952db8
     or http://127.0.0.1:8889/lab?token=e659cca8dbacab41bc951c9f4590eca9ed17ca4c35952db8

上面的LOGO,给我们如下信息:


打开jupter notebooks

在浏览器地址栏输入,上面绿色的地址,任意一个。


2 修改工作路径:

利用Jupyter的时候,项目需要设定一个指定的工作地址:


参考:

Project Jupyter | Home

jupyter notebook 可以做哪些事情? - 知乎

在 Windows 上安装和配置 Jupyter Lab 作为桌面级应用程序_My Blogs-CSDN博客_jupyterlab安装

Jupter 在windows下的运行相关推荐

  1. Windows 下直接运行 Linux的Live CD版的方法

    Windows 下直接运行 Linux的Live CD版的方法 一个偶然的机会,我发现.Live CD 版的Linux可以借助 qume在Windows下直接运行;方法是下载linux-tr127 下 ...

  2. linux32位运行64位程序,32位windows下可以运行的程序在64位linux下报错

    已结贴√ 问题点数:20 回复次数:3 32位windows下可以运行的程序在64位linux下报错 filt.c在32位windows code:blocks 10.05下运行无任何异样. 传到64 ...

  3. windows下jenkins运行jar包的命令

    windows下jenkins运行jar包的命令 @echo off setlocal enabledelayedexpansion :: 设置服务启动的端口 set port=9098 :: 根据端 ...

  4. Windows下后台运行cmd启动的程序

    命令行方式运行JAVA @echo off start java -jar urp.jar exit 后台运行 @echo off start javaw -jar urp.jar exit 多了一个 ...

  5. Windows下后台运行Python程序,并终止特定程序

    Windows以后台方式运行Python程序 Set ws = CreateObject("Wscript.Shell") ws.run "cmd /c start.ba ...

  6. windows下python运行的方法

    python有2中运行模式,一种是交互运行模式,一种是脚本运行模式.(假设用户已经安装好,网上很多例子) 交互运行方和matlab命令窗口有点类似,有2中方法,一种是用它自带的开发环境IDLE,一种是 ...

  7. 获取有道词典在线翻译结果 及 Windows下配置运行ASP

    <% '说明:该程序用于远程调用有道翻译接口中译英,http://fanyi.youdao.com/openapi.do?keyfrom=localhost&key=1204607085 ...

  8. 【BTM】Biterm Topic Model 在windows下的运行

    本文重在模型代码运行部分~ 附上Github链接:xiaohuiyan / BTM 如果在linux环境下,代码包含 运行示例: $ cd script $ sh runExample.sh wind ...

  9. 迅雷U享php文件怎么打开,windows下php运行环境安装配置

    前言:因为都是基础的东西所以大神请绕道! 一.软件准备 以下地址仅供参考 apache http://www.duote.com/downsite/993.html mysql  http://xia ...

最新文章

  1. lodash源码分析之获取数据类型
  2. 开发日记-20190710 关键词 读书笔记 《Perl语言入门》Day 7
  3. 17.观察者模式(Observer Pattern)
  4. javascript瀑布流效果
  5. Python安装Matplotlib,wordcloud,jieba第三方库
  6. MySQL学习笔记:SQL基本语法
  7. L2-021 点赞狂魔-PAT团体程序设计天梯赛GPLT
  8. 【EASYDOM系列教程】之属性操作
  9. 2018年全国多校算法寒假训练营练习比赛(第一场)C. 六子冲(模拟)
  10. matlab odeset慢,matcont6p1 最全最强大的非线性系统动态分岔与混沌分析软件,功能 ,可以满足绝大多数动力学要 matlab 276万源代码下载- www.pudn.com...
  11. 台达伺服b3参数_恩阳台达B3系列伺服安装
  12. Python基于Snap7与PLC建立连接并读写数据
  13. 地理加权回归出现多重共线性如何解决
  14. 杂记 - 0002 - 衣服 - 尺寸表与跳码
  15. 函数式接口 BiConsumer接口和Consumer接口
  16. java实现webdav服务_访问WebDAV服务
  17. [软件工具][原创]加减乘除自动出题带答案不重复生成可代替加减法印章使用教程
  18. 验证性分析---相关假设检验
  19. redis系列--你真的入门了吗?redis4.0入门~
  20. Java 检查文件后生成8位随机数

热门文章

  1. 经典面试题之 TCP三次握手 和 TCP四次挥手过程----详解
  2. 计算机网络,IP地址概念及IP地址详细分类介绍、及子网掩码详细介绍MAC地址介绍、网络位,主机位、网络地址、广播地址。
  3. 实际开发中 dao、entity的代码怎样自动生成?一款工具送给你
  4. 熊猫多模式站群系统 开发日志 第二天
  5. docker随着主机启动 自动启动设置
  6. 【C语言】利用递归函数求n的阶乘
  7. 漫画 |《程序员十二时辰》,内容过于真实 ...
  8. svg 让文字沿着指定的曲线运动
  9. 测试框架之testng使用
  10. 2020年用于前端开发的顶级JavaScript框架