{
  "version": "https://jsonfeed.org/version/1", 
  "title": "Jupyter", 
  "description": "Project Jupyter exists to develop open-source software, open-standards, and services for interactive computing across dozens of programming languages.", 
  "home_page_url": "https://www.v2ex.com/go/jupyter", 
  "feed_url": "https://www.v2ex.com/feed/jupyter.json", 
  "icon": "https://cdn.v2ex.com/navatar/0b8a/ff04/996_large.png?m=1551188923", 
  "favicon": "https://cdn.v2ex.com/navatar/0b8a/ff04/996_normal.png?m=1551188923", 
  "items": [
    {
      "author": {
        "url": "https://www.v2ex.com/member/TimG", 
        "name": "TimG", 
        "avatar": "https://cdn.v2ex.com/gravatar/9405588e62f8b12e9d70f6a498ce25af?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1222446", 
      "title": "SSL \u8ba4\u8bc1\u83ab\u540d\u5176\u5999\u62a5\u9519\u4e86\uff0c\u9700\u8981\u5f15\u8d77\u8b66\u60d5\u5417\uff1f", 
      "id": "https://www.v2ex.com/t/1222446", 
      "date_published": "2026-06-24T02:35:46+00:00", 
      "content_html": "<p>\u6628\u5929\u8fd8\u6b63\u5e38\u4f7f\u7528\uff0c\u4eca\u5929\u542f\u52a8 Jupyter \u51c6\u5907\u5de5\u4f5c\u7684\u65f6\u5019\uff0c\u51fa\u73b0\u62a5\u9519\uff1a</p>\n<pre><code>Traceback (most recent call last):  File \"&lt;frozen runpy&gt;\", line 189, in _run_module_as_main  File \"&lt;frozen runpy&gt;\", line 148, in _get_module_details  File \"&lt;frozen runpy&gt;\", line 112, in _get_module_details  File \"C:\\Users\\tim\\anaconda3\\Lib\\site-packages\\jupyterlab\\__init__.py\", line 7, in &lt;module&gt; \u00a0  from .serverextension import load_jupyter_server_extension  # noqa \u00a0  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File \"C:\\Users\\tim\\anaconda3\\Lib\\site-packages\\jupyterlab\\serverextension.py\", line 4, in &lt;module&gt; \u00a0  from jupyter_server.utils import url_path_join  File \"C:\\Users\\tim\\anaconda3\\Lib\\site-packages\\jupyter_server\\utils.py\", line 33, in &lt;module&gt; \u00a0  from tornado.netutil import Resolver  File \"C:\\Users\\tim\\anaconda3\\Lib\\site-packages\\tornado\\netutil.py\", line 35, in &lt;module&gt; \u00a0  _client_ssl_defaults = ssl.create_default_context(ssl.Purpose.SERVER_AUTH) \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File \"C:\\Users\\tim\\anaconda3\\Lib\\ssl.py\", line 775, in create_default_context \u00a0  context.load_default_certs(purpose)  File \"C:\\Users\\tim\\anaconda3\\Lib\\ssl.py\", line 596, in load_default_certs \u00a0  self._load_windows_store_certs(storename, purpose)  File \"C:\\Users\\tim\\anaconda3\\Lib\\ssl.py\", line 588, in _load_windows_store_certs \u00a0  self.load_verify_locations(cadata=certs)ssl.SSLError: [ASN1: NOT_ENOUGH_DATA] not enough data (_ssl.c:4035)\n</code></pre>\n<p>\u5c1d\u8bd5\u91cd\u88c5 Jupyter notebook \u4e5f\u4e0d\u884c\uff0c\u6211\u67e5\u5230\u8bf4\u662f SSL \u8bc1\u4e66\u95ee\u9898\u3002\u4f46\u662f SSL \u8bc1\u4e66\u600e\u4e48\u4f1a\u7a81\u7136\u88ab\u4fee\u6539\u5462\uff1f\u6628\u5929\u6ca1\u6709\u5b89\u88c5\u8f6f\u4ef6\u4e5f\u6ca1\u6709\u7cfb\u7edf\u66f4\u65b0\u3002\u76ee\u524d\u67e5\u5230\u89e3\u51b3\u65b9\u6cd5\u662f\u6ce8\u91ca\u6389\u8fd9\u4e2a verify \u65b9\u6cd5\uff0c\u8fd9\u6837\u6216\u8bb8\u53ef\u4ee5\u89e3\u51b3\u95ee\u9898\uff0c\u4f46\u662f\u5fc3\u91cc\u53d1\u6bdb\u3002\u76ee\u524d\u5df2\u7ecf\u5f00\u59cb\u5168\u76d8\u6740\u6bd2\u3002\u6709\u6ca1\u6709 v \u53cb\u9047\u5230\u8fc7\u8fd9\u4e2a\u60c5\u51b5\uff1f</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/weishao666", 
        "name": "weishao666", 
        "avatar": "https://cdn.v2ex.com/gravatar/690f81902891f1bb72bbf56f0b551838?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1118246", 
      "date_modified": "2025-03-14T10:57:00+00:00", 
      "content_html": "<p><img alt=\"\" class=\"embedded_image\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"https://foruda.gitee.com/images/1741865117767187605/30a7ceaf_584259.png\"/></p>\n<p>\u53ef\u4ee5\u81ea\u5b9a\u4e49\u7ec4\u4ef6\uff0c\u7136\u540e\u6bcf\u4e2a\u7ec4\u4ef6\u5bf9\u5e94 jupyter \u7684\u4e00\u4e2a\u5355\u5143\u683c\uff0c\u5c31\u53ef\u4ee5\u53ef\u89c6\u5316\u4f4e\u4ee3\u7801\u5f00\u53d1\u4e86</p>\n<p><img alt=\"\" class=\"embedded_image\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"https://foruda.gitee.com/images/1741865145434867925/36227fc0_584259.png\"/></p>\n", 
      "date_published": "2025-03-13T11:29:11+00:00", 
      "title": "\u8fd9\u662f\u4ec0\u4e48 jupyter \u63d2\u4ef6\uff0c\u611f\u89c9\u633a\u9177", 
      "id": "https://www.v2ex.com/t/1118246"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/weishao666", 
        "name": "weishao666", 
        "avatar": "https://cdn.v2ex.com/gravatar/690f81902891f1bb72bbf56f0b551838?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1053897", 
      "date_modified": "2024-07-01T03:52:52+00:00", 
      "content_html": "<p>\u9ad8\u8003\u586b\u62a5\u5fd7\u613f\uff0c\u65b0\u589e\u4eba\u5de5\u667a\u80fd\u4e13\u4e1a\u7684\u5b66\u6821\u8d85\u591a\uff0c\u60f3\u5b66\u4e60\u4eba\u5de5\u667a\u80fd\uff0c\u770b\u5927\u5bb6\u90fd\u7528 jupyter \uff0c\u8dd1\u6a21\u578b\uff0c\u8dd1 AI Agent \uff0c\u90a3\u4e48\u4e1a\u5185\u5e38\u7528\u7684\u4e00\u4e9b\u63d2\u4ef6\u548c\u529f\u80fd\u662f\u5565\uff0c\u5728 jupyter \u4e0a\u6211\u600e\u4e48\u6253\u9020\u6211\u7684\u5f00\u53d1\u73af\u5883\u3002\u7c7b\u4f3c\u4e8e\u90a3\u79cd\u795e\u63d2\u4ef6\uff0c\u76f8\u89c1\u6068\u665a\u7684\u529f\u80fd\u6709\u6ca1\u6709\u63a8\u8350</p>\n", 
      "date_published": "2024-07-01T03:48:36+00:00", 
      "title": "\u73b0\u5728\u4eba\u5de5\u667a\u80fd\u4e13\u4e1a\u8fd9\u4e48\u706b\uff0c\u5927\u5bb6 jupyter \u5e38\u7528\u7684\u4e00\u4e9b\u63d2\u4ef6\u548c\u529f\u80fd\u662f\u5565\uff1f", 
      "id": "https://www.v2ex.com/t/1053897"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/albert0yyyy", 
        "name": "albert0yyyy", 
        "avatar": "https://cdn.v2ex.com/gravatar/02c953716ffd48dab60c9d9c1960fe37?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/991814", 
      "title": "pycharm \u7684\u91cc\u7684 jupyternotebook \u80fd\u65ad\u70b9\u8c03\u8bd5\u5417\uff1f", 
      "id": "https://www.v2ex.com/t/991814", 
      "date_published": "2023-11-14T06:34:58+00:00", 
      "content_html": "\u6211\u8bd5\u4e86\u8bd5\uff0c\u4e0d\u4f1a\u663e\u793a\u6267\u884c\u5230\u54ea\u4e00\u6b65\uff0c\u4f46\u662f\u53d8\u91cf\u4f1a\u53d8\u3002<br />\u4f46\u662f vscode \u5c31\u53ef\u4ee5\u663e\u793a\u6267\u884c\u5230\u54ea\u4e00\u6b65\uff0c\u800c\u4e14\u53d8\u91cf\u4e5f\u4f1a\u53d8\u3002"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/yajuusenpai", 
        "name": "yajuusenpai", 
        "avatar": "https://cdn.v2ex.com/avatar/e488/20b9/566891_large.png?m=1685844486"
      }, 
      "url": "https://www.v2ex.com/t/983911", 
      "date_modified": "2023-10-21T01:37:36+00:00", 
      "content_html": "<p>\u6211\u641c\u4e86\u534a\u5929\u4e5f\u6ca1\u641e\u660e\u767d\uff0c\u4e5f\u6ca1\u627e\u7740\u5177\u4f53\u5e94\u7528\n\u8fd9\u4e1c\u897f\u662f\u4e3a\u4e86\u89e3\u51b3\u4ec0\u4e48\u95ee\u9898\u800c\u5f00\u53d1\u51fa\u6765\u7684\uff1f\n\u6211\u73b0\u5728\u9700\u8981\u628a java \u8fd0\u884c\u7684\u7ed3\u679c\u7528 python \u753b\u56fe\uff0c\u7528\u8fd9\u4e2a\u5408\u9002\u5417\uff1f</p>\n", 
      "date_published": "2023-10-20T13:23:49+00:00", 
      "title": "Jupyter Notebook \u5230\u5e95\u662f\u7528\u6765\u5e72\u5565\u7684\uff1f", 
      "id": "https://www.v2ex.com/t/983911"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/kongkongye", 
        "name": "kongkongye", 
        "avatar": "https://cdn.v2ex.com/avatar/75e0/b3ac/439279_large.png?m=1679280293"
      }, 
      "url": "https://www.v2ex.com/t/942568", 
      "title": "pycharm \u91cc\u8fde\u63a5\u8fdc\u7a0b jupyter\uff0c\u81ea\u52a8\u8865\u5168\u600e\u4e48\u641e\uff1f", 
      "id": "https://www.v2ex.com/t/942568", 
      "date_published": "2023-05-24T06:13:50+00:00", 
      "content_html": "<p>\u641e\u4e86\u4e00\u4e0a\u5348\uff0c\u4ecd\u662f\u6ca1\u641e\u5b9a\u3002</p>\n<p>\u6211\u60f3\u5229\u7528 pycharm \u5bf9 python \u4ee3\u7801\u7684\u81ea\u52a8\u8865\u5168\u529f\u80fd\uff08\u5305\u62ec\u70b9\u51fb\u8df3\u8f6c\u5b9a\u4e49\u7b49\uff09\uff0c\u5728 pycharm \u91cc\u6253\u5f00 ipynb \u6587\u4ef6\uff0c\u53ef\u4ee5\u8fde\u63a5\u5230\u591a\u4e2a\u4e0d\u540c\u7684\u8fdc\u7a0b jupyter \u670d\u52a1\u7aef\uff0c\u7406\u60f3\u4e2d\u5e94\u8be5\u5207\u6362\u8fde\u63a5\u5230\u67d0\u4e2a\u670d\u52a1\u7aef\uff0cpython \u89e3\u6790\u5668\u81ea\u52a8\u4f7f\u7528\u90a3\u4e2a\u670d\u52a1\u7aef\u73af\u5883\u7684\uff0c\u8fd9\u6837\u5728\u670d\u52a1\u7aef\u4e0a\u88c5\u7684\u7b2c\u4e09\u65b9\u5305\u90fd\u80fd\u8bc6\u522b\uff0c\u5b9e\u9645\u4e0a\u5374\u4e0d\u884c\uff0cpython \u89e3\u6790\u5668\u6211\u9700\u8981\u9009\u62e9\u672c\u5730\u7684\uff0c\u5bf9\u4e8e\u670d\u52a1\u7aef\u88c5\u7684\u5305\uff0c\u672c\u5730\u4e5f\u88c5\u4e2a\u5bf9\u5e94\u7684\u5305\uff0c\u7136\u540e pycharm \u91cc\u624d\u6709\u81ea\u52a8\u8865\u5168\u529f\u80fd\uff0c\u6211\u80fd\u7406\u89e3\uff0c\u4f46\u8fd9\u6837\u5f88\u86cb\u75bc\u3002</p>\n<p>\u5982\u679c\u4e0d\u8981\u81ea\u52a8\u8865\u5168\uff0c\u90a3\u662f\u80fd\u7528\u7684\uff0c\u5bf9\u4e8e\u7b2c\u4e09\u65b9\u5305\uff0c\u867d\u7136 pycharm \u7684 jupyter notebook \u91cc\u663e\u793a\u62a5\u9519\u4e86\uff0c\u4f46\u8fd0\u884c\u65f6\uff0c\u4ee3\u7801\u662f\u80fd\u5728\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u6b63\u5e38\u8fd0\u884c\u7684\uff0c\u4f46\u8fd9\u6837\u5c31\u6ca1\u7f16\u7801\u4f53\u9a8c\u4e86\uff0c\u53d8\u56de\u4e86\u6700\u539f\u59cb\u7684\u7eaf\u6587\u672c\u7f16\u8f91\u3002</p>\n<p>\u53e6\u5916\u662f\u53d1\u73b0\u6709 jupyter \u7684\u81ea\u52a8\u8865\u5168\u63d2\u4ef6\uff0c\u4f46\u8fd9\u79cd\u65b9\u5f0f\u4e0d\u592a\u559c\u6b22\uff0c\u66f4\u559c\u6b22 pycharm IDE \u91cc\u5f3a\u5927\u7684\u5404\u79cd\u529f\u80fd\u652f\u6301\u3002</p>\n<p>\u96be\u9053 pycharm \u5728\u8fdc\u7a0b\u76f8\u5173\u5f00\u53d1\u4e0a\u771f\u7684\u4e0d\u5982 vscode \uff1f\u6211\u627e\u4e0d\u5230\u66f4\u597d\u7684\u529e\u6cd5\u4e86\u3002</p>\n<p>\u5177\u4f53\u573a\u666f\u63cf\u8ff0\uff1ajupyter \u8fd0\u884c\u5728\u8fdc\u7a0b docker \u5bb9\u5668\u4e0a\uff08 docker \u5bb9\u5668\u91cc\u7684 conda \u865a\u62df\u73af\u5883\u91cc\uff09\uff0cpycharm \u5728\u672c\u5730\u8fd0\u884c\uff0cipynb \u4e5f\u5728\u672c\u5730\u6253\u5f00\uff08\u6307\u5b9a jupyter server \u4e3a\u8fdc\u7a0b\u7684\u5730\u5740\uff09\u3002</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/bronana", 
        "name": "bronana", 
        "avatar": "https://cdn.v2ex.com/avatar/9dc5/7b07/482865_large.png?m=1680471757"
      }, 
      "url": "https://www.v2ex.com/t/908230", 
      "title": "\u5355\u5143\u683c\u5982\u4f55\u53d6\u6d88\u5173\u8054", 
      "id": "https://www.v2ex.com/t/908230", 
      "date_published": "2023-01-11T10:52:23+00:00", 
      "content_html": "<p>\u5982\u56fe,\u6709\u4e0a\u4e0b\u4e24\u4e2a\u5355\u5143\u683c\u4ee3\u7801\u5757,\u6211\u5728\u7b2c\u4e00\u4e2a\u5355\u5143\u683c\u91cc\u9762\u5b9a\u4e49\u4e86<code>class A</code>,\n\u518d\u5728\u7b2c\u4e8c\u4e2a\u5355\u5143\u683c\u5b9a\u4e49<code>class A</code> \u5c31\u4f1a\u62a5\u9519,\u4e5f\u5c31\u662f\u8bf4\u4ed6\u4eec\u662f\u6709\u5173\u8054\u7684,\n\u6709\u6ca1\u6709\u4ec0\u4e48\u529e\u6cd5\u53d6\u6d88\u4ed6\u4eec\u4e24\u4e2a\u4e4b\u95f4\u7684\u5173\u8054?\n<img alt=\"\" class=\"embedded_image\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"https://sennka-oss.oss-cn-chengdu.aliyuncs.com/share/Snipaste_2023-01-11_18-31-57.png\"/></p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/shiyuu", 
        "name": "shiyuu", 
        "avatar": "https://cdn.v2ex.com/avatar/40f2/cce3/351054_large.png?m=1733106254"
      }, 
      "url": "https://www.v2ex.com/t/896731", 
      "title": "jupyter-notebook \u5185\u7f6e\u73af\u5883\u53d8\u91cf\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/896731", 
      "date_published": "2022-11-21T03:06:38+00:00", 
      "content_html": "\u4f7f\u7528\u7684\u6a21\u5757\u6bd4\u8f83\u7279\u6b8a<br />import pyfstat<br /><br />\u5728\u8fd0\u884c\u7684\u65f6\u5019\u4f1a\u56e0\u4e3a\u53d8\u91cf\u95ee\u9898\u65e0\u6cd5 import<br /><a target=\"_blank\" href=\"https://i.imgur.com/jgveuti.png\" rel=\"nofollow noopener\" target=\"_blank\"><img src=\"https://i.imgur.com/jgveuti.png\" class=\"embedded_image\" rel=\"noreferrer\"></a><br /><br />\u6309\u7167\u5b98\u65b9\u7684\u529e\u6cd5\u628a\u5f53\u524d\u7684\u73af\u5883\u6dfb\u52a0\u5230\u53d8\u91cf\u624d\u80fd\u6b63\u5e38 import<br />\u73b0\u5728\u6709\u4ec0\u4e48\u529e\u6cd5\uff0c\u4e0d\u7528\u6bcf\u4e00\u4e2a\u9879\u76ee\u90fd\u8981\u7528\u8fd9\u6837\u7684\u529e\u6cd5\u6dfb\u52a0\u53d8\u91cf\uff1f<br />linux \u7cfb\u7edf\u4e0b\u7684\u53d8\u91cf\u5168\u90fd\u6dfb\u52a0\u8fc7\u4e86\uff0c\u4f46\u662f\u5728 jupyter-notebook \u65b0\u5efa\u6216\u8005\u6fc0\u6d3b\u65b0\u9879\u76ee\u90fd\u4e0d\u4f1a\u52a0\u8f7d\u8fd9\u4e2a\u76ee\u5f55\u4f5c\u4e3a\u53d8\u91cf<br /><br />import os<br />import sys<br />env_bin = os.path.dirname(sys.executable)<br />if not env_bin in os.environ[\"PATH\"]:<br />    os.environ[\"PATH\"] = f'{env_bin}:{os.environ[\"PATH\"]}'<br />    <br /><a target=\"_blank\" href=\"https://i.imgur.com/ku1fiuk.png\" rel=\"nofollow noopener\" target=\"_blank\"><img src=\"https://i.imgur.com/ku1fiuk.png\" class=\"embedded_image\" rel=\"noreferrer\"></a>"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/lululau", 
        "name": "lululau", 
        "avatar": "https://cdn.v2ex.com/avatar/1352/d2eb/15170_large.png?m=1751341400"
      }, 
      "url": "https://www.v2ex.com/t/825055", 
      "title": "Jupyter \u91cc\u6709\u4ec0\u4e48\u63d2\u4ef6 / Kernel \u53ef\u4ee5\u5b9e\u73b0\u7c7b\u4f3c ob-http \u7684\u529f\u80fd", 
      "id": "https://www.v2ex.com/t/825055", 
      "date_published": "2021-12-29T04:04:05+00:00", 
      "content_html": "\u5c31\u662f\u5728 Code Cell \u91cc\u4ee5\u7b80\u5355 DSL \u7684\u5f62\u5f0f\u6765\u63cf\u8ff0 REST API \u8c03\u7528\uff0c\u4e14\u53ef\u4ee5\u6267\u884c\uff0c\u8fd9\u662f ob-http \u7684\u6548\u679c\uff1a<br /><br /><a target=\"_blank\" href=\"https://i.imgur.com/74b0icn.png\" rel=\"nofollow noopener\" target=\"_blank\"><img src=\"https://i.imgur.com/74b0icn.png\" class=\"embedded_image\" rel=\"noreferrer\"></a>"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/wolfan", 
        "name": "wolfan", 
        "avatar": "https://cdn.v2ex.com/avatar/bf42/4cb7/2089_large.png?m=1754443296"
      }, 
      "url": "https://www.v2ex.com/t/790329", 
      "title": "\u5982\u4f55\u8ba1\u7b97\u91cd\u590d\u7387\u7edf\u8ba1\uff1f", 
      "id": "https://www.v2ex.com/t/790329", 
      "date_published": "2021-07-19T03:22:34+00:00", 
      "content_html": "\u6709 csv \u6587\u4ef6 \u4e8c\u5217 (U+18200x, GTK)\uff0c1W \u884c\uff0c\u60f3\u7edf\u8ba1\u51fa\u91cd\u590d\u7387\uff0c\u4ee5\u53ca\u6240\u6709\u5185\u5bb9\u7684\u5404\u81ea\u91cd\u590d\u91cf\u3002<br /><br />\u5148\u524d\u7528 excle \u4f5c\u4e86\u4f5c\uff0c\u5b8c\u5168\u4f5c\u4e0d\u51fa\u6765\u2026\u2026"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/jaredyam", 
        "name": "jaredyam", 
        "avatar": "https://cdn.v2ex.com/avatar/3173/4644/548619_large.png?m=1667097247"
      }, 
      "url": "https://www.v2ex.com/t/790138", 
      "title": "\u5982\u4f55\u5728\u5185\u7f51\u73af\u5883\u4ece Windows SSH \u8bbf\u95ee Linux \u670d\u52a1\u5668", 
      "id": "https://www.v2ex.com/t/790138", 
      "date_published": "2021-07-17T15:38:53+00:00", 
      "content_html": "<p>\u5982 Windows \u672c\u5730\u673a\u6ca1\u6709\u7f51\u7edc\uff0c\u53ef\u4ee5\u5728\u5185\u7f51\u901a\u8fc7\u4e00\u4e2a\u7279\u5b9a\u7aef\u53e3\u8fde\u63a5\u670d\u52a1\u5668\u3002\u6309\u7167\u4e00\u822c\u7684 SSH \u8fde\u63a5\u6559\u7a0b\uff08\u5982\uff1a <a href=\"https://thedatafrog.com/en/articles/remote-jupyter-notebooks/\" rel=\"nofollow\">https://thedatafrog.com/en/articles/remote-jupyter-notebooks/</a> \uff09\uff0c\u670d\u52a1\u7aef\u6ca1\u6709\u95ee\u9898\uff0c\u4f46\u662f\u5728\u672c\u5730\u65e0\u6cd5\u901a\u8fc7\u7ed9\u5b9a\u5730\u5740\uff08 <a href=\"http://127.0.0.1:port\" rel=\"nofollow\">http://127.0.0.1:port</a> \uff09\u8bbf\u95ee\u3002\u8bf7\u95ee\u8fd9\u662f\u54ea\u4e00\u6b65\u5b58\u5728\u95ee\u9898\uff0c\u8fd8\u662f\u8fd9\u79cd\u65b9\u6cd5\u672c\u8eab\u5c31\u6709\u9650\u5236\uff0c\u672c\u4eba\u5bf9\u7f51\u7edc\u65b9\u9762\u4e0d\u662f\u5f88\u61c2\u3002</p>\n<p>\u9644\uff1a\n\u6709\u6ca1\u6709\u5927\u4f6c\u77e5\u9053\u600e\u4e48\u5728\u670d\u52a1\u5668\u6253\u5f00\u56fe\u7247\u65f6\u8fdb\u884c\u672c\u5730\u5c55\u793a\uff0c\u5728\u4ee5\u4e0a\u7ed9\u51fa\u73af\u5883\u4e0b\u8be5\u5982\u4f55\u914d\u7f6e\uff1f</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/SimWit", 
        "name": "SimWit", 
        "avatar": "https://cdn.v2ex.com/avatar/f75c/acc8/407898_large.png?m=1564068224"
      }, 
      "url": "https://www.v2ex.com/t/770568", 
      "title": "anaconda3 \u73af\u5883\u4e0b\uff0c\u5728 cmd \u8f93\u5165\"jupyter lab\"\u663e\u793a\"Exception: Jupyter command `jupyter-lab` not found.\"", 
      "id": "https://www.v2ex.com/t/770568", 
      "date_published": "2021-04-14T05:11:10+00:00", 
      "content_html": "<h1>1 \u57fa\u672c\u60c5\u51b5</h1>\n<p>anaconda3 \u73af\u5883\uff0c\u5f00\u59cb\u65f6\u6ca1\u6709\u62a5\u9519\uff0c\u66f4\u65b0 jupyterlab \u540e\uff0c\u4ece Anaconda Navigator \u542f\u52a8 jupyterlab \u5f39\u7a97 Application launch error\uff1a\"Exception: Jupyter command <code>jupyter-lab</code> not found.\"\u3002\u4f46\u662f\uff0c\u5728 cmd \u4f7f\u7528 jupyter-lab \u80fd\u6b63\u5e38\u542f\u52a8\uff0c\u800c jupyter lab \u4ecd\u7136\u62b1\u76f8\u540c\u9519\u8bef\u3002</p>\n<h1>2 \u5c1d\u8bd5\u65b9\u6cd5</h1>\n<ol>\n<li>\u91cd\u65b0\u5b89\u88c5 anaconda</li>\n<li>\u5220\u9664 jupyter --paths \u663e\u793a\u7684\u6240\u6709\u6587\u4ef6\u5939</li>\n<li>anaconda \u6240\u6709\u5305\u66f4\u65b0\n\u5747\u5931\u8d25\u3002</li>\n</ol>\n<h1>3 \u73b0\u72b6</h1>\n<p>jupyter lab \u3001jupyter notebook \u3001jupyter kernelspec \u7b49\uff0c\u90fd\u662f\u76f8\u4f3c\u7684\u9519\u8bef\u3002\u4f7f\u7528 jupyter-kernelspec \u6b63\u5e38\u3002</p>\n<p>\u611f\u8c22\uff01\uff01\uff01\uff01</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/XIVN1987", 
        "name": "XIVN1987", 
        "avatar": "https://cdn.v2ex.com/avatar/c4ce/3bc8/138148_large.png?m=1772508180"
      }, 
      "url": "https://www.v2ex.com/t/740728", 
      "title": "jupyter \u4e2d\u901a\u8fc7 ctypes \u8c03\u7528 printf()\u65f6\uff0c\u4e0d\u663e\u793a printf()\u6253\u5370\u5185\u5bb9", 
      "id": "https://www.v2ex.com/t/740728", 
      "date_published": "2020-12-31T09:56:21+00:00", 
      "content_html": "<p>\u4ee3\u7801\uff1a</p>\n<pre><code class=\"language-python\">from ctypes import *\n\nlibc = cdll.LoadLibrary('msvcrt.dll')\nlibc.printf(c_char_p(b'Hello %d %.2f\\n'), c_int(16), c_double(2.3))\n</code></pre>\n<p>\u5728\u6807\u51c6\u4ea4\u4e92\u73af\u5883\u4e2d\u663e\u793a\u5185\u5bb9\u4e3a\uff1a</p>\n<pre><code class=\"language-shell\">Hello 16 2.30\n14\n</code></pre>\n<p>\u5728 ipython \u4e2d\uff0c\u663e\u793a\u5185\u5bb9\u4e3a\uff1a</p>\n<pre><code class=\"language-shell\">Hello 16 2.30\nOut[31]: 14\n</code></pre>\n<p>\u5728 jupyter \u4e2d\uff0c\u663e\u793a\u5185\u5bb9\u4e3a\uff1a</p>\n<pre><code class=\"language-shell\">Out[15]: 14\n</code></pre>\n<p>\u8bf7\u95ee\u5728 jupyter \u4e2d\u5982\u4f55\u663e\u793a\u201cHello 16 2.30\u201d</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/XIVN1987", 
        "name": "XIVN1987", 
        "avatar": "https://cdn.v2ex.com/avatar/c4ce/3bc8/138148_large.png?m=1772508180"
      }, 
      "url": "https://www.v2ex.com/t/740421", 
      "title": "jupyter-nbconvert.exe --generate-config \u62a5\u9519 UnicodeEncodeError: 'gbk'", 
      "id": "https://www.v2ex.com/t/740421", 
      "date_published": "2020-12-30T12:53:15+00:00", 
      "content_html": "<p>\u62a5\u9519\u4fe1\u606f\u4e3a\uff1a</p>\n<pre><code class=\"language-shell\">  File \"c:\\python36\\venv\\lib\\site-packages\\jupyter_core\\application.py\", line 156, in write_default_config\n    f.write(config_text)\nUnicodeEncodeError: 'gbk' codec can't encode character '\\xb6' in position 8440: illegal multibyte sequence\n</code></pre>\n<p>\u67e5\u770b\u201cjupyter_core\\<a href=\"http://application.py\" rel=\"nofollow\">application.py</a>\u201d\u5185\u5bb9\u5982\u4e0b\uff1a</p>\n<pre><code class=\"language-python\">with open(config_file, mode='w') as f:\n    f.write(config_text)\n</code></pre>\n<p>\u6539\u6210\uff1a</p>\n<pre><code class=\"language-python\">with open(config_file, mode='w', encoding='utf-8') as f:\n    f.write(config_text)\n</code></pre>\n<p>\u91cd\u65b0\u6267\u884c\uff0c\u6267\u884c\u6210\u529f\uff0c\u4e0d\u518d\u62a5\u9519</p>\n<p>\u8fd9\u662f bug \u5417\uff1f\u6211\u8981\u53bb\u63d0\u4e2a issue \u5417\uff1f</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/XIVN1987", 
        "name": "XIVN1987", 
        "avatar": "https://cdn.v2ex.com/avatar/c4ce/3bc8/138148_large.png?m=1772508180"
      }, 
      "url": "https://www.v2ex.com/t/740164", 
      "title": "jupyter \u8f6c markdown \u8981\u662f\u80fd\u5185\u5d4c\u56fe\u7247\u5c31\u597d\u4e86", 
      "id": "https://www.v2ex.com/t/740164", 
      "date_published": "2020-12-29T16:33:37+00:00", 
      "content_html": "<p>jupyter \u7684 Fille -&gt; Download as \u53ef\u4ee5\u5c06 notebook \u8f6c\u6362\u6210 markdown\uff0c\u65b9\u4fbf\u8bb0\u7b14\u8bb0</p>\n<p>\u53ef\u662f notebook \u4e2d\u7684\u56fe\u7247\u4e0d\u4f1a\u8f6c\u6362\u8fdb markdown \u91cc\uff0c\u6240\u4ee5\u6709\u8f83\u591a\u56fe\u7247\u7684 notebook \u8f6c\u6362\u6210 markdown \u5c31\u6ca1\u5565\u610f\u4e49\u4e86</p>\n<p>\u6211\u770b\u4e86\u4e0b notebook \u662f\u628a\u56fe\u7247\u5185\u5d4c\u8fdb xxx.ipynb \u6587\u4ef6\u4e2d\u7684\uff0c\u8981\u662f\u8f6c\u6362\u6210 markdown \u65f6\u4e5f\u80fd\u5c06\u56fe\u7247\u5185\u5d4c\u8fdb markdown \u5c31\u597d\u4e86</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/FurN1", 
        "name": "FurN1", 
        "avatar": "https://cdn.v2ex.com/avatar/918c/f1aa/96201_large.png?m=1639761405"
      }, 
      "url": "https://www.v2ex.com/t/675030", 
      "date_modified": "2020-05-24T15:16:15+00:00", 
      "content_html": "<p>\u622a\u6b62\u53d1\u5e16\u65f6\u95f4\uff0cJupyterLab \u6709\u8fd9\u6837\u4e00\u4e2a bug\uff0c\u5728\u5b98\u65b9\u6587\u6863\u627e\u4e0d\u5230\u89e3\u51b3\u65b9\u6848\uff0c\u6211\u627e\u4e86\u597d\u51e0\u5929\u627e\u5230\u4e86\u4e00\u4e2a issue \u624d\u89e3\u51b3\uff1a</p>\n<p>JupyterLab \u5b89\u88c5 extension \uff08\u63d2\u4ef6\uff09\u65f6\uff0c\u5982\u679c\u4f60\u4e4b\u524d\u88c5\u8fc7\u8fd9\u4e2a\u63d2\u4ef6\u53c8\u5378\u8f7d\u8fc7\uff0c\u90a3\u4e48\u91cd\u88c5\u8fd9\u4e2a\u63d2\u4ef6\u7684\u8bdd\uff0c\u8be5\u63d2\u4ef6\u5373\u4f7f\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u6b63\u5e38\u4e5f\u65e0\u6cd5\u52a0\u8f7d\u3002\u5982\u679c\u4f60\u4f7f\u7528<code>jupyter labextension list</code>\u547d\u4ee4\uff0c\u4f1a\u53d1\u73b0\u8be5\u63d2\u4ef6\u4f1a\u5728 installed \u548c uninstalled \u4e2d\u540c\u65f6\u51fa\u73b0\u3002</p>\n<p>\u76ee\u524d\u6709\u6548\u7684\u89e3\u51b3\u529e\u6cd5\u662f\u5220\u9664<code>your_python_venv_dir/share/jupyter/lab/settings/build_config.json</code>\uff0c\u6240\u6709\u63d2\u4ef6\u7684\u5378\u8f7d\u8bb0\u5f55\u4f1a\u88ab\u6e05\u7a7a\uff0c\u91cd\u65b0\u5b89\u88c5\u63d2\u4ef6\u518d build \u5373\u53ef\u3002</p>\n", 
      "date_published": "2020-05-24T15:11:08+00:00", 
      "title": "JupyterLab \u63d2\u4ef6\u529f\u80fd\u5c0f\u8d34\u58eb", 
      "id": "https://www.v2ex.com/t/675030"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/Weixiao0725", 
        "name": "Weixiao0725", 
        "avatar": "https://cdn.v2ex.com/avatar/c394/8add/135014_large.png?m=1770025751"
      }, 
      "url": "https://www.v2ex.com/t/640586", 
      "title": "Jupyter \u7684\u8f93\u51fa\u7a97\u53e3\u53ef\u4ee5\u540c\u65f6\u52a8\u6001\u5237\u65b0\u4e24\u79cd\u56fe\u5417\uff1f", 
      "id": "https://www.v2ex.com/t/640586", 
      "date_published": "2020-01-27T23:51:57+00:00", 
      "content_html": "<p>\u6211\u60f3\u5b9e\u73b0\u4e00\u79cd\u6548\u679c\u5c31\u662f\uff1a\u5047\u8bbe\u6211\u6709\u4e2a\u5d4c\u5957\u5faa\u73af\uff0c\u5185\u5c42\u5faa\u73af\u8dd1\u7684\u65f6\u5019\u80fd\u591f\u663e\u793a\u672c\u8f6e\u7684\u4e00\u4e2a\u5b9e\u65f6\u8fdb\u5ea6\uff0c\u5f53\u5185\u5faa\u73af\u7ed3\u675f\u65f6\u5019\u6211\u8f93\u51fa\u4e00\u6b21\u56fe\u7247\uff08\u56fe\u7247\u4e0d\u6d88\u5931\uff0c\u5728 jupyter \u7684\u8f93\u51fa\u7a97\u53e3\u88ab\u52a8\u6001\u66f4\u65b0\uff09\u3002</p>\n<pre><code class=\"language-python\">\nfor i in range(N):\n    \n    for j in range(M):\n    \n        print('\u66f4\u65b0\u8fdb\u5ea6\u6761')\n    \n    print('\u663e\u793a\u56fe\u7247')\n    \n</code></pre>\n<p><img alt=\"\u6548\u679c\u56fe\" src=\"https://i.imgur.com/Q1yssGv.png\"/></p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/ruoyu0088", 
        "name": "ruoyu0088", 
        "avatar": "https://cdn.v2ex.com/avatar/ba08/e773/40408_large.png?m=1370767629"
      }, 
      "url": "https://www.v2ex.com/t/366761", 
      "date_modified": "2017-06-08T21:47:52+00:00", 
      "content_html": "<p>\u5305\u542b\u8ba1\u7b97\u3001\u7ed8\u56fe\u3001Python \u7684\u5b9e\u73b0\u539f\u7406\u7b49\u65b9\u9762\u7684\u5185\u5bb9\u3002</p>\n<p>\u9879\u76ee\u5730\u5740\uff1a <a href=\"https://github.com/ruoyu0088/cooknotebook\" rel=\"nofollow\">https://github.com/ruoyu0088/cooknotebook</a></p>\n<p>\u5176\u4e2d\u5173\u4e8e Python \u5b9e\u73b0\u539f\u7406\u7684\u65b9\u9762\u6709\u4e00\u4e9b\u6709\u8da3\u7684\u4e1c\u897f\u3002</p>\n<p>\u4f8b\u5982\uff1a<a href=\"https://github.com/ruoyu0088/cooknotebook/blob/master/notebooks/python/%E4%B8%BA%E6%95%B4%E6%95%B0%E5%AF%B9%E8%B1%A1%E6%B7%BB%E5%8A%A0%E8%BF%AD%E4%BB%A3%E5%8A%9F%E8%83%BD.ipynb\" rel=\"nofollow\">\u4e3a\u6574\u6570\u5bf9\u8c61\u6dfb\u52a0\u8fed\u4ee3\u529f\u80fd</a></p>\n<p>\u8ba9 Python \u652f\u6301:</p>\n<pre><code>for i in 10:\n    print(i)\n</code></pre>\n<p><a href=\"https://github.com/ruoyu0088/cooknotebook/blob/master/notebooks/python/%E8%AE%A9deque%E6%94%AF%E6%8C%81%E5%88%87%E7%89%87%E4%B8%8B%E6%A0%87.ipynb\" rel=\"nofollow\">\u8ba9 deque \u652f\u6301\u5207\u7247\u4e0b\u6807</a></p>\n<pre><code>d = deque(range(10))\nprint(d[-3:])\n</code></pre>\n", 
      "date_published": "2017-06-07T12:45:40+00:00", 
      "title": "\u6700\u8fd1\u6574\u7406\u4e86\u4e00\u4e9b Jupyter book \u6587\u6863", 
      "id": "https://www.v2ex.com/t/366761"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/rpx", 
        "name": "rpx", 
        "avatar": "https://cdn.v2ex.com/gravatar/9113c0a4aa8159ea4397aa2db9f316cc?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/354764", 
      "date_modified": "2017-06-08T21:47:16+00:00", 
      "content_html": "<p>\u5982\u9898\uff0c\u5929\u5929\u770b\u7740\u4e0d\u77e5\u9053\u548b\u8bfb\uff0c\u592a\u522b\u626d\u4e86\u3002</p>\n", 
      "date_published": "2017-04-14T01:07:44+00:00", 
      "title": "jupyter \u600e\u4e48\u8bfb", 
      "id": "https://www.v2ex.com/t/354764"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/NLL", 
        "name": "NLL", 
        "avatar": "https://cdn.v2ex.com/gravatar/b8be1401f537f5d88dab2f0cbf199be0?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/306618", 
      "date_modified": "2017-06-08T21:47:58+00:00", 
      "content_html": "\u8fd9\u4e2a\u662f\u4ee3\u7801\r<br /><img src=\"http://ww2.sinaimg.cn/mw1024/65b6a2c0gw1f7vj1o8h2aj20vd0740t9.jpg\" class=\"embedded_image\" border=\"0\" /> \r<br />\u8fd9\u4e2a\u662f\u6570\u636e\u7ed3\u6784\r<br /><img src=\"http://ww3.sinaimg.cn/mw1024/65b6a2c0gw1f7vj1os2vbj20vl0cagnt.jpg\" class=\"embedded_image\" border=\"0\" /> \r<br />\u8fd9\u4e2a\u662f\u751f\u6210\u67f1\u72b6\u56fe\u65f6\u7684\u7ed3\u679c\r<br /><img src=\"http://ww3.sinaimg.cn/mw1024/65b6a2c0gw1f7vj1ph5c7j20w608iwgx.jpg\" class=\"embedded_image\" border=\"0\" /> ", 
      "date_published": "2016-09-16T08:56:40+00:00", 
      "title": "\u4f7f\u7528 Jupyter notebook \u751f\u6210\u67f1\u72b6\u56fe\u5931\u8d25\uff0c\u95ee\u9898\u51fa\u5728\u54ea\uff1f\uff1f", 
      "id": "https://www.v2ex.com/t/306618"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/katyang", 
        "name": "katyang", 
        "avatar": "https://cdn.v2ex.com/avatar/ccb5/5289/84575_large.png?m=1467799419"
      }, 
      "url": "https://www.v2ex.com/t/297864", 
      "date_modified": "2017-06-08T21:48:27+00:00", 
      "content_html": "<p>\u547d\u4ee4\u884c\u663e\u793a\n0 active kernels\nThe Jupyter Notebook is running at: <a href=\"http://localhost.com:8888/\" rel=\"nofollow\">http://localhost.com:8888/</a></p>\n<p>\u6d4f\u89c8\u5668\u6253\u5f00\u4e86\uff0c\u4f46\u662f\u65e0\u6cd5\u663e\u793a\u6b64\u9875\uff0c\u6216\u8005\u8fde\u63a5\u8d85\u65f6\uff0c\u65e0\u6cd5\u8bbf\u95ee\u6b64\u7f51\u7ad9\n\u644a\u624b~~</p>\n", 
      "date_published": "2016-08-08T05:55:51+00:00", 
      "title": "\u6c42\u52a9\uff0c Jupyter \u5df2\u7ecf\u542f\u52a8\uff0c\u4f46\u662f\u7f51\u9875\u65e0\u6cd5\u663e\u793a", 
      "id": "https://www.v2ex.com/t/297864"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/fzinfz", 
        "name": "fzinfz", 
        "avatar": "https://cdn.v2ex.com/avatar/cb04/6a68/114172_large.png?m=1728393566"
      }, 
      "url": "https://www.v2ex.com/t/297776", 
      "date_modified": "2017-06-08T21:47:22+00:00", 
      "content_html": "<p><a href=\"https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages\" rel=\"nofollow\">https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages</a></p>\n<p>\u770b\u4e86\u4e0b\u652f\u6301\u8bed\u8a00\u5f88\u5168~ \u4e0d\u77e5\u5b9e\u9645\u7528\u8d77\u6765\u5982\u4f55\uff1f \u770b\u8d77\u6765\u5f88\u723d\u7684\u6837\u5b50\uff0c\u51c6\u5907\u5b66\u70b9 go~~\n<img alt=\"\" src=\"https://raw.githubusercontent.com/gophergala2016/gophernotes/master/files/screencast.gif\"></p>\n", 
      "date_published": "2016-08-07T17:31:23+00:00", 
      "title": "\u7528 Jupyter \u5199\u975e Python \u4f53\u9a8c\u5982\u4f55\uff1f", 
      "id": "https://www.v2ex.com/t/297776"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/ruoyu0088", 
        "name": "ruoyu0088", 
        "avatar": "https://cdn.v2ex.com/avatar/ba08/e773/40408_large.png?m=1370767629"
      }, 
      "url": "https://www.v2ex.com/t/282068", 
      "date_modified": "2017-06-08T21:47:11+00:00", 
      "content_html": "<p>\u300a Python \u79d1\u5b66\u8ba1\u7b97\u300b\u7b2c\u4e8c\u7248\u662f\u91c7\u7528 IPython notebook \u7f16\u5199\u7684\uff0c\u4e3a\u4e86\u65b9\u4fbf\u5199\u4e66\uff0c\u6211\u7f16\u5199\u4e86\u51e0\u4e2a\u6269\u5c55\u7a0b\u5e8f\u3002\u4eca\u5929\u62bd\u7a7a\u628a\u8fd9\u4e9b\u6269\u5c55\u7a0b\u5e8f\u5347\u7ea7\u5230 Jupyter notebook \u3002\u7531\u4e8e\u6211\u5bf9 Javascript \u4e0d\u719f\uff0c\u8fd9\u6b21\u5168\u90e8\u6539\u7528 Python \u7f16\u5199\uff0c\u7136\u540e\u7528 py2js \u8f6c\u6362\u4e3a Javascript \uff0c\u8fd9\u6837\u505a\u7f16\u5199\u7a0b\u5e8f\u7684\u6548\u7387\u9ad8\u4e86\u4e0d\u5c11\u3002</p>\n<p><a href=\"https://github.com/ruoyu0088/jupyter_extensions\" rel=\"nofollow\">https://github.com/ruoyu0088/jupyter_extensions</a></p>\n", 
      "date_published": "2016-05-29T12:03:53+00:00", 
      "title": "\u5199\u4e86\u4e00\u4e9b Jupyter notebook \u7684\u6269\u5c55\u63d2\u4ef6", 
      "id": "https://www.v2ex.com/t/282068"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/bwangel", 
        "name": "bwangel", 
        "avatar": "https://cdn.v2ex.com/avatar/5ed8/70ba/117628_large.png?m=1474968636"
      }, 
      "url": "https://www.v2ex.com/t/267730", 
      "date_modified": "2017-06-08T21:48:18+00:00", 
      "content_html": "<p>\u6700\u8fd1\u5728\u73a9 Jupyter Notebook \uff0c\u60f3\u7528\u8fd9\u4e2a\u6765\u5199\u5b66\u4e60 Python \u7684\u7b14\u8bb0\uff01\u6253\u7b97\u901a\u8fc7 Supervisor \u6765\u7ba1\u7406 Jupyter Notebook \uff0c\u518d\u52a0\u4e0a\u4e00\u4e2a Nginx \u8fdb\u884c\u53cd\u5411\u4ee3\u7406\uff08\u7565\u663e\u65e0\u804a\uff0c\u7eaf\u7cb9\u4e3a\u4e86\u597d\u73a9\uff09\u3002</p>\n<p>\u7ed3\u679c\u73b0\u5728\u5361\u5728 Supervisor \u7ba1\u7406 Jupyter Notebook \u4e0a\u4e86\u3002\u5e9f\u8bdd\u5c11\u8bf4\uff0c\u8d34\u4ee3\u7801\uff1a</p>\n<h2>\u76f8\u5173\u914d\u7f6e</h2>\n<h3>Supervisor \u7684\u914d\u7f6e</h3>\n<pre><code># \u8fd9\u5206\u522b\u662f supervisord \u548c Jupyter \u7a0b\u5e8f\u7684\u914d\u7f6e\n[supervisord]\nlogfile=/home/supervisord/supervisord.log ; (main log file;default $CWD/supervisord.log)\nlogfile_maxbytes=50MB        ; (max main logfile bytes b4 rotation;default 50MB)\nlogfile_backups=10           ; (num of main logfile rotation backups;default 10)\nloglevel=info                ; (log level;default info; others: debug,warn,trace)\npidfile=/home/supervisord/supervisord.pid ; (supervisord pidfile;default supervisord.pid)\nnodaemon=false               ; (start in foreground if true;default false)\nminfds=1024                  ; (min. avail startup file descriptors;default 1024)\nminprocs=200                 ; (min. avail process descriptors;default 200)\n;umask=022                   ; (process file creation umask;default 022)\n;user=chrism                 ; (default is current user, required if root)\n;identifier=supervisor       ; (supervisord identifier, default is 'supervisor')\n;directory=/tmp              ; (default is not to cd during start)\n;nocleanup=true              ; (don't clean up tempfiles at start;default false)\n;childlogdir=/tmp            ; ('AUTO' child log dir, default $TEMP)\n;environment=KEY=\"value\"     ; (key value pairs to add to environment)\n;strip_ansi=false            ; (strip ansi escape codes in logs; def. false)\n\n[program:jupyter-notebook]\nuser=xff\ncommand=bash /home/xff/bin/<a href=\"http://start_notebook.sh\" rel=\"nofollow\">start_notebook.sh</a>\nprocess_name=ipython_notebook\nenvironment=HOME=\"/home/xff/\"\nnumprocs=1\nnumprocs_start=3\ndirecotory=/home/xff/Documents\nstdout_logfile=/home/supervisord/jupyter-notebook.log        ; stdout log path, NONE for none; default AUTO\nstdout_logfile_maxbytes=1MB   ; max # logfile bytes b4 rotation (default 50MB)\nstdout_logfile_backups=10     ; # of stdout logfile backups (default 10)\nstdout_capture_maxbytes=1MB   ; number of bytes in 'capturemode' (default 0)\nstdout_events_enabled=false   ; emit events on stdout writes (default false)\nstderr_logfile=/home/supervisord/jupyter-notebook.err        ; stderr log path, NONE for none; default AUTO\nstderr_logfile_maxbytes=1MB   ; max # logfile bytes b4 rotation (default 50MB)\nstderr_logfile_backups=10     ; # of stderr logfile backups (default 10)\nstderr_capture_maxbytes=1MB   ; number of bytes in 'capturemode' (default 0)\nstderr_events_enabled=false   ; emit events on stderr writes (default false)\nstopsignal=KILL\nstopwaitsecs=5\n;autostart=true\n;autorestart=true\n</code></pre>\n<h3>Jupyter Notebook \u7684\u542f\u52a8\u811a\u672c</h3>\n<pre><code># /home/xff/bin/<a href=\"http://start_notebook.sh\" rel=\"nofollow\">start_notebook.sh</a> \u6587\u4ef6\uff0c Jupyter Notebook \u7684\u542f\u52a8\u811a\u672c\n#!/bin/bash\nNOTEBOOK_CMD=\"/home/xff/.virtualenvs/jupyter/bin/jupyter-notebook --config=/home/xff/.jupyter/<a href=\"http://jupyter_notebook_config.py\" rel=\"nofollow\">jupyter_notebook_config.py</a>\"\necho $NOTEBOOK_CMD &gt;&gt; /home/xff/log\n$NOTEBOOK_CMD\n</code></pre>\n<h2>\u9519\u8bef\u60c5\u51b5</h2>\n<p>\u901a\u8fc7 supervisorctl \u542f\u52a8 Jupyter Notebook \u540e\uff0c\u8fdb\u7a0b\u6811\u662f\u8fd9\u6837\u7684\uff1a</p>\n<pre><code>root       5004  0.0  1.3 207632 13264 ?        Ss   16:51   0:00 /usr/local/Python-2.7.11/bin/python2.7 /usr/local/Python-2.7.11/bin/supervisord -c /etc/supervisord.conf --user=root\nxff        5142  0.1  0.1 106100  1220 ?        S    17:00   0:00  \\_ bash /home/xff/bin/<a href=\"http://start_notebook.sh\" rel=\"nofollow\">start_notebook.sh</a>\nxff        5143  7.8  3.4 286876 35104 ?        S    17:00   0:00      \\_ /home/xff/.virtualenvs/jupyter/bin/python2.7 /home/xff/.virtualenvs/jupyter/bin/jupyter-notebook --config=/home/xff/.jupyter/<a href=\"http://jupyter_notebook_config.py\" rel=\"nofollow\">jupyter_notebook_config.py</a>\n</code></pre>\n<p>\u5728 supervisorctl \u4e0a\u505c\u6b62 Jupyter Notebook \u4e4b\u540e\uff0c\u8fdb\u7a0b\u6811\u5c31\u53d8\u6210\u8fd9\u6837\u4e86\uff0c</p>\n<pre><code>root       3196  0.0  0.1  42708  1836 ?        Ss   15:33   0:00 nginx: master process nginx\nwww        3728  0.0  0.2  43124  2196 ?        S    16:03   0:02  \\_ nginx: worker process\nwww        3729  0.0  0.2  43124  2196 ?        S    16:03   0:01  \\_ nginx: worker process\nroot       5004  0.0  1.3 207784 13336 ?        Ss   16:51   0:00 /usr/local/Python-2.7.11/bin/python2.7 /usr/local/Python-2.7.11/bin/supervisord -c /etc/supervisord.conf --user=root\nxff        5143  0.2  3.4 286876 35104 ?        S    17:00   0:00 /home/xff/.virtualenvs/jupyter/bin/python2.7 /home/xff/.virtualenvs/jupyter/bin/jupyter-notebook --config=/home/xff/.jupyter/<a href=\"http://jupyter_notebook_config.py\" rel=\"nofollow\">jupyter_notebook_config.py</a>\n</code></pre>\n<p>\u5f88\u660e\u663e\uff0c Jupyter Notebook \u7684\u8fdb\u7a0b\u5e76\u6ca1\u6709\u88ab\u505c\u6b62\uff0c\u5b83\u53d8\u6210\u4e86\u5b64\u513f\u8fdb\u7a0b\uff0c\u88ab Init \u6536\u517b\u4e86\u3002</p>\n<p>\u6211\u5f00\u59cb\u4ee5\u4e3a\u662f supervisor \u53d1\u9001\u7684\u505c\u6b62\u4fe1\u53f7\u4e0d\u5bf9\uff0c\u540e\u6765\u5427 supervisor \u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u7a0b\u5e8f\u7684\u505c\u6b62\u4fe1\u53f7<code>stopsignal</code>\u53d8\u6210\u4e86<code>kill</code>\u8fd8\u662f\u4e0d\u884c\uff0c\u4f46\u5982\u679c\u6211\u5728\u547d\u4ee4\u884c\u4e2d\u6267\u884c</p>\n<pre><code># Jupyter Notebook \u9ed8\u8ba4\u76d1\u542c\u7684\u662f 8888 \u7aef\u53e3\nkill -9 `lsof -ti:8888`\n</code></pre>\n<p>\u662f\u53ef\u4ee5\u7684\uff01</p>\n<p>\u4e07\u80fd\u7684 V \u53cb\u4eec\uff0c\u7ed9\u70b9\u63d0\u793a\u5427\uff0c\u8fd9\u662f\u4ec0\u4e48\u539f\u56e0\u554a\uff0c\u4ece\u54ea\u91cc\u5165\u624b\u89e3\u51b3\u5440\uff01</p>\n", 
      "date_published": "2016-03-31T14:09:26+00:00", 
      "title": "Supervisor \u65e0\u6cd5\u505c\u6b62 Jupyter Notebook", 
      "id": "https://www.v2ex.com/t/267730"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/irainy", 
        "name": "irainy", 
        "avatar": "https://cdn.v2ex.com/avatar/b587/6211/65933_large.png?m=1768983532"
      }, 
      "url": "https://www.v2ex.com/t/247860", 
      "date_modified": "2017-06-08T21:48:12+00:00", 
      "content_html": "<p><a target=\"_blank\" rel=\"nofollow\" href=\"http://blog.rainy.im/2016/01/02/lua-and-torch7-on-jupyter/\">&gt;&gt; \u539f\u6587\u5730\u5740 &lt;&lt;</a></p>\n\n<hr>\n\n<h3>Jupyter &amp; IPython</h3>\n\n<p><a target=\"_blank\" rel=\"nofollow\" href=\"https://jupyter.org/about.html\">Jupyter</a>\u662f\u4e00\u4e2a\u57fa\u4e8e<a target=\"_blank\" rel=\"nofollow\" href=\"http://ipython.org/notebook.html\">IPython Notebook</a>\u7684\u9879\u76ee\uff0c\u6211\u8bb0\u5f97\u6700\u5f00\u59cb Jupyter \u7684\u76ee\u6807\u8fd8\u662f\u81f4\u529b\u4e8e\u5728 IPython Notebook \u4e0a\u901a\u8fc7\u6269\u5c55\u5404\u79cd\u5185\u6838\u5b9e\u73b0\u5bf9\u4e0d\u540c\u7f16\u7a0b\u8bed\u8a00\u7684\u652f\u6301\uff0c\u4f46\u662f\u73b0\u5728\u518d\u6765\u770b\u5df2\u7ecf\u53d8\u6210\u4e86\u201c\u652f\u6301\u8de8\u8bed\u8a00\u7684\u4ea4\u4e92\u5f0f\u6570\u636e\u79d1\u5b66\u548c\u79d1\u5b66\u8ba1\u7b97\u201d\uff1a</p>\n\n<blockquote>\n<p>support interactive data science and scientific computing across all programming languages.</p>\n</blockquote>\n\n<p>\u6211\u4e00\u76f4\u8fd8\u662f\u628a Jupyter \u5f53\u505a\u4e00\u4e2a\u597d\u7528\u7684 Markdown \u7f16\u8f91\u5668\u4ee5\u53ca\u5176\u4ed6\u7f16\u7a0b\u8bed\u8a00\u7684\u865a\u62df\u8fd0\u884c\u73af\u5883\u6765\u7528\uff0c\u5e76\u6ca1\u6709\u5173\u6ce8\u8fc7\u9879\u76ee\u5177\u4f53\u7684\u53d1\u5c55\u3002\u524d\u6bb5\u65f6\u95f4<a target=\"_blank\" rel=\"nofollow\" href=\"http://blog.jupyter.org/2015/05/07/rendering-notebooks-on-github/\">Github \u652f\u6301\u6e32\u67d3<code>.ipynb</code>\u6587\u4ef6</a>\uff08\u6d4b\u8bd5\uff1a<a target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/rainyear/lolita/blob/master/playground/test_jupyter.ipynb\">test_jupyter.ipynb</a>\uff09\uff0c\u4ee5\u53ca\u540e\u6765 Google \u5f00\u6e90\u7684<a target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/google/deepdream\">Deepdream</a>\u9879\u76ee\uff0c\u901a\u8fc7 IPython Notebook \u53ef\u89c6\u5316\u56fe\u7247\u5206\u7c7b\u7684\u6df1\u5ea6\u5b66\u4e60\u8fc7\u7a0b\u4e2d\u76f8\u90bb\u795e\u7ecf\u7f51\u7edc\u5c42\u6b21\u4e4b\u95f4\u7684\u4fe1\u606f\u4f20\u9012\uff08\u6211\u6000\u7591\u662f\u4e0d\u662f\u8fd9\u4e2a\u5927\u65b0\u95fb\u4fc3\u4f7f\u4e86 Jupyter \u5411\u6570\u636e\u79d1\u5b66\u65b9\u5411\u7684\u8f6c\u53d8\uff1f\uff09\uff0c\u53ef\u4ee5\u770b\u5230 Jupyter \u6311\u4e86\u4e00\u4e2a\u70ed\u95e8\u6216\u8005\u6b63\u786e\u7684\u65b9\u5411\u53bb\u53d1\u5c55\u3002\u6211\u8fd9\u6b21\u6253\u7b97\u7528\u5b83\u6765\u505a<a target=\"_blank\" rel=\"nofollow\" href=\"http://www.lua.org/\">Lua</a>\u548c<a target=\"_blank\" rel=\"nofollow\" href=\"http://torch.ch/\">Torch7</a>\u7684\u5b66\u4e60\u7b14\u8bb0\u4e0e\u4ea4\u4e92\u5c55\u793a\uff0c\u518d\u53bb\u770b\u5b98\u65b9\u6587\u6863\uff0c\u751a\u81f3\u5df2\u7ecf\u5f00\u59cb\u8131\u79bb<a target=\"_blank\" rel=\"nofollow\" href=\"https://blog.jupyter.org/2015/04/15/the-big-split/\">IPython</a>\u8d70\u5411\u72ec\u7acb\u3002</p>\n\n<h3>Lua &amp; Torch &amp; iTorch</h3>\n\n<p>\u63d0\u5230 Lua \u5f88\u591a\u4eba\u7b2c\u4e00\u53cd\u5e94\u5c31\u662f\u201c\u5199\u6e38\u620f\u7684\u201d\uff08\u6211\u6700\u521d\u63a5\u89e6\u5b83\u4e5f\u662f\u56e0\u4e3a<a target=\"_blank\" rel=\"nofollow\" href=\"http://jupyter-notebook.readthedocs.org/en/latest/public_server.html#notebook-public-server\">Cocos2d-Lua</a>\uff09\uff0c Cocos2d-x \u4e2d\u7684 Lua \u53ea\u662f C/C++\u7684 binding \uff0c Lua \u7684\u5b9a\u4f4d\u672c\u8eab\u5c31\u662f\u8de8\u5e73\u53f0\u5d4c\u5165\u5f0f\u811a\u672c\u8bed\u8a00\u3002 Lua \u53ef\u80fd\u5e76\u4e0d\u50cf\u5176\u5b83\u8bed\u8a00\u90a3\u4e48\u70ed\u95e8\uff0c\u6211\u770b\u5230\u6709\u4eba\u8ba4\u4e3a\u201c\u8bf4 Python \u662f Toy Language \u662f\u56e0\u4e3a\u4f60\u6ca1\u7528\u8fc7 Lua \u201d<code>:P</code>\u3002\u56fd\u5185\u793e\u533a\u4f3c\u4e4e\u4e0d\u600e\u4e48\u6d3b\u8dc3\uff0c\u5728\u7528\u7684\u4eba\u4ecd\u7136\u5728\u7528\uff0c\u4e0d\u7528\u7684\u4eba\u4e5f\u6709\u5927\u628a\u5927\u628a\u65b0\u7684\u8bed\u8a00\u548c\u6846\u67b6\u6d8c\u73b0\u51fa\u6765\u53ef\u4f9b\u9009\u62e9\u3002\u5728\u56fd\u5185\u63d0\u5230 Lua \u4e0d\u5f97\u4e0d\u63d0\u7684<a target=\"_blank\" rel=\"nofollow\" href=\"http://jupyter-notebook.readthedocs.org/en/latest/public_server.html#notebook-public-server\">\u4e91\u98ce</a>\u548c\u4ed6\u7684<a target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/cloudwu/skynet\">\u5929\u7f51-skynet</a>\uff1b\u6700\u8fd1\u9524\u5b50\u8d5e\u52a9\u4e86<a target=\"_blank\" rel=\"nofollow\" href=\"https://openresty.org/\">OpenResty</a>\u4e5f\u5c31\u662f<code>Nginx_lua</code>\uff1b\u4e4b\u524d\u4e0a\u8fc7<a target=\"_blank\" rel=\"nofollow\" href=\"http://www.nytimes.com/2014/11/18/science/researchers-announce-breakthrough-in-content-recognition-software.html\">\u7ebd\u7ea6\u65f6\u62a5</a>\u7684<a target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/karpathy/neuraltalk\">neuraltalk</a>\uff08\u81ea\u52a8\u751f\u6210\u573a\u666f\u56fe\u7247\u7684\u6587\u5b57\u63cf\u8ff0\uff09\u4ece Python+numpy \u8f6c\u5230 Torch \uff08<a target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/karpathy/neuraltalk2\">neuraltalk2</a>\uff09\u3002\u8fd9\u4e9b\u662f\u8fdb\u5165\u6211\u89c6\u7ebf\u8303\u56f4\u5185\u7684 Lua \u7684\u8fdb\u5c55\uff0c\u4e5f\u5c31\u662f\u96c6\u4e2d\u4e8e\u540e\u7aef\u670d\u52a1\u7a0b\u5e8f\u548c\u673a\u5668\u5b66\u4e60\uff08\u6570\u636e\u79d1\u5b66\uff09\u3002</p>\n\n<p>Torch \u4e4b\u4e8e Lua \uff08 LuaJIT \uff09\u5c31\u50cf Numpy \u4e4b\u4e8e Python \uff0c\u4e0d\u4ec5\u5982\u6b64\uff0c Torch \u8fd8\u63d0\u4f9b\u4e86\u795e\u7ecf\u7f51\u7edc\u6a21\u578b\u548c GPU \u7684\u652f\u6301\u3002\u4e3a\u4e86\u66f4\u65b9\u4fbf\u8c03\u8bd5\u548c\u5c55\u793a\u8fd0\u7b97\u8fc7\u7a0b\uff0c Facebook \u5f00\u6e90\u4e86<a target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/facebook/iTorch\">iTorch</a> - IPython(Jupyter) Kernel for Torch \uff0c\u5176\u4e2d\u53ef\u89c6\u5316\u5c55\u73b0\u7684\u90e8\u5206\u7531<a target=\"_blank\" rel=\"nofollow\" href=\"http://bokeh.pydata.org/en/latest/docs/gallery.html\">Bokeh.js</a>\u63d0\u4f9b\uff0c\u6548\u679c\u5982\u4e0b\uff1a</p>\n\n<p><img src=\"https://github.com/facebook/iTorch/raw/master/screenshots/image.png\" alt=\"iTorch ScreenShoot\"></p>\n\n<h3>\u5b89\u88c5\u6b65\u9aa4</h3>\n\n<blockquote>\n<p>System: Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-67-generic x86_64)</p>\n</blockquote>\n\n<p><strong>1. install torch</strong></p>\n\n<p>\u57fa\u672c\u4e0a\u6309\u7167<a target=\"_blank\" rel=\"nofollow\" href=\"http://torch.ch/docs/getting-started.html\">\u5b98\u7f51</a>\u7684\u6b65\u9aa4\u5c31\u53ef\u4ee5\u4e86\uff0c\u65f6\u95f4\u4f1a\u6bd4\u8f83\u957f\uff0c\u5c24\u5176\u662f\u5728\u7f51\u901f\u6bd4\u8f83\u6162\u7684\u65f6\u5019\uff1a</p>\n<div class=\"highlight\"><pre><span class=\"c\"># in a terminal, run the commands</span>\ncurl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-deps <span class=\"p\">|</span> bash\ngit clone https://github.com/torch/distro.git /torch --recursive\n<span class=\"nb\">cd</span> /torch<span class=\"p\">;</span> ./install.sh\n</pre></div>\n\n<p>\u4e0a\u9762\u7684\u6b65\u9aa4\u4f1a\u5148\u5b89\u88c5 LuaJIT \u548c Lua \u7684\u5305\u7ba1\u7406\u5de5\u5177<a target=\"_blank\" rel=\"nofollow\" href=\"https://luarocks.org/\">Luarocks</a>\u3002</p>\n\n<p><strong>2. install Jupyter</strong></p>\n\n<p>\u6309\u7167<a target=\"_blank\" rel=\"nofollow\" href=\"https://jupyter.readthedocs.org/en/latest/install.html\">Jupyter \u6587\u6863</a>\uff0c\u5982\u679c\u6ca1\u88c5<code>pip3</code>\u5148\u88c5\u8d77\u6765\uff1a</p>\n<div class=\"highlight\"><pre>sudo apt-get install build-essential python3-dev\n<span class=\"c\"># \u8fd8\u6709\u4e0b\u9762\u8fd9\u4e00\u6b65</span>\nsudo apt-get install python3-pip\n</pre></div>\n\n<p>\u7136\u540e\u5b89\u88c5 Jupiter \uff08\u56fd\u5185\u7f51\u7edc\u8bb0\u5f97\u6362\u56fd\u5185 pip \u955c\u50cf\uff09\uff1a</p>\n<div class=\"highlight\"><pre>pip3 install jupyter -i http://pypi.douban.com/simple\n</pre></div>\n\n<p><strong>3. install iTorch</strong></p>\n\n<p>\u9996\u5148\u5b89\u88c5<a target=\"_blank\" rel=\"nofollow\" href=\"http://zeromq.org/\">ZeroMQ</a>\u4f9d\u8d56\uff1a</p>\n<div class=\"highlight\"><pre>sudo apt-get install libzmq3-dev\n</pre></div>\n\n<p>\u7136\u540e\u4e0b\u8f7d\u5b89\u88c5 iTorch \uff1a</p>\n<div class=\"highlight\"><pre>git clone https://github.com/facebook/iTorch.git\n<span class=\"nb\">cd </span>iTorch\nluarocks make\n</pre></div>\n\n<p><strong>4. <a target=\"_blank\" rel=\"nofollow\" href=\"http://jupyter-notebook.readthedocs.org/en/latest/public_server.html\">Running a notebook server</a></strong></p>\n\n<p>\u9996\u5148\u67e5\u770b\u662f\u5426\u5b58\u5728 Jupyter \u914d\u7f6e\u6587\u4ef6\uff0c\u82e5\u6ca1\u6709\u5219\u65b0\u5efa\u4e00\u4efd\uff1a</p>\n<div class=\"highlight\"><pre>ls ~/.jupyter\n<span class=\"c\"># \u5982\u679c\u6ca1\u6709 jupyter_notebook_config.py \u5219\u6267\u884c</span>\njupyter notebook --generate-config\n</pre></div>\n\n<p>\u51c6\u5907 Hased Password \uff1a</p>\n<div class=\"highlight\"><pre><span class=\"c\"># IPython</span>\n<span class=\"kn\">from</span> <span class=\"nn\">notebook.auth</span> <span class=\"kn\">import</span> <span class=\"n\">passwd</span>\n<span class=\"n\">passwd</span><span class=\"p\">(</span><span class=\"s\">&#39;mypassword&#39;</span><span class=\"p\">)</span>\n<span class=\"c\"># Output =&gt; &#39;sha1:67c9e60bb8b6:9ffede0825894254b2e042ea597d771089e11aed&#39;</span>\n</pre></div>\n\n<p>\u66f4\u6539 <code>~/.jupyter/jupyter_notebook_config.py</code>\uff1a</p>\n<div class=\"highlight\"><pre><span class=\"c\"># \u53bb\u6389 c.NotebookApp.password \u6ce8\u91ca</span>\n<span class=\"n\">c</span><span class=\"o\">.</span><span class=\"n\">NotebookApp</span><span class=\"o\">.</span><span class=\"n\">password</span> <span class=\"o\">=</span> <span class=\"s\">u&#39;sha1:67c9e60bb8b6:9ffede0825894254b2e042ea597d771089e11aed&#39;</span>\n<span class=\"n\">c</span><span class=\"o\">.</span><span class=\"n\">NotebookApp</span><span class=\"o\">.</span><span class=\"n\">ip</span> <span class=\"o\">=</span> <span class=\"s\">&#39;*&#39;</span>\n<span class=\"n\">c</span><span class=\"o\">.</span><span class=\"n\">NotebookApp</span><span class=\"o\">.</span><span class=\"n\">open_browser</span> <span class=\"o\">=</span> <span class=\"bp\">False</span>\n</pre></div>\n\n<p><strong>5. Run itorch &amp; Hello iTorch</strong></p>\n\n<p>\u4e00\u5207\u51c6\u5907\u5c31\u7eea\uff0c\u8fd0\u884c<code>itorch notebook</code>\uff01</p>\n\n<p>\u611f\u5174\u8da3\u7684\u53ef\u4ee5\u5c1d\u8bd5\u4e00\u4e0b\uff1a<a target=\"_blank\" rel=\"nofollow\" href=\"http://jupyter.rainy.im:8888/notebooks/hello-iTorch.ipynb\">Hello iTorch</a>\uff0c\u5408\u7406\u4f7f\u7528\uff0c\u5207\u52ff\u4e71\u641e~<code>Password(&#39;rainy.im&#39;)</code>\u3002</p>\n", 
      "date_published": "2016-01-02T12:47:54+00:00", 
      "title": "Jupyter \u4e0a\u7684 Lua \u4e0e torch7", 
      "id": "https://www.v2ex.com/t/247860"
    }
  ]
}