{"id":46578,"date":"2023-12-12T05:53:57","date_gmt":"2023-03-16T09:27:44","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/46578-2\/"},"modified":"2024-05-04T13:11:26","modified_gmt":"2024-05-04T05:11:26","slug":"46578-2","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/46578-2\/","title":{"rendered":""},"content":{"rendered":"<p>\u73fe\u5b9f\u9003\u907f\u306b\u30dc\u30b9\u306b\u7d39\u4ecb\u3057\u3066\u3082\u3089\u3063\u3066\u3001jupter\u3067\u30d1\u30c3\u3068Interactive\u306b\u64cd\u4f5c\u3057\u3066\u753b\u304c\u63cf\u3051\u308b\u306e\u9762\u767d\u305d\u3046\u3060\u306a\u3068\u601d\u3063\u3066\u3001\u3053\u3064\u3053\u3064\u3068\u89e6\u3063\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<h2>\u53c2\u8003URL<\/h2>\n<p>Jupyter Notebook\uff08IPython\uff09\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u59cb\u3081\u65b9 &#8211; TASK NOTES http:\/\/www.task-notes.com\/entry\/20151129\/1448794509<br \/>\nMac\u3067python\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\uff5cKEI\uff5cnote https:\/\/note.mu\/kei12\/n\/n1ff13bbbfbd4<\/p>\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>\u305d\u3082\u305d\u3082\u3001Jupyter\u306b\u4f3c\u305f\u3088\u3046\u306a\u3082\u306e\uff08\u3068\u3044\u3046\u8a8d\u8b58\u3092\u50d5\u306f\u3057\u3066\u3044\u305f\uff09IPython \uff08\u3082\u3057\u304f\u306fIPython Notebook\uff09\u306f\u4f55\u304c\u9055\u3046\u306e\u304b\u3068\u3044\u3046\u3068\u3001\u7d50\u8ad6\u304b\u3089\u8a00\u3046\u3068\u540c\u3058\u3082\u306e\u3089\u3057\u3044\u3002<br \/>\n\u672c\u6765\u306fPython\u3060\u3051\u3060\u3063\u305f\u306e\u3060\u304c\u3001\u591a\u8a00\u8a9e\u306b\u5bfe\u5fdc\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u3001Jupyter\u3068\u547c\u3070\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u305d\u3046\u3060\u3002<br \/>\n\u306a\u306e\u3067\u3001Python\u3092\u4f7f\u3046\u5206\u306b\u306f\u3001Jupyter\u3082Ipython Notebook\u3082\u540c\u3058\u3082\u306e\u3068\u3044\u3046\u8a8d\u8b58\u3067\u9593\u9055\u3044\u306a\u3044\uff08\u306f\u305a\uff09<\/p>\n<h2>\u624b\u9806<\/h2>\n<h3>1.macports\u3067py-jupyter\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/h3>\n<pre class=\"post-pre\"><code>$ sudo port install py-jupyter\r\n\uff08\u4e2d\u7565\uff09\r\n---&gt;  Some of the ports you installed have notes:\r\n  py27-ipython has the following notes:\r\n    Please note that since version 4.0 IPython was refactored and splitted across several packages under new project named Jupyter.\r\n\r\n    To make this the default IPython or IPython2 (i.e., the version run by the 'ipython' or 'ipython2' commands), run one or both of:\r\n\r\n        sudo port select --set ipython py27-ipython\r\n        sudo port select --set ipython2 py27-ipython\r\n  py27-pygments has the following notes:\r\n    To make the Python 2.7 version of Pygments the one that is run when you execute the commands without a version suffix, e.g. 'pygmentize', run:\r\n\r\n    port select --set pygments py27-pygments\r\n\r\n<\/code><\/pre>\n<p>\u3068\u3053\u3093\u306a\u30b3\u30e1\u30f3\u30c8\u304c\u51fa\u3066\u304f\u308b\u3002\uff08python2.7\u306e\u5834\u5408\uff09<\/p>\n<h3>2.\u30b3\u30e1\u30f3\u30c8\u901a\u308a\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3002<\/h3>\n<pre class=\"post-pre\"><code>$ sudo port select --set ipython py27-ipython\r\nPassword:\r\nSelecting 'py27-ipython' for 'ipython' succeeded. 'py27-ipython' is now active.\r\n$ sudo port select --set ipython2 py27-ipython\r\nSelecting 'py27-ipython' for 'ipython2' succeeded. 'py27-ipython' is now active.\r\n$ sudo  port select --set pygments py27-pygments\r\nSelecting 'py27-pygments' for 'pygments' succeeded. 'py27-pygments' is now active.\r\n<\/code><\/pre>\n<h3>3.Ipython notebook\u3092\u52d5\u304b\u3059<\/h3>\n<pre class=\"post-pre\"><code>$ ipython notebook\r\n[TerminalIPythonApp] WARNING | Subcommand `ipython notebook` is deprecated and will be removed in future versions.\r\n[TerminalIPythonApp] WARNING | You likely want to use `jupyter notebook` in the future\r\n(\u5f8c\u7565)\r\n<\/code><\/pre>\n<p>\u52d5\u3044\u305f\u3002<br \/>\njupyter\u306b\u8fd1\u3044\u5c06\u6765\u7f6e\u304d\u63db\u308f\u308b\u3063\u3066\u3061\u3083\u3093\u3068\u30b3\u30e1\u30f3\u30c8\u304c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73fe\u5b9f\u9003\u907f\u306b\u30dc\u30b9\u306b\u7d39\u4ecb\u3057\u3066\u3082\u3089\u3063\u3066\u3001jupter\u3067\u30d1\u30c3\u3068Interactive\u306b\u64cd\u4f5c\u3057\u3066\u753b\u304c\u63cf\u3051\u308b\u306e\u9762\u767d\u305d\u3046\u3060\u306a [&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-46578","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\/46578-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:description\" content=\"\u73fe\u5b9f\u9003\u907f\u306b\u30dc\u30b9\u306b\u7d39\u4ecb\u3057\u3066\u3082\u3089\u3063\u3066\u3001jupter\u3067\u30d1\u30c3\u3068Interactive\u306b\u64cd\u4f5c\u3057\u3066\u753b\u304c\u63cf\u3051\u308b\u306e\u9762\u767d\u305d\u3046\u3060\u306a [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/46578-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-16T09:27:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-04T05:11:26+00:00\" \/>\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=\"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\/46578-2\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/46578-2\/\",\"name\":\"- Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-03-16T09:27:44+00:00\",\"dateModified\":\"2024-05-04T05:11:26+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/46578-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\/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\/46578-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\/46578-2\/","og_locale":"zh_CN","og_type":"article","og_description":"\u73fe\u5b9f\u9003\u907f\u306b\u30dc\u30b9\u306b\u7d39\u4ecb\u3057\u3066\u3082\u3089\u3063\u3066\u3001jupter\u3067\u30d1\u30c3\u3068Interactive\u306b\u64cd\u4f5c\u3057\u3066\u753b\u304c\u63cf\u3051\u308b\u306e\u9762\u767d\u305d\u3046\u3060\u306a [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/46578-2\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-03-16T09:27:44+00:00","article_modified_time":"2024-05-04T05:11:26+00:00","author":"\u6e05, \u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u5b87","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/46578-2\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/46578-2\/","name":"- Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-03-16T09:27:44+00:00","dateModified":"2024-05-04T05:11:26+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/46578-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\/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\/46578-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\/46578","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=46578"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46578\/revisions"}],"predecessor-version":[{"id":98519,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46578\/revisions\/98519"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=46578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=46578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=46578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}