{"id":32480,"date":"2023-04-12T23:50:40","date_gmt":"2023-06-06T12:36:24","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%94%a8mac%e5%ae%89%e8%a3%85jupyter-xxx%ef%bc%88iruby%e3%80%81r%e3%80%81nodes%e3%80%81go%ef%bc%89%e3%80%82\/"},"modified":"2024-04-29T23:15:20","modified_gmt":"2024-04-29T15:15:20","slug":"%e7%94%a8mac%e5%ae%89%e8%a3%85jupyter-xxx%ef%bc%88iruby%e3%80%81r%e3%80%81nodes%e3%80%81go%ef%bc%89%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%94%a8mac%e5%ae%89%e8%a3%85jupyter-xxx%ef%bc%88iruby%e3%80%81r%e3%80%81nodes%e3%80%81go%ef%bc%89%e3%80%82\/","title":{"rendered":"\u7528Mac\u5b89\u88c5jupyter XXX\uff08iruby\u3001R\u3001nodes\u3001go\uff09"},"content":{"rendered":"<p>\u6211\u901a\u5e38\u4f7f\u7528Python\u7684Jupyter\uff0c\u4f46\u7531\u4e8e\u5b83\u652f\u6301\u5176\u4ed6\u8bed\u8a00\uff0c\u6240\u4ee5\u6211\u4e5f\u5c1d\u8bd5\u5b89\u88c5\u4e86\u4ee5\u4e0b\u8bed\u8a00\uff1a<br \/>\n&#8211; A) Ruby<br \/>\n&#8211; B) R<br \/>\n&#8211; C) Nodes<br \/>\n&#8211; D) Go<\/p>\n<p>\u7ed3\u679c\uff0c\u5728\u540c\u4e00\u4e2a\u76ee\u5f55\u4e0b\u6709python\u3001ruby\u3001R\u3001go\u3001nodejs\u7684.ipynb\u6587\u4ef6\u65f6\uff0c\u4f1a\u8ba9\u4eba\u611f\u5230\u6df7\u4e71\uff08\u7b11\uff09\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d122b37434c4406bf5865\/2-0.png\" alt=\"jupyter-many.png\" \/><\/div>\n<h1>\u5b89\u88c5Jupyter<\/h1>\n<p>\u9996\u5148\uff0c\u4ece\u5b89\u88c5Jupyter Notebook\uff08\u4ee5\u53caPython3\uff09\u5f00\u59cb\uff08\u5982\u679c\u5df2\u7ecf\u5b89\u88c5\u8bf7\u8df3\u8fc7\u6b64\u6b65\u9aa4\uff09\u3002<\/p>\n<pre class=\"post-pre\"><code>\/usr\/bin\/ruby <span class=\"nt\">-e<\/span> <span class=\"s2\">\"<\/span><span class=\"si\">$(<\/span>curl <span class=\"nt\">-fsSL<\/span>\u3000https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/install<span class=\"si\">)<\/span><span class=\"s2\">\"<\/span>\r\nbrew <span class=\"nb\">install <\/span>python3\r\npip3 <span class=\"nb\">install <\/span>jupyter\r\n\r\n\r\n<\/code><\/pre>\n<p>\u5b8c\u6210\u5b89\u88c5\u540e\uff0c<\/p>\n<pre class=\"post-pre\"><code>jupyter notebook\r\n<\/code><\/pre>\n<p>\u670d\u52a1\u5668\u5f00\u59cb\u8fd0\u884c\u540e\uff0c\u7a0d\u7b49\u7247\u523b\u6d4f\u89c8\u5668\u4f1a\u81ea\u52a8\u6253\u5f00http:\/\/localhost:8888\u3002\u6b64\u5916\uff0c\u5982\u679c\u5728\u540e\u53f0\u542f\u52a8\u65f6\u52a0\u4e0a&amp;\u7b26\u53f7\uff0c\u540e\u7eed\u4f1a\u5f88\u9ebb\u70e6\u9700\u8981\u624b\u52a8kill\uff08\u4f7f\u7528\u547d\u4ee4&#8221;kill `ps -ef | grep jupyter | awk {&#8216;print $2&#8217;}`&#8221;\u6765\u83b7\u53d6\u7b2c\u4e8c\u5217\u5e76\u6d88\u9664\u3002\u662f\u5426\u6709\u66f4\u597d\u7684\u65b9\u6cd5\uff09\u3002<\/p>\n<p>\u4f7f\u7528Mac\u4e0a\u7684Python\u65f6\uff0c\u6211\u53d1\u73b0\u6709\u5f88\u591a\u6587\u7ae0\u8c08\u5230\u4ecepyenv\u5b89\u88c5Python\uff0c\u6216\u8005\u5b89\u88c5anaconda\u4ee5\u83b7\u53d6\u5404\u79cd\u9009\u9879\u3002\u4f46\u662f\uff0c\u5982\u679c\u53ea\u662f\u666e\u901a\u5730\u4f7f\u7528\uff0c\u6211\u8ba4\u4e3a\u4f7f\u7528brew\u5b89\u88c5Python3\u4f1a\u66f4\u65b9\u4fbf\u3002\u5982\u679c\u9700\u8981\u4f7f\u7528Python2\uff0c\u53ef\u4ee5\u4f7f\u7528python\/pip\uff0c\u5982\u679c\u9700\u8981\u4f7f\u7528Python3\uff0c\u53ef\u4ee5\u4f7f\u7528python3\/pip3\uff0c\u65e0\u9700\u5207\u6362\u3002\u8fd9\u6837\u5c31\u4e0d\u4f1a\u88abanaconda\u7684\u7248\u672c\u66f4\u65b0\u6240\u5e72\u6270\u3002<\/p>\n<h1>A) \u4f7f\u7528Jupyter\u8fd0\u884cRuby\uff08IRuby\uff09\u3002<\/h1>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d122b37434c4406bf5865\/11-0.png\" alt=\"jupyter-ruby.png\" \/><\/div>\n<pre class=\"post-pre\"><code>brew <span class=\"nb\">install <\/span>zeromq czmq\r\ngem <span class=\"nb\">install <\/span>rbczmq <span class=\"nt\">--<\/span> <span class=\"nt\">--with-system-libs<\/span>\r\ngem <span class=\"nb\">install <\/span>iruby\r\n\r\ngem <span class=\"nb\">install <\/span>nyaplot <span class=\"c\"># \u3053\u308c\u306fjupyter\u3068\u304b\u95a2\u4fc2\u306a\u3044\u304c\u6b32\u3057\u304f\u3066\u5165\u308c\u305f\u3002<\/span>\r\n<\/code><\/pre>\n<p>\u8fd9\u662f\u65b0\u7684\u8bdd\u9898\uff1f nyaplot\u4e5f\u53ef\u4ee5\u8fd0\u884c\u5e76\u4e14\u6ee1\u610f\uff08\u4f46\u662f\uff0c\u671f\u5f85\u76843D\u7ed8\u56fe\u65f6\u51fa\u73b0\u4e86\u9519\u8bef\uff01<br \/>\n\u6dfb\u52a0\u8f93\u51fa\u65f6\u9047\u5230\u4e86Javascript\u9519\u8bef\uff01<br \/>\n\u7c7b\u578b\u9519\u8bef\uff1a\u672a\u5b9a\u4e49\u7684\u5bf9\u8c61\uff08\u8bc4\u4f30&#8217;ext.pane&#8217;\u4e0d\u662f\u4e00\u4e2a\u5bf9\u8c61\uff09<br \/>\n\u5728\u6d4f\u89c8\u5668\u7684Javascript\u63a7\u5236\u53f0\u4e2d\u67e5\u770b\u66f4\u591a\u8be6\u7ec6\u4fe1\u606f\u3002<br \/>\n\u4e3a\u4ec0\u4e48\u4f1a\u8fd9\u6837\u5462&#8230;\uff09<\/p>\n<p>\u6211\u53c2\u8003\u4e86\u4e0b\u9762\u6587\u7ae0\u4e2d\u5173\u4e8e\u5b89\u88c5rbczmq\u7684\u65b9\u6cd5\u3002<\/p>\n<blockquote><p>\u8bf7\u4f7f\u7528\u6bcd\u8bed\u6c49\u8bed\u8fdb\u884c\u4ee5\u4e0b\u5185\u5bb9\u7684\u6539\u5199\uff0c\u53ea\u9700\u63d0\u4f9b\u4e00\u79cd\u9009\u9879\uff1a<\/p>\n<p>http:\/\/qiita.com\/mrkn\/items\/78196ed59266f58dcb64<\/p>\n<p>\u94fe\u63a5\uff1ahttp:\/\/qiita.com\/mrkn\/items\/78196ed59266f58dcb64<\/p><\/blockquote>\n<p>(\u5907\u6ce8)\u53e6\u5916\uff0c\u5bf9\u4e8eMac\u6765\u8bf4\uff0c\u4e5f\u6709\u4eba\u8bf4\u53ef\u4ee5\u4f7f\u7528ffi-rzmq\u4ee3\u66ffrbczmq\uff0c\u4f8b\u5982\uff1a<\/p>\n<blockquote><p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u9009\u9879\u7684\u4e2d\u6587\u672c\u5730\u5316\u7ffb\u8bd1\uff1a<\/p>\n<p>http:\/\/qiita.com\/domitry\/items\/aa348caf993e876a7be5<\/p><\/blockquote>\n<pre class=\"post-pre\"><code><span class=\"c\"># \u81ea\u5206\u306e\u74b0\u5883\u3067\u306fffi-rzmq\u3067\u306f\u52d5\u4f5c\u305b\u305a\u3001\u3001<\/span>\r\ngem <span class=\"nb\">install <\/span>ffi-rzmq\r\ngem <span class=\"nb\">install <\/span>iruby\r\n<\/code><\/pre>\n<p>\u8d77\u521d\u6211\u5c1d\u8bd5\u542f\u52a8\u5b83\uff0c\u4f46\u5f88\u5feb\u5c31\u51fa\u73b0\u4e86Dead kernel\u7684\u9519\u8bef\uff0c\u5e76\u4e14\u65e0\u6cd5\u6b63\u5e38\u8fd0\u884c\u3002\u6700\u7ec8\uff0c\u6211\u5378\u8f7d\u4e86ffi-rzmq\u5b9d\u77f3\uff0c\u5e76\u6309\u7167\u4e0a\u8ff0\u65b9\u6cd5\u5b89\u88c5\u4e86rbczmq\u3002<\/p>\n<p>\u65e0\u8bba\u60a8\u8f93\u5165\u4ee5\u4e0b\u54ea\u4e2a\u9009\u9879\uff0c\u90fd\u4f1a\u542f\u52a8\u76f8\u540c\u7684\u5e94\u7528\u7a0b\u5e8f\uff1a<br \/>\n&#8211; iruby \u7b14\u8bb0\u672c<br \/>\n&#8211; python \u7b14\u8bb0\u672c<br \/>\n&#8211; jupyter \u7b14\u8bb0\u672c<\/p>\n<p>\u53e6\u5916\uff0c\u6211\u8bb0\u5f97\u662f\u901a\u8fc7rbenv\u5b89\u88c5\u4e86Ruby\uff08\u8be6\u7ec6\u60c5\u51b5\u6211\u5df2\u7ecf\u5fd8\u8bb0\u4e86\uff09\u3002<\/p>\n<pre class=\"post-pre\"><code>brew <span class=\"nb\">install <\/span>rbenv\r\n...\r\n<\/code><\/pre>\n<h1>B) \u4f7f\u7528Jupyter\u8fd0\u884cR\u7f16\u7a0b\u8bed\u8a00\u3002<\/h1>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d122b37434c4406bf5865\/24-0.png\" alt=\"jupyter-R.png\" \/><\/div>\n<blockquote><p>\u8bf7\u7ed9\u51fa\u4ee5\u4e0b\u94fe\u63a5\u7684\u4e2d\u6587\u91ca\u4e49\uff1a<\/p>\n<p>https:\/\/github.com\/IRkernel\/IRkernel<\/p><\/blockquote>\n<p>\u6839\u636e\u4e0a\u8ff0\u516c\u5f0f\uff0c\u542f\u52a8R\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"n\">install.packages<\/span><span class=\"p\">(<\/span><span class=\"nf\">c<\/span><span class=\"p\">(<\/span><span class=\"s1\">'repr'<\/span><span class=\"p\">,<\/span> <span class=\"s1\">'IRdisplay'<\/span><span class=\"p\">,<\/span> <span class=\"s1\">'crayon'<\/span><span class=\"p\">,<\/span> <span class=\"s1\">'pbdZMQ'<\/span><span class=\"p\">,<\/span> <span class=\"s1\">'devtools'<\/span><span class=\"p\">))<\/span>\r\n<span class=\"n\">devtools<\/span><span class=\"o\">::<\/span><span class=\"n\">install_github<\/span><span class=\"p\">(<\/span><span class=\"s1\">'IRkernel\/IRkernel'<\/span><span class=\"p\">)<\/span>\r\n<span class=\"n\">IRkernel<\/span><span class=\"o\">::<\/span><span class=\"n\">installspec<\/span><span class=\"p\">()<\/span>  <span class=\"c1\"># to register the kernel in the current R installation<\/span>\r\n<\/code><\/pre>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u5728jupyter notebook\u4e0a\u9009\u62e9R\uff0c\u7136\u540e\u5c1d\u8bd5\u8fd0\u884cplot(iris)\u3002<\/p>\n<p>\u5728\u5176\u4ed6\u7f51\u7ad9\u4e0a\u4ecb\u7ecd\u4e86\u5176\u4ed6\u65b9\u6cd5\uff0c\u4f46\u5c1d\u8bd5\u540e\u5374\u6ca1\u6709\u6210\u529f\u3002\u4e4b\u540e\u6211\u67e5\u9605\u4e86\u5b98\u65b9\u7f51\u7ad9\u5e76\u8fdb\u884c\u4e86\u64cd\u4f5c\u3002\u987a\u4fbf\u63d0\u4e00\u4e0b\uff0c\u6211\u8ba4\u4e3aR\u5df2\u7ecf\u4e0b\u8f7d\u5e76\u5b89\u88c5\u4e86\u76f8\u5173\u5305\u3002<\/p>\n<p>\u5982\u679c\u8981\u5728brew\u4e0a\u5b89\u88c5R\uff0c\u5219\u5fc5\u987b\u6307\u5b9atap homebrew\/science\uff0c\u5426\u5219\u4f1a\u63d0\u793a\u627e\u4e0d\u5230\u3002<\/p>\n<pre class=\"post-pre\"><code>brew tap homebrew\/science\r\nbrew <span class=\"nb\">install <\/span>R\r\n<\/code><\/pre>\n<p>\u6b64\u5916\uff0c\u63a2\u7d22\u6027\u5206\u6790\u73af\u5883\u7684R\u51fa\u73b0\u4e86\u3002\u5f15\u4eba\u6ce8\u76ee\u3002<\/p>\n<blockquote><p>https:\/\/exploratory.io:<br \/>\nhttps:\/\/exploratory.io<\/p>\n<p>http:\/\/qiita.com\/21-Hidetaka-Ko\/items\/0c746d84d568113536bf:<br \/>\nhttp:\/\/qiita.com\/21-Hidetaka-Ko\/items\/0c746d84d568113536bf<\/p><\/blockquote>\n<h1>C) \u7528Jupyter\u8fdb\u884cnodejs\u64cd\u4f5c<\/h1>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d122b37434c4406bf5865\/35-0.png\" alt=\"jupyter-nodejs.png\" \/><\/div>\n<blockquote><p>\u8bf7\u4f7f\u7528\u4e0b\u9762\u7684github\u94fe\u63a5\u67e5\u770bJupyter-Node.js\u7684\u76f8\u5173\u4fe1\u606f\uff1a<br \/>\nhttps:\/\/github.com\/notablemind\/jupyter-nodejs<\/p><\/blockquote>\n<p>git clone git@github.com:notablemind\/jupyter-nodejs.git<br \/>\n\u56e0\u4e3a\u65e0\u6cd5\u901a\u8fc7\u9a8c\u8bc1\uff0c\u6240\u4ee5\u6211\u4f7f\u7528\u4ee5\u4e0b\u65b9\u5f0f\u514b\u9686\uff1a<br \/>\ngit clone https:\/\/github.com\/notablemind\/jupyter-nodejs.git<\/p>\n<p>\u63a5\u4e0b\u6765\u5c31\u8fd9\u6837<\/p>\n<pre class=\"post-pre\"><code>git clone https:\/\/github.com\/notablemind\/jupyter-nodejs.git\r\n<span class=\"nb\">cd <\/span>jupyter-nodejs\r\n<span class=\"nb\">mkdir<\/span> <span class=\"nt\">-p<\/span> ~\/.ipython\/kernels\/nodejs\/\r\nnpm <span class=\"nb\">install<\/span> <span class=\"o\">&amp;&amp;<\/span> node install.js\r\nmake\r\n<\/code><\/pre>\n<p>\u5b8c\u6210\u3002\u9014\u4e2d\u3067\u3001\u4f55\u304b\u8a00\u308f\u308c\u305f\u6c17\u304c\u3057\u305f\u3051\u308c\u3069\u3001\u666e\u901a\u306b\u52d5\u3044\u3066\u3044\u308b\u3002console.log(&#8216;hello&#8217;)\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n\u307e\u305f\u3001nodejs\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3001<\/p>\n<pre class=\"post-pre\"><code>brew <span class=\"nb\">install <\/span>node\r\n<\/code><\/pre>\n<h1>D-1) \u4f7f\u7528Jupyter (Docker \u7248) \u8fdb\u884c Go \u7f16\u7a0b<\/h1>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d122b37434c4406bf5865\/43-0.png\" alt=\"jupyter-go.png\" \/><\/div>\n<blockquote><p>\u8bf7\u63d0\u4f9b\u4ee5\u4e0b\u94fe\u63a5\u7684\u4e2d\u6587\u672c\u5730\u5316\u7248\u672c\uff1ahttps:\/\/github.com\/gopherds\/gophernotes<\/p><\/blockquote>\n<p>\u6211\u8a66\u8457\u5c07\u5b83\u5b89\u88dd\u5728\u672c\u5730\u6642\u767c\u73fe\u6b65\u9a5f\u5f88\u9ebb\u7169\uff08\u5be6\u969b\u4e0a\u4e26\u4e0d\u662f\u5982\u6b64\uff09\uff0c\u6240\u4ee5\u6211\u5148\u5617\u8a66\u7528Docker\u3002\u5728Mac\u4e0a\u7684\u6b65\u9a5f\u5982\u4e0b\uff1a<\/p>\n<pre class=\"post-pre\"><code>docker pull dwhitena\/gophernotes:latest\r\ndocker run <span class=\"nt\">--net<\/span> host <span class=\"nt\">-d<\/span> dwhitena\/gophernotes jupyter notebook <span class=\"nt\">--no-browser<\/span> <span class=\"nt\">--ip<\/span><span class=\"o\">=<\/span>0.0.0.0\r\n<\/code><\/pre>\n<p>\u627e\u4e86\u5f88\u4e45\u4e5f\u627e\u4e0d\u5230\uff08\u4e0d\u8bba\u662f\u5728http:\/\/localhost:8888\u8fd8\u662fhttp:\/\/0.0.0.0:8888\u4e0a\u90fd\u627e\u4e0d\u5230\uff09\u3002<\/p>\n<blockquote><p>\u8bf7\u5c06\u4ee5\u4e0b\u5185\u5bb9\u4ee5\u4e2d\u6587\u8fdb\u884c\u5f15\u8ff0\uff0c\u53ea\u9700\u8981\u4e00\u79cd\u9009\u9879\uff1a<\/p>\n<p>https:\/\/github.com\/gopherds\/gophernotes\/issues\/43<\/p><\/blockquote>\n<p>\u9700\u8981\u8fdb\u884c\u7aef\u53e3\u6620\u5c04\uff08\u5f53\u7136\u4e86\uff09\u30028888\u7aef\u53e3\u5df2\u88ab\u672c\u5730\u7684Jupyter\u5360\u7528\uff0c\u6240\u4ee5\u5728\u8fd9\u91cc\u4f7f\u75289000\u7aef\u53e3\u3002<\/p>\n<pre class=\"post-pre\"><code>docker run <span class=\"nt\">-p<\/span> 9000:8888 <span class=\"nt\">-d<\/span> dwhitena\/gophernotes jupyter notebook <span class=\"nt\">--no-browser<\/span> <span class=\"nt\">--ip<\/span><span class=\"o\">=<\/span>0.0.0.0\r\n<\/code><\/pre>\n<p>\u53e6\u5916\uff0c\u5728issues\/43\u4e2d\uff0c\u6211\u4f7f\u7528\u4e86&#8211;rm\u53c2\u6570\u3002\u52a0\u4e0a&#8211;rm\u53c2\u6570\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7CTRL-C\u505c\u6b62\u548c\u5220\u9664\u5bb9\u5668\uff0c\u975e\u5e38\u65b9\u4fbf\u3002\u4e0d\u8fc7\uff0c\u91cd\u65b0\u542f\u52a8\u540e\uff0c\u4e4b\u524d\u7684\u6587\u4ef6\uff08Untitled.ipynb\uff09\u4f1a\u88ab\u5220\u9664\uff0c\u8fd9\u662f\u4e0d\u597d\u7684\u3002\u6240\u4ee5\uff0c\u6211\u8ba4\u4e3a\u4f7f\u7528\u4e0a\u8ff0\u65b9\u6cd5\u6bd4\u8f83\u597d\u3002<\/p>\n<p>\u5982\u679c\u5b83\u79fb\u52a8\u4e86\uff0c\u5c31\u901a\u8fc79000\u53f7\u8fde\u63a5\u3002<br \/>\nhttp:\/\/localhost:9000<\/p>\n<p>\u9009\u4e86New\u7684\u8bdd\uff0c\u8bd5\u7740\u5199\u6210fmt.Println(&#8220;\u4f60\u597d, \u4e16\u754c&#8221;)<\/p>\n<p>\u5b89\u88c5go\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<pre class=\"post-pre\"><code>brew <span class=\"nb\">install <\/span>golang\r\n<\/code><\/pre>\n<p>\u4eceDocker\u5b98\u65b9\u7f51\u9875\u4e0b\u8f7d(Docker.dmg)\u5e76\u5b89\u88c5\u3002<\/p>\n<h1>D-2) \u672c\u5730\u7248\u7528Jupyter\u7f16\u5199Go\u3002<\/h1>\n<p>docker\u4e3a\u65b9\u4fbf\u4e14\u542f\u52a8\u8fc5\u901f\uff0c\u4f46\u662f\u653e\u7f6e\u5927\u578b\u955c\u50cf\u548c\u5bb9\u5668\u5e76\u4e0d\u6709\u8da3\u3002\u56e0\u6b64\uff0c\u4ecd\u7136\u9009\u62e9\u5b89\u88c5\u5728\u672c\u5730\u3002\u518d\u6b21\uff0c\u5efa\u8bae\u4f7f\u7528\u5b98\u65b9\u7248\u3002<\/p>\n<blockquote><p>\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u94fe\u63a5\u8bbf\u95ee Gophernotes \u5728 GitHub \u4e0a\u7684\u9879\u76ee\uff1ahttps:\/\/github.com\/gopherds\/gophernotes<\/p><\/blockquote>\n<p>\u67e5\u770b\u3002\u770b\u8d77\u6765\u6709\u70b9\u9ebb\u70e6\uff0c\u4f46\u5b9e\u9645\u4e0a\u53ea\u662f\u8bbe\u7f6e\u7684\u6446\u653e\u4f4d\u7f6e\u56e0\u4eba\u800c\u5f02\u800c\u5df2\u3002\u9996\u5148\uff0c\u6267\u884cjupyter &#8211;data-dir\u547d\u4ee4\uff0c\u4ee5\u786e\u8ba4\u81ea\u5df1\u7684jupyter\u6838\u5fc3\u8bbe\u7f6e\u5b58\u653e\u5728\u54ea\u91cc\u3002\u5bf9\u6211\u6765\u8bf4\uff0c\u5e94\u8be5\u662f\u5728~Library\/Jupyter\u3002<\/p>\n<pre class=\"post-pre\"><code>jupyter <span class=\"nt\">--data-dir<\/span>\r\n\/Users\/xxx\/Library\/Jupyter\r\n<\/code><\/pre>\n<p>\u5269\u4e0b\u7684\u5c31\u662f\u4ee5\u4e0b\u5185\u5bb9\u8f7b\u677e\u8fdb\u5165\u3002<\/p>\n<pre class=\"post-pre\"><code>go get golang.org\/x\/tools\/cmd\/goimports\r\ngo get <span class=\"nt\">-tags<\/span> zmq_4_x github.com\/gopherds\/gophernotes\r\n\r\n<span class=\"nb\">mkdir<\/span> <span class=\"nt\">-p<\/span> ~\/Library\/Jupyter\/kernels\/gophernotes\r\n<span class=\"nb\">cp<\/span> <span class=\"nt\">-r<\/span> <span class=\"nv\">$GOPATH<\/span>\/src\/github.com\/gopherds\/gophernotes\/kernel\/<span class=\"k\">*<\/span> ~\/Library\/Jupyter\/kernels\/gophernotes\r\n<\/code><\/pre>\n<p>\u6b64\u5916\uff0c\u5bf9\u4e8e\u8bbe\u7f6e\u9879\uff08\u5373jupyter &#8211;data-dir\u7684\u8f93\u51fa\uff09\u4e0d\u662f\u4f4d\u4e8e~Library\/Jupyter\uff0c\u800c\u662f\u4f4d\u4e8e~\/.ipython\u7684\u7528\u6237\uff0c\u53ef\u6309\u4ee5\u4e0b\u64cd\u4f5c\u8fdb\u884c\uff08\u5176\u4e2dgo get\u90e8\u5206\u4e0d\u53d8\uff09\u3002<\/p>\n<pre class=\"post-pre\"><code>go get golang.org\/x\/tools\/cmd\/goimports\r\ngo get <span class=\"nt\">-tags<\/span> zmq_4_x github.com\/gopherds\/gophernotes\r\n\r\n<span class=\"nb\">mkdir<\/span> ~\/.ipython\/kernels\/gophernotes\r\n<span class=\"nb\">cp<\/span> <span class=\"nt\">-r<\/span> <span class=\"nv\">$GOPATH<\/span>\/src\/github.com\/gopherds\/gophernotes\/kernel\/<span class=\"k\">*<\/span> ~\/.ipython\/kernels\/gophernotes\/\r\n<\/code><\/pre>\n<p>\u4f3c\u4e4e\u6709ZeroMQ 2.2.x\u548cZeroMQ 4.x\u4e24\u4e2a\u7248\u672c\uff0c\u4f46\u662f\u7531\u4e8e\u65e0\u6cd5\u4f7f\u7528ZeroMQ 2.2.x\uff0c\u6240\u4ee5\u9009\u62e9\u4e86ZeroMQ 4.x\u3002<\/p>\n<h2>D-3) \u8fd0\u884cgo<\/h2>\n<p>\u8bd5\u4e00\u8bd5\uff0c\u5728https:\/\/golang.org\u8fd9\u4e2a\u5b98\u65b9\u7f51\u5740\u4e0a\u8fd0\u884chello world\u7a0b\u5e8f\uff0c\u7ed3\u679c\u51fa\u73b0\u4e86\u6b7b\u673a\u7684\u60c5\u51b5\uff01<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\">\/\/ main\u3092\u4f7f\u304a\u3046\u3068\u3059\u308b\u3068jupyter\u3067\u306fDead kernel\u306b\u306a\u3063\u3066\u6b62\u307e\u308b\uff01\uff01<\/span>\r\n<span class=\"k\">package<\/span> <span class=\"n\">main<\/span>\r\n\r\n<span class=\"k\">import<\/span> <span class=\"s\">\"fmt\"<\/span>\r\n\r\n<span class=\"k\">func<\/span> <span class=\"n\">main<\/span><span class=\"p\">()<\/span> <span class=\"p\">{<\/span>\r\n    <span class=\"n\">fmt<\/span><span class=\"o\">.<\/span><span class=\"n\">Println<\/span><span class=\"p\">(<\/span><span class=\"s\">\"Hello, \u4e16\u754c\"<\/span><span class=\"p\">)<\/span>\r\n<span class=\"p\">}<\/span>\r\n<\/code><\/pre>\n<p>\u8c8c\u4f3c\u4e0d\u53ef\u4ee5\u5728\u4ee3\u7801\u4e2d\u4f7f\u7528&#8221;package main&#8221;\u4e4b\u7c7b\u7684\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u5f0f\uff0c\u53ea\u9700\u5c06&#8221;main&#8221;\u66ff\u6362\u4e3a&#8221;test&#8221;\u5373\u53ef\u901a\u8fc7\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"k\">import<\/span> <span class=\"s\">\"fmt\"<\/span>\r\n<span class=\"k\">func<\/span> <span class=\"n\">test<\/span><span class=\"p\">()<\/span> <span class=\"p\">{<\/span>\r\n    <span class=\"n\">fmt<\/span><span class=\"o\">.<\/span><span class=\"n\">Println<\/span><span class=\"p\">(<\/span><span class=\"s\">\"Hello, \u4e16\u754c\"<\/span><span class=\"p\">)<\/span>\r\n<span class=\"p\">}<\/span>\r\n<span class=\"n\">test<\/span><span class=\"p\">()<\/span>\r\n<\/code><\/pre>\n<p>\u53e6\u5916\uff0c\u636e\u79f0fmt\u5df2\u7ecf\u4ece\u4e00\u5f00\u59cb\u5c31\u88ab\u5bfc\u5165\u4e86\uff0c\u56e0\u6b64\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528fmt.Println\u800c\u65e0\u9700\u5bfc\u5165&#8221;fmt&#8221;\u3002<\/p>\n<h1>\uff08\u4ec5\u4f9b\u53c2\u8003\uff09\u5728Mac\u4e0a\u8bbe\u7f6ejupyter\u5185\u6838\u7684\u4f4d\u7f6e\u662f\u4ec0\u4e48\uff1f<\/h1>\n<p>\u5728\u6211\u4e2a\u4eba\u7684\u60c5\u51b5\u4e0b\uff0c<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">ruby\u3001nodes\u306f\u3001~\/.ipython\/kernels\/<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">ir(=R)\u3001gophernotes(=go)\u306f\u3001~Library\/Jupyter\/kernels\/<\/ul>\n<p>\u6211\u5df2\u7ecf\u5b89\u88c5\u5728~Library\/Jupyter\u4e2d\u3002\u76ee\u524d\uff0c\u4f3c\u4e4e\u53ef\u4ee5\u5728~\/.ipython\/kernels\/\u6216~Library\/Jupyter\/kernels\/\u90fd\u80fd\u8fd0\u884c\u3002\u5b9e\u9645\u4e0a\uff0c\u6211\u6700\u521d\u628a\u5b83\u653e\u5728\u4e86~\/.ipython\/kernels\/\u4e2d\u5b83\u4e5f\u6b63\u5e38\u5de5\u4f5c\u3002\u4e4b\u540e\uff0c\u6211\u9519\u628a\u4f4d\u7f6e\u653e\u9519\u4e86\uff01\u4e8e\u662f\u7528mv\u547d\u4ee4\u5c06\u5b83\u79fb\u52a8\u5230\u4e86~Library\/Jupyter\/kernels\/\u4e2d\u3002\u4e0d\u7ba1\u653e\u5728\u54ea\u4e2a\u4f4d\u7f6e\uff0c\u53ea\u8981\u4ece\u4e00\u4e2a\u4f4d\u7f6e\u79fb\u52a8\u5230\u53e6\u4e00\u4e2a\u4f4d\u7f6e\uff0c\u5b83\u90fd\u80fd\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u901a\u5e38\u4f7f\u7528Python\u7684Jupyter\uff0c\u4f46\u7531\u4e8e\u5b83\u652f\u6301\u5176\u4ed6\u8bed\u8a00\uff0c\u6240\u4ee5\u6211\u4e5f\u5c1d\u8bd5\u5b89\u88c5\u4e86\u4ee5\u4e0b\u8bed\u8a00\uff1a &#8211; A [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-32480","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>\u7528Mac\u5b89\u88c5jupyter XXX\uff08iruby\u3001R\u3001nodes\u3001go\uff09 - 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\/\u7528mac\u5b89\u88c5jupyter-xxx\uff08iruby\u3001r\u3001nodes\u3001go\uff09\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u7528Mac\u5b89\u88c5jupyter XXX\uff08iruby\u3001R\u3001nodes\u3001go\uff09\" \/>\n<meta property=\"og:description\" content=\"\u6211\u901a\u5e38\u4f7f\u7528Python\u7684Jupyter\uff0c\u4f46\u7531\u4e8e\u5b83\u652f\u6301\u5176\u4ed6\u8bed\u8a00\uff0c\u6240\u4ee5\u6211\u4e5f\u5c1d\u8bd5\u5b89\u88c5\u4e86\u4ee5\u4e0b\u8bed\u8a00\uff1a &#8211; A [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u7528mac\u5b89\u88c5jupyter-xxx\uff08iruby\u3001r\u3001nodes\u3001go\uff09\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-06T12:36:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T15:15:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d122b37434c4406bf5865\/2-0.png\" \/>\n<meta name=\"author\" content=\"\u6e05, \u5b87\" \/>\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, \u5b87\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \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\/%e7%94%a8mac%e5%ae%89%e8%a3%85jupyter-xxx%ef%bc%88iruby%e3%80%81r%e3%80%81nodes%e3%80%81go%ef%bc%89%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e7%94%a8mac%e5%ae%89%e8%a3%85jupyter-xxx%ef%bc%88iruby%e3%80%81r%e3%80%81nodes%e3%80%81go%ef%bc%89%e3%80%82\/\",\"name\":\"\u7528Mac\u5b89\u88c5jupyter XXX\uff08iruby\u3001R\u3001nodes\u3001go\uff09 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-06-06T12:36:24+00:00\",\"dateModified\":\"2024-04-29T15:15:20+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e7%94%a8mac%e5%ae%89%e8%a3%85jupyter-xxx%ef%bc%88iruby%e3%80%81r%e3%80%81nodes%e3%80%81go%ef%bc%89%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e7%94%a8mac%e5%ae%89%e8%a3%85jupyter-xxx%ef%bc%88iruby%e3%80%81r%e3%80%81nodes%e3%80%81go%ef%bc%89%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e7%94%a8mac%e5%ae%89%e8%a3%85jupyter-xxx%ef%bc%88iruby%e3%80%81r%e3%80%81nodes%e3%80%81go%ef%bc%89%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u7528Mac\u5b89\u88c5jupyter XXX\uff08iruby\u3001R\u3001nodes\u3001go\uff09\"}]},{\"@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\/1a6ecd3d914d22a5ac32791ffc1fbd8e\",\"name\":\"\u6e05, \u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e7%94%a8mac%e5%ae%89%e8%a3%85jupyter-xxx%ef%bc%88iruby%e3%80%81r%e3%80%81nodes%e3%80%81go%ef%bc%89%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u7528Mac\u5b89\u88c5jupyter XXX\uff08iruby\u3001R\u3001nodes\u3001go\uff09 - 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\/\u7528mac\u5b89\u88c5jupyter-xxx\uff08iruby\u3001r\u3001nodes\u3001go\uff09\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u7528Mac\u5b89\u88c5jupyter XXX\uff08iruby\u3001R\u3001nodes\u3001go\uff09","og_description":"\u6211\u901a\u5e38\u4f7f\u7528Python\u7684Jupyter\uff0c\u4f46\u7531\u4e8e\u5b83\u652f\u6301\u5176\u4ed6\u8bed\u8a00\uff0c\u6240\u4ee5\u6211\u4e5f\u5c1d\u8bd5\u5b89\u88c5\u4e86\u4ee5\u4e0b\u8bed\u8a00\uff1a &#8211; A [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u7528mac\u5b89\u88c5jupyter-xxx\uff08iruby\u3001r\u3001nodes\u3001go\uff09\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-06-06T12:36:24+00:00","article_modified_time":"2024-04-29T15:15:20+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d122b37434c4406bf5865\/2-0.png"}],"author":"\u6e05, \u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u5b87","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%94%a8mac%e5%ae%89%e8%a3%85jupyter-xxx%ef%bc%88iruby%e3%80%81r%e3%80%81nodes%e3%80%81go%ef%bc%89%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%94%a8mac%e5%ae%89%e8%a3%85jupyter-xxx%ef%bc%88iruby%e3%80%81r%e3%80%81nodes%e3%80%81go%ef%bc%89%e3%80%82\/","name":"\u7528Mac\u5b89\u88c5jupyter XXX\uff08iruby\u3001R\u3001nodes\u3001go\uff09 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-06-06T12:36:24+00:00","dateModified":"2024-04-29T15:15:20+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%94%a8mac%e5%ae%89%e8%a3%85jupyter-xxx%ef%bc%88iruby%e3%80%81r%e3%80%81nodes%e3%80%81go%ef%bc%89%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e7%94%a8mac%e5%ae%89%e8%a3%85jupyter-xxx%ef%bc%88iruby%e3%80%81r%e3%80%81nodes%e3%80%81go%ef%bc%89%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%94%a8mac%e5%ae%89%e8%a3%85jupyter-xxx%ef%bc%88iruby%e3%80%81r%e3%80%81nodes%e3%80%81go%ef%bc%89%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u7528Mac\u5b89\u88c5jupyter XXX\uff08iruby\u3001R\u3001nodes\u3001go\uff09"}]},{"@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\/1a6ecd3d914d22a5ac32791ffc1fbd8e","name":"\u6e05, \u5b87","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","caption":"\u6e05, \u5b87"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%94%a8mac%e5%ae%89%e8%a3%85jupyter-xxx%ef%bc%88iruby%e3%80%81r%e3%80%81nodes%e3%80%81go%ef%bc%89%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/32480","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\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=32480"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/32480\/revisions"}],"predecessor-version":[{"id":88232,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/32480\/revisions\/88232"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=32480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=32480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=32480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}