{"id":46409,"date":"2023-01-21T11:50:17","date_gmt":"2024-01-18T14:06:01","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/46409-2\/"},"modified":"2024-04-29T10:45:43","modified_gmt":"2024-04-29T02:45:43","slug":"46409-2","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/46409-2\/","title":{"rendered":""},"content":{"rendered":"<p>\u4ee5\u524d\u3068\u540c\u3058\u3088\u3046\u306b\uff08\u53c2\u8003URL\uff09\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3082\u4e0a\u624b\u304f\u884c\u304b\u306a\u304b\u3063\u305f\u2026\u306e\u3067\u3001\u6539\u3081\u3066\u4e0a\u624b\u304f\u884c\u3063\u305f\u65b9\u6cd5\u3092\u66f8\u304d\u7559\u3081\u3066\u304a\u304f\u3002<\/p>\n<h2>\u53c2\u8003URL<\/h2>\n<p>macports\u3067iPython\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb &#8211; Qiita https:\/\/qiita.com\/H1r0ak1Y0sh10ka\/items\/2a5391a9159f4e2c9812<\/p>\n<h2>\u624b\u9806<\/h2>\n<h3>1.macports\u3067py-jupyter\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/h3>\n<p>\u4ee5\u524d\u306fpy-jupyter\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u304c\u3001py37-jupyter\u3068\uff50\uff59thon\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3002<\/p>\n<pre class=\"post-pre\"><code>$ sudo port install py37-jupyter\r\n---&gt;  Computing dependencies for py37-jupyter\r\nThe following dependencies will be installed: \r\n ipython3_select\r\n py37-appnope\r\n py37-backcall\r\n py37-bleach\r\n py37-dateutil\r\n py37-decorator\r\n py37-entrypoints\r\n py37-html5lib\r\n py37-ipykernel\r\n py37-ipython\r\n py37-ipython_genutils\r\n py37-ipywidgets\r\n py37-jedi\r\n py37-jinja2\r\n py37-jsonschema\r\n py37-jupyter_client\r\n py37-jupyter_console\r\n py37-jupyter_core\r\n py37-markupsafe\r\n py37-mistune\r\n py37-nbconvert\r\n py37-nbformat\r\n py37-notebook\r\n py37-pandocfilters\r\n py37-parso\r\n py37-pexpect\r\n py37-pickleshare\r\n py37-prometheus_client\r\n py37-prompt_toolkit\r\n py37-ptyprocess\r\n py37-pygments\r\n py37-send2trash\r\n py37-setuptools\r\n py37-simplegeneric\r\n py37-six\r\n py37-terminado\r\n py37-testpath\r\n py37-tornado\r\n py37-traitlets\r\n py37-tz\r\n py37-wcwidth\r\n py37-webencodings\r\n py37-widgetsnbextension\r\n py37-zmq\r\nContinue? [Y\/n]: Y\r\n---&gt;  Fetching archive for ipython3_select\r\n\uff08\u4e2d\u7565\uff09\r\n---&gt;  Installing py37-jupyter @1.0.0_1\r\n---&gt;  Activating py37-jupyter @1.0.0_1\r\n---&gt;  Cleaning py37-jupyter\r\n---&gt;  Updating database of binaries\r\n---&gt;  Updating database of C++ stdlib usage\r\n---&gt;  Scanning binaries for linking errors\r\n---&gt;  No broken files found.\r\n---&gt;  No broken ports found.\r\n---&gt;  Some of the ports you installed have notes:\r\n  py37-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 IPython3 (i.e., the version run by the 'ipython' or 'ipython3' commands), run one or both of:\r\n\r\n        sudo port select --set ipython py37-ipython\r\n        sudo port select --set ipython3 py37-ipython\r\n  py37-pygments has the following notes:\r\n    To make the Python 3.7 version of Pygments the one that is run when you execute the commands without a version suffix, e.g.\r\n    'pygmentize', run:\r\n\r\n    port select --set pygments py37-pygments\r\n<\/code><\/pre>\n<p>\u3068\u3053\u3093\u306a\u30b3\u30e1\u30f3\u30c8\u304c\u51fa\u3066\u304f\u308b\u3002\uff08python3.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 py37-ipython\r\nPassword:\r\nSelecting 'py37-ipython' for 'ipython' succeeded. 'py37-ipython' is now active.\r\n$ sudo port select --set ipython3 py37-ipython\r\nSelecting 'py37-ipython' for 'ipython2' succeeded. 'py37-ipython' is now active.\r\n$ sudo  port select --set pygments py37-pygments\r\nSelecting 'py37-pygments' for 'pygments' succeeded. 'py37-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\u826f\u304b\u3063\u305f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u524d\u3068\u540c\u3058\u3088\u3046\u306b\uff08\u53c2\u8003URL\uff09\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3082\u4e0a\u624b\u304f\u884c\u304b\u306a\u304b\u3063\u305f\u2026\u306e\u3067\u3001\u6539\u3081\u3066\u4e0a\u624b\u304f\u884c\u3063\u305f\u65b9\u6cd5\u3092\u66f8\u304d\u7559\u3081\u3066\u304a [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-46409","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\/46409-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:description\" content=\"\u4ee5\u524d\u3068\u540c\u3058\u3088\u3046\u306b\uff08\u53c2\u8003URL\uff09\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3082\u4e0a\u624b\u304f\u884c\u304b\u306a\u304b\u3063\u305f\u2026\u306e\u3067\u3001\u6539\u3081\u3066\u4e0a\u624b\u304f\u884c\u3063\u305f\u65b9\u6cd5\u3092\u66f8\u304d\u7559\u3081\u3066\u304a [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/46409-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-18T14:06:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T02:45:43+00:00\" \/>\n<meta name=\"author\" content=\"\u79d1, \u9896\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79d1, \u9896\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \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\/46409-2\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/46409-2\/\",\"name\":\"- Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2024-01-18T14:06:01+00:00\",\"dateModified\":\"2024-04-29T02:45:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/46409-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\/8ca01ba7f7362ad4edb7da206a12f29e\",\"name\":\"\u79d1, \u9896\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u9896\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keying\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/46409-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\/46409-2\/","og_locale":"zh_CN","og_type":"article","og_description":"\u4ee5\u524d\u3068\u540c\u3058\u3088\u3046\u306b\uff08\u53c2\u8003URL\uff09\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3082\u4e0a\u624b\u304f\u884c\u304b\u306a\u304b\u3063\u305f\u2026\u306e\u3067\u3001\u6539\u3081\u3066\u4e0a\u624b\u304f\u884c\u3063\u305f\u65b9\u6cd5\u3092\u66f8\u304d\u7559\u3081\u3066\u304a [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/46409-2\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-01-18T14:06:01+00:00","article_modified_time":"2024-04-29T02:45:43+00:00","author":"\u79d1, \u9896","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u9896","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/46409-2\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/46409-2\/","name":"- Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2024-01-18T14:06:01+00:00","dateModified":"2024-04-29T02:45:43+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/46409-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\/8ca01ba7f7362ad4edb7da206a12f29e","name":"\u79d1, \u9896","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g","caption":"\u79d1, \u9896"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keying\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/46409-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\/46409","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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=46409"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46409\/revisions"}],"predecessor-version":[{"id":84806,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46409\/revisions\/84806"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=46409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=46409"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=46409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}