{"id":46170,"date":"2023-04-14T21:21:14","date_gmt":"2022-12-17T05:51:10","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/46170-2\/"},"modified":"2024-04-29T23:32:15","modified_gmt":"2024-04-29T15:32:15","slug":"46170-2","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/46170-2\/","title":{"rendered":""},"content":{"rendered":"<h1>jupyter-notebook\u8d77\u52d5<\/h1>\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\u3067<\/p>\n<pre class=\"post-pre\"><code>jupyter notebook \r\n<\/code><\/pre>\n<p>jupyter-notebook\u3092\u958b\u304d\u3001new\u2192python3\u3067\u65b0\u305f\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u305f\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"k\">print<\/span><span class=\"p\">(<\/span><span class=\"s\">'python'<\/span><span class=\"p\">)<\/span>\r\n<\/code><\/pre>\n<p>\u3092\u5165\u529b\u3057\u3066\u3082\u53cd\u5fdc\u304c\u306a\u304f\u51fa\u529b\u3055\u308c\u306a\u3044<\/p>\n<h1>\u30bf\u30fc\u30df\u30ca\u30eb\u30a8\u30e9\u30fc\u78ba\u8a8d<\/h1>\n<pre class=\"post-pre\"><code>ImportError: cannot import name 'create_prompt_application'\r\n<\/code><\/pre>\n<p>create_prompt_application\u3092\u691c\u7d22\u3059\u308b\u3068\u4e0b\u8a18\u306e\u8a18\u4e8b\u3092\u898b\u3064\u3051\u305f\u3002<\/p>\n<p>jupyter\u304c\u52d5\u4f5c\u3057\u306a\u304b\u3063\u305f\u6642\u306e\u5bfe\u5fdc\u30e1\u30e2<\/p>\n<p>\u8abf\u3079\u3066\u3044\u308b\u3068\u4e0a\u8a18\u30a8\u30e9\u30fc\u4ee5\u5916\u306b\u3082\u3001jupyter-notebook\u304c\u52d5\u304b\u306a\u3044\u30a8\u30e9\u30fc\u306f\u69d8\u3005\u3042\u308b\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<h1>\u89e3\u6c7a\u6cd5<\/h1>\n<p>\u4e00\u65e6 jupyter-notebook \u3092\u8d77\u52d5\u3057\u3066\u3044\u308b\u30bf\u30fc\u30df\u30ca\u30eb\u3092 control + C \u3067\u9589\u3058\u3001<\/p>\n<p>prompt-toolkit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre class=\"post-pre\"><code>pip install prompt-toolkit\r\n<\/code><\/pre>\n<p>prompt-toolkit\u306f\u81ea\u52d5\u88dc\u5b8c\u306a\u3069\u306e\u4fbf\u5229\u30c4\u30fc\u30eb\u30ad\u30c3\u30c8<br \/>\npython prompt toolkit\u306e\u7d39\u4ecb\u3068\u52d5\u4f5c\u3092\u7406\u89e3\u3059\u308b\u30e1\u30e2<\/p>\n<h1>jupyter-notebook\u518d\u8d77\u52d5<\/h1>\n<p>\u518d\u5ea6\u30bf\u30fc\u30df\u30ca\u30eb\u3067<\/p>\n<pre class=\"post-pre\"><code>jupyter notebook \r\n<\/code><\/pre>\n<p>new\u2192python3<\/p>\n<pre class=\"post-pre\"><code><span class=\"k\">print<\/span><span class=\"p\">(<\/span><span class=\"s\">'python'<\/span><span class=\"p\">)<\/span>\r\n<\/code><\/pre>\n<p>\u7121\u4e8bpython\u304c\u51fa\u529b\u3055\u308c\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>jupyter-notebook\u8d77\u52d5 \u30bf\u30fc\u30df\u30ca\u30eb\u3067 jupyter notebook jupyter-note [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-46170","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\/46170-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:description\" content=\"jupyter-notebook\u8d77\u52d5 \u30bf\u30fc\u30df\u30ca\u30eb\u3067 jupyter notebook jupyter-note [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/46170-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-17T05:51:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T15:32:15+00:00\" \/>\n<meta name=\"author\" content=\"\u96c5, \u609f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u96c5, \u609f\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/46170-2\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/46170-2\/\",\"name\":\"- Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-12-17T05:51:10+00:00\",\"dateModified\":\"2024-04-29T15:32:15+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/46170-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\/f044a4b7fa4ee2701702942002419ca6\",\"name\":\"\u96c5, \u609f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g\",\"caption\":\"\u96c5, \u609f\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yawu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/46170-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\/46170-2\/","og_locale":"zh_CN","og_type":"article","og_description":"jupyter-notebook\u8d77\u52d5 \u30bf\u30fc\u30df\u30ca\u30eb\u3067 jupyter notebook jupyter-note [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/46170-2\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-12-17T05:51:10+00:00","article_modified_time":"2024-04-29T15:32:15+00:00","author":"\u96c5, \u609f","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u96c5, \u609f"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/46170-2\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/46170-2\/","name":"- Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-12-17T05:51:10+00:00","dateModified":"2024-04-29T15:32:15+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/46170-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\/f044a4b7fa4ee2701702942002419ca6","name":"\u96c5, \u609f","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g","caption":"\u96c5, \u609f"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yawu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/46170-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\/46170","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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=46170"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46170\/revisions"}],"predecessor-version":[{"id":88309,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46170\/revisions\/88309"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=46170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=46170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=46170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}