{"id":45957,"date":"2023-09-18T13:11:24","date_gmt":"2024-01-22T18:54:37","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/45957-2\/"},"modified":"2024-05-04T00:20:16","modified_gmt":"2024-05-03T16:20:16","slug":"45957-2","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/45957-2\/","title":{"rendered":""},"content":{"rendered":"<h1>\u306f\u3058\u3081\u306b<\/h1>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u306f\u305a\u306ejupyter lab\u3092\u7acb\u3061\u4e0a\u3052\u3088\u3046\u3068\u3001<br \/>\n\u30bf\u30fc\u30df\u30ca\u30eb\u3067jupyter lab\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u3089<\/p>\n<pre class=\"post-pre\"><code>zsh:`jupyter-lab` command not found\r\n<\/code><\/pre>\n<p>\u3068\u8868\u793a\u3055\u308c\u3066\u3057\u307e\u3063\u305f\u3068\u304d\u306e\u5099\u5fd8\u9332\u3067\u3059\u3002\u5099\u5fd8\u9332\u306a\u306e\u3067\u7269\u8a9e\u306f\u9032\u307f\u307e\u305b\u3093\u2026\u3002<\/p>\n<h1>\u52d5\u4f5c\u74b0\u5883<\/h1>\n<p>\u30fbMacBook Air (Retina, 13-inch, 2020)<br \/>\n\u30fbBig Sur11.4<br \/>\n\u30fbPython 3.8.9<br \/>\n\u30fbAnaconda\u306f\u4f7f\u7528\u3057\u3066\u3044\u307e\u305b\u3093<\/p>\n<h1>\u7d50\u8ad6<\/h1>\n<p>jupyter lab\u3092\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb -&gt; \u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<br \/>\n\u305d\u306e\u969b\u306bWARNING\u3068\u95d8\u3046\u306e\u3067PATH\u3092\u901a\u3057\u3066WARNING\u306b\u6253\u3061\u52dd\u3064\u3002<\/p>\n<h1>\u5b9f\u884c\u3057\u305f\u3053\u3068<\/h1>\n<p>\uff081\uff09\u300cjupyter lab\u5b58\u5728\u3057\u306a\u3044\u3088\u300d\u3063\u3066\u8a00\u308f\u308c\u305f\u306e\u3067\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u308b<\/p>\n<pre class=\"post-pre\"><code>\uff08\u4e2d\u7565\uff09\r\nERROR:Command errored out with exit status 1:\r\ncommand:\/Library\/Developer\/CommandLineTools\/usr\/bin\/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'\/private\/var\/folders\/wh\/d805s1757px5l7pw7g0w8q5r0000gn\/T\/pip-install-1f147c0q\/matplotlib\/setup.py'\"'\"';\u3000__file__='\"'\"'\/private\/var\/folders\/wh\/d805s1757px5l7pw7g0w8q5r0000gn\/T\/pip-install-1f147c0q\/matplotlib\/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' egg_info --egg-base \/private\/var\/folders\/wh\/d805s1757px5l7pw7g0w8q5r0000gn\/T\/pip-pip-egg-info-6mnl0uv6\r\ncwd: \/private\/var\/folders\/wh\/d805s1757px5l7pw7g0w8q5r0000gn\/T\/pip-install-1f147c0q\/matplotlib\/\r\n\uff08\u4e2d\u7565\uff09\r\n<\/code><\/pre>\n<p>\uff082\uff09pip\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b<\/p>\n<pre class=\"post-pre\"><code>python3 -m pip install --upgrade pip\r\n<\/code><\/pre>\n<p>\uff083\uff09\uff081\uff09\u3067\u300cjupyter lab\u5165\u3063\u3066\u308b\u3067\u300d\u3068\u8a00\u308f\u308c\u305f\u306e\u3067\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u8a66\u307f\u308b<\/p>\n<pre class=\"post-pre\"><code>pip3 install pip-autoremove\r\npip-autoremove jupyter -y\r\n<\/code><\/pre>\n<p>\uff084\uff09\u518d\u5ea6jupyter lab\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001<br \/>\n\u4ee5\u4e0b\u306e\u3088\u3046\u306bWARNING\u304c\u30c0\u30c0\u30c0\u3063\u3068\u7f85\u5217\u3055\u308c\u3001\u305d\u306e\u91cf\u306b\u5727\u5012\u3057\u3066\u3057\u307e\u3046<\/p>\n<pre class=\"post-pre\"><code>\uff08\u4e2d\u7565\uff09\r\nWARNING: The scripts jlpm, jupyter-lab, jupyter-labextension and jupyter-labhub are installed in '\/Library\/Python\/3.8\/bin' which is not on PATH.\r\nConsider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\r\nWARNING: The scripts jlpm, jupyter-lab, jupyter-labextension and jupyter-labhub are installed in '\/Users\/watashi\/Library\/Python\/3.8\/bin' which is not on PATH.\r\nConsider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\r\nWARNING: The script jupyter-server is installed in '\/Users\/watashi\/Library\/Python\/3.8\/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.\r\n\uff08\u4e2d\u7565\uff09\r\n<\/code><\/pre>\n<p>\u76ee\u304c\u3057\u3071\u3057\u3071\u3057\u306a\u304c\u3089\u3082\u8aad\u3080\u3068\u300cPATH\u901a\u3057\u3066\u301c\u300d\u3068\u8a00\u308f\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\uff085\uff09PATH\u3092\u901a\u3057\u306b\u884c\u304d\u307e\u3059<\/p>\n<pre class=\"post-pre\"><code>vim ~\/.zshrc\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>~~~\r\nexport PATH=$PATH:\/Users\/watashi\/Library\/Python\/3.8\/bin\u3000\u203b\u8ffd\u52a0\r\n~~~\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>:wq\r\n<\/code><\/pre>\n<p>\uff086\uff09\u53cd\u6620\u3055\u305b\u307e\u3059<\/p>\n<pre class=\"post-pre\"><code>source ~\/.zshrc\r\n<\/code><\/pre>\n<p>\uff087\uff09\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u4e00\u65e6\u7d42\u4e86\u3001\u518d\u3073\u8d77\u52d5\u3057\u3001<br \/>\njupyter lab\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068jupyter lab\u304c\u8d77\u52d5\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"post-pre\"><code>jupyter lab\r\n<\/code><\/pre>\n<h1>\u3042\u3068\u304c\u304d<\/h1>\n<p>\u3053\u308c\u307e\u3067\u4fdd\u5b58\u3057\u3066\u3044\u305f\u30d5\u30a1\u30a4\u30eb\u3082\u7121\u4e8b\u306b\u6b8b\u3063\u3066\u3044\u307e\u3057\u305f\u3002<br \/>\n\u5c11\u3057\u524d\u307e\u3067TwitterAPI\u3092\u53e9\u3051\u3066\u3044\u305f\u306e\u3067\u539f\u56e0\u3082\u5206\u304b\u3089\u305a\u2026\u3002<\/p>\n<p>\u3053\u3053\u307e\u3067\u304a\u8aad\u307f\u3044\u305f\u3060\u304d\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002<\/p>\n<h1>\u53c2\u8003<\/h1>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u306f\u305a\u306ejupyter lab\u3092\u7acb\u3061\u4e0a\u3052\u3088\u3046\u3068\u3001 \u30bf\u30fc\u30df\u30ca\u30eb\u3067jupyter la [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-45957","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\/45957-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:description\" content=\"\u306f\u3058\u3081\u306b \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u306f\u305a\u306ejupyter lab\u3092\u7acb\u3061\u4e0a\u3052\u3088\u3046\u3068\u3001 \u30bf\u30fc\u30df\u30ca\u30eb\u3067jupyter la [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/45957-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-22T18:54:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-03T16:20:16+00:00\" \/>\n<meta name=\"author\" content=\"\u79d1, \u96c5\" \/>\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, \u96c5\" \/>\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\/45957-2\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/45957-2\/\",\"name\":\"- Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2024-01-22T18:54:37+00:00\",\"dateModified\":\"2024-05-03T16:20:16+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/45957-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\/41e222757cdd2a3365361328bd79970a\",\"name\":\"\u79d1, \u96c5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u96c5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/45957-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\/45957-2\/","og_locale":"zh_CN","og_type":"article","og_description":"\u306f\u3058\u3081\u306b \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u306f\u305a\u306ejupyter lab\u3092\u7acb\u3061\u4e0a\u3052\u3088\u3046\u3068\u3001 \u30bf\u30fc\u30df\u30ca\u30eb\u3067jupyter la [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/45957-2\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-01-22T18:54:37+00:00","article_modified_time":"2024-05-03T16:20:16+00:00","author":"\u79d1, \u96c5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u96c5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/45957-2\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/45957-2\/","name":"- Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2024-01-22T18:54:37+00:00","dateModified":"2024-05-03T16:20:16+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/45957-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\/41e222757cdd2a3365361328bd79970a","name":"\u79d1, \u96c5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","caption":"\u79d1, \u96c5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/45957-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\/45957","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\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=45957"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/45957\/revisions"}],"predecessor-version":[{"id":94979,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/45957\/revisions\/94979"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=45957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=45957"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=45957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}