{"id":45941,"date":"2023-04-16T09:18:17","date_gmt":"2023-09-20T23:06:29","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/45941-2\/"},"modified":"2024-04-29T23:45:31","modified_gmt":"2024-04-29T15:45:31","slug":"45941-2","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/45941-2\/","title":{"rendered":""},"content":{"rendered":"<p>JupyterLab\u306b\u3042\u308bjupyterlab_templates\u304c\u4fbf\u5229\u305d\u3046\u306a\u306e\u3067\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h1>1. jupyterlab_templates\u3068\u306f<\/h1>\n<p>Jupyter notebook\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u3063\u3066\u304a\u3044\u3066\u547c\u3073\u51fa\u305b\u308b\u4fbf\u5229\u306a\u62e1\u5f35\u6a5f\u80fd\u3067\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u6a19\u6e96\u306enotebook\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u3063\u3066\u304a\u3044\u3066\u5c55\u958b\u3057\u305f\u308a\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304b\u3089\u4f5c\u3063\u305fnotebook\u306b\u4fee\u6b63\u3092\u52a0\u3048\u3066\u8272\u3005\u306a\u3082\u306e\u306b\u9069\u5fdc\u3057\u305f\u308a\u3067\u304d\u305d\u3046\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<h1>2. \u74b0\u5883<\/h1>\n<div>\n<div class=\"post-table\">\u9805\u76ee\u5185\u5bb9OSRHEL7.5Docker1.13.1, build 8633870\/1.13.1\u30b3\u30f3\u30c6\u30ca\u30a4\u30e1\u30fc\u30b8centos:centos7JupyterLab0.34.12Jupyter\u3092\u8d77\u52d5\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u540djupyter(\u30b3\u30f3\u30c6\u30ca\u5185\u306bjupyter\u30e6\u30fc\u30b6\u30fc\u304c\u4f5c\u3089\u308c\u3066\u3044\u308b\u3082\u306e\u3068\u3057\u307e\u3059)<\/div>\n<\/div>\n<p>\u3053\u3053\u3067\u306f\u3001Docker\u30b3\u30f3\u30c6\u30ca\u3067JupyterLab\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/p>\n<h1>3. \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h1>\n<p>\u65e2\u306bJupyterLab\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u624b\u9806\u3067 # \u306f root \u306e\u4f5c\u696d\u3067\u3059\u3002$ \u306f jupyter\u30e6\u30fc\u30b6\u30fc \u306e\u4f5c\u696d\u3067\u3059\u3002<\/p>\n<h2>3-1. \u5fc5\u8981\u306a\u3082\u306e<\/h2>\n<ul class=\"post-ul\">Node.js<\/ul>\n<p>\u30b3\u30f3\u30c6\u30ca\u5185\u306bNode.js\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066 npm \u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>3-2. \u624b\u9806(\u30b3\u30f3\u30c6\u30ca\u5185)<\/h2>\n<p>\u62e1\u5f35\u6a5f\u80fd\u3092\u5c0e\u5165\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"gp\">#<\/span> pip <span class=\"nb\">install <\/span>jupyterlab_templates\r\n<span class=\"gp\">#<\/span> jupyter labextension <span class=\"nb\">install <\/span>jupyterlab_templates\r\n<\/code><\/pre>\n<p>\u62e1\u5f35\u6a5f\u80fd\u3092\u6709\u52b9\u5316\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code># su - jupyter\r\n$ jupyter serverextension enable --py jupyterlab_templates\r\n<\/code><\/pre>\n<p>jupyter\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304c\u4fdd\u5b58\u3055\u308c\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u60c5\u5831\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<br \/>\n\u516c\u5f0f\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<blockquote><p>Adding templates<br \/>\ninstall the server extension, and add the following to jupyter_notebook_config.py<\/p>\n<p>c.JupyterLabTemplates.template_dirs = [&#8216;list&#8217;, &#8216;of&#8217;, &#8216;template&#8217;, &#8216;directories&#8217;]<\/p><\/blockquote>\n<p>\u305f\u3060\u3001\u516c\u5f0f\u901a\u308a\u306b\u8a2d\u5b9a\u3057\u3066\u3057\u307e\u3046\u3068\u8907\u6570\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u5fc5\u8981\u306b\u306a\u308b\u305f\u3081\u3001\u3053\u3053\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306f templates \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u304c\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u8a2d\u5b9a\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>$ vi .jupyter\/jupyter_notebook_config.py\r\n(snip)\r\nc.JupyterLabas.template_dirs = ['templates']\r\n$ mkdir templates\r\n<\/code><\/pre>\n<p>jupyter_notebook_config.py\u30d5\u30a1\u30a4\u30eb(Jupyter\u8a2d\u5b9a)\u304c\u7121\u3044\u5834\u5408<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u8a2d\u5b9a\u30d5\u30a3\u30a2\u30eb\u3092\u751f\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"gp\">$<\/span> jupyter lab <span class=\"nt\">--generate-config<\/span>\r\n<\/code><\/pre>\n<h2>3-3. JupyterLab\u8d77\u52d5(Docker\u30db\u30b9\u30c8)<\/h2>\n<p>\u30b3\u30f3\u30c6\u30ca\u5185\u306bJupyterLab\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"gp\">#<\/span> docker <span class=\"nb\">exec<\/span> <span class=\"nt\">-u<\/span> jupyter <span class=\"nt\">-d<\/span> \u30b3\u30f3\u30c6\u30ca\u540d sh <span class=\"nt\">-c<\/span> <span class=\"s1\">'cd \/home\/jupyter &amp;&amp; jupyter lab'<\/span>\r\n<\/code><\/pre>\n<h1>4. \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u4f5c\u6210\u30fb\u4f7f\u7528<\/h1>\n<h2>4-1. \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4f5c\u6210<\/h2>\n<p>notebook\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u3067\u306f example_template \u3068\u3044\u3046notebook\u3092\u4f5c\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d61f737434c4406cfebbb\/29-0.gif\" alt=\"create_example_template.gif\" \/><\/div>\n<p>\u305f\u3060\u3057\u3001\u4f5c\u3063\u305f\u3060\u3051\u3060\u3068\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u8a8d\u8b58\u3057\u3066\u304f\u308c\u307e\u305b\u3093\u3002<br \/>\n\u8a8d\u8b58\u3055\u305b\u308b\u306b\u306fJupyter\u81ea\u4f53\u306e\u518d\u8d77\u52d5\u304c\u5fc5\u8981\u3067\u3059\u3002<br \/>\nJupyter\u3092\u518d\u8d77\u52d5\u3055\u305b\u308b\u306b\u306f\u4ee5\u4e0b\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Jupyter\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30db\u30b9\u30c8\u307e\u305f\u306f\u30b3\u30f3\u30c6\u30ca\u5185\u306b\u5165\u3063\u3066kill\u3063\u3066\u518d\u8d77\u52d5<\/ul>\n<\/li>\n<\/ul>\n<p>\u3053\u308c\u306f\u3001\u6bce\u56de\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u624b\u9806\u304c\u624b\u9593\u306a\u306e\u3067\u3053\u3053\u3067\u306f\u7121\u3057\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>JupyterLab\u306eTerminal\u304b\u3089\u518d\u8d77\u52d5<\/p>\n<p>\u4eca\u56de\u306f\u3053\u3063\u3061\u306e\u65b9\u6cd5\u3067\u3084\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<h2>4-2. \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u8a8d\u8b58<\/h2>\n<p>\u305f\u3060\u3057\u3001JupyterLab\u306eTerminal\u304b\u3089kill\u3057\u3066\u30d7\u30ed\u30bb\u30b9\u3092\u505c\u6b62\u3057\u3066\u3057\u307e\u3046\u3068\u81ea\u8eab\u3082\u6b62\u307e\u3063\u3066\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u64cd\u4f5c\u4e0d\u80fd\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<br \/>\n\u305d\u3053\u3067\u3001\u518d\u8d77\u52d5\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u30b3\u30de\u30f3\u30c9\u306e\u30a8\u30a4\u30ea\u30a2\u30b9\u3067\u3084\u3063\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h3>4-2-1. \u30b9\u30af\u30ea\u30d7\u30c8<\/h3>\n<pre class=\"post-pre\"><code><span class=\"c\">#!\/bin\/bash<\/span>\r\n<span class=\"nv\">pid<\/span><span class=\"o\">=<\/span><span class=\"sb\">`<\/span>ps aux | <span class=\"nb\">grep<\/span> <span class=\"nt\">-v<\/span> <span class=\"nt\">-e<\/span> <span class=\"nb\">grep<\/span> <span class=\"nt\">-e<\/span> jupyter_restart.sh | <span class=\"nb\">awk<\/span> <span class=\"s1\">'{col=\"\";for(i=2;i&lt;=NF;i++) col=col $i\" \";print col}'<\/span> | <span class=\"nb\">grep<\/span> <span class=\"nt\">-e<\/span> jupyter <span class=\"nt\">-e<\/span> ansible | <span class=\"nb\">awk<\/span> <span class=\"s1\">'{print $1}'<\/span><span class=\"sb\">`<\/span>\r\n<span class=\"k\">for <\/span>i <span class=\"k\">in<\/span> <span class=\"nv\">$pid<\/span> <span class=\"p\">;<\/span> <span class=\"k\">do\r\n  <\/span><span class=\"nb\">kill<\/span> <span class=\"nt\">-9<\/span> <span class=\"nv\">$pid<\/span>\r\n<span class=\"k\">done\r\n<\/span>jupyter lab &amp;\r\n<\/code><\/pre>\n<p>\u6ce8\u610f<br \/>\n\u518d\u8d77\u52d5\u3059\u308b\u6642\u306f\u3001\u3059\u3079\u3066\u306e\u30ab\u30fc\u30cd\u30eb\u304c\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3057\u305f\u72b6\u614b\u3067JupyterLab\u3092\u518d\u8d77\u52d5\u3057\u305f\u65b9\u304c\u78ba\u5b9f\u3067\u3057\u305f\u3002<br \/>\n\u305d\u306e\u305f\u3081\u3001\u4e0a\u8a18\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306fJupyterLab\u3068ansible\u30ab\u30fc\u30cd\u30eb\u3092\u78ba\u5b9f\u306b\u505c\u6b62\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\nansible-kernel\u306f\u81ea\u5206\u304c\u500b\u5225\u3067\u4f7f\u3063\u3066\u3044\u308b\u3082\u306e\u306a\u306e\u3067\u3001\u4f7f\u3063\u3066\u3044\u306a\u3051\u308c\u3070\u524a\u3063\u3066\u3082\u554f\u984c\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u30ab\u30fc\u30cd\u30eb\u3092\u505c\u6b62\u3057\u306a\u3044\u5834\u5408\u306f\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u4ee5\u4e0b\u306e\u624b\u9806\u304b\u3089\u30ab\u30fc\u30cd\u30eb\u3092\u505c\u6b62\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>Kernel -&gt; Shutdown All Kernels&#8230;<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d61f737434c4406cfebbb\/38-0.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2018-09-30 20.52.11.png\" \/><\/div>\n<h3>4-2-2. \u30a8\u30a4\u30ea\u30a2\u30b9<\/h3>\n<pre class=\"post-pre\"><code># chmod +x jupyter_reboot.sh\r\n# vi .bashrc\r\n(snip)\r\nalias jupyter-reboot=\"\/home\/jupyter\/jupyter_restart.sh &amp;\"\r\n<\/code><\/pre>\n<h2>4-3. \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u53cd\u6620<\/h2>\n<p>\u6700\u521d\u306f\u4f5c\u6210\u3057\u305f example_template.ipynb \u304c\u8a8d\u8b58\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u3001JupyterLab\u3092\u518d\u8d77\u52d5\u3057\u3066\u30d6\u30e9\u30a6\u30b6\u3092\u30ea\u30ed\u30fc\u30c9\u3057\u3066\u3042\u3052\u308b\u3068\u8a8d\u8b58\u3057\u3066\u304f\u308c\u3066\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d61f737434c4406cfebbb\/43-0.gif\" alt=\"jupyter_template_example.gif\" \/><\/div>\n<h1>5. \u6700\u5f8c\u306b<\/h1>\n<p>\u3053\u306e\u3084\u308a\u65b9\u306f\u30b3\u30f3\u30c6\u30ca\u3068\u30b3\u30f3\u30c6\u30ca\u5916\u304b\u3089\u8d77\u52d5\u3057\u305f\u3084\u308a\u65b9\u3067\u306e\u307f\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u30b3\u30f3\u30c6\u30ca\u5185\u3067JupyterLab\u3092\u8d77\u52d5\u3057\u305f\u5f8c\u306b\u540c\u3058\u624b\u9806\u3067\u3084\u308b\u3068Terminal\u30b3\u30de\u30f3\u30c9\u304b\u3089JupyterLab\u306e\u518d\u8d77\u52d5\u304c\u5b9f\u884c\u3055\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002<br \/>\n\u306a\u306e\u3067\u3001\u4ed6\u306e\u3084\u308a\u65b9\u3067\u3084\u308b\u5834\u5408\u306f\u8003\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JupyterLab\u306b\u3042\u308bjupyterlab_templates\u304c\u4fbf\u5229\u305d\u3046\u306a\u306e\u3067\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002 1. ju [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-45941","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>- Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/45941-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:description\" content=\"JupyterLab\u306b\u3042\u308bjupyterlab_templates\u304c\u4fbf\u5229\u305d\u3046\u306a\u306e\u3067\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002 1. ju [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/45941-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-20T23:06:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T15:45:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d61f737434c4406cfebbb\/29-0.gif\" \/>\n<meta name=\"author\" content=\"\u6e05, \u626c\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u626c\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/45941-2\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/45941-2\/\",\"name\":\"- Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-09-20T23:06:29+00:00\",\"dateModified\":\"2024-04-29T15:45:31+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/45941-2\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461\",\"name\":\"\u6e05, \u626c\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u626c\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyang\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/45941-2\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"- Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/45941-2\/","og_locale":"zh_CN","og_type":"article","og_description":"JupyterLab\u306b\u3042\u308bjupyterlab_templates\u304c\u4fbf\u5229\u305d\u3046\u306a\u306e\u3067\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002 1. ju [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/45941-2\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-09-20T23:06:29+00:00","article_modified_time":"2024-04-29T15:45:31+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d61f737434c4406cfebbb\/29-0.gif"}],"author":"\u6e05, \u626c","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u626c","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/45941-2\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/45941-2\/","name":"- Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-09-20T23:06:29+00:00","dateModified":"2024-04-29T15:45:31+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/45941-2\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461","name":"\u6e05, \u626c","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g","caption":"\u6e05, \u626c"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyang\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/45941-2\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/45941","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=45941"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/45941\/revisions"}],"predecessor-version":[{"id":88371,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/45941\/revisions\/88371"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=45941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=45941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=45941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}