{"id":46132,"date":"2023-12-13T11:30:45","date_gmt":"2023-08-01T14:24:14","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/46132-2\/"},"modified":"2024-05-04T13:22:36","modified_gmt":"2024-05-04T05:22:36","slug":"46132-2","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/46132-2\/","title":{"rendered":""},"content":{"rendered":"<h1>Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3<\/h1>\n<p>\uff12\u7cfb\u3068\uff13\u7cfb\u3067\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u66f8\u304d\u65b9\uff08\u6587\u6cd5\uff09\u304c\u9055\u3046\u3001\u5bfe\u5fdc\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u9055\u3046\u3002<br \/>\n\uff12\u7cfb\u306f\u958b\u767a\u7d42\u4e86\u6e08\u307f\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@centos7 python]# python --version\r\nPython 3.6.8\r\n[root@centos7 python]# pip --version\r\npip 9.0.1 from \/usr\/lib\/python3.6\/site-packages (python 3.6)\r\n<\/code><\/pre>\n<h1>\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u65b9\u6cd5<\/h1>\n<pre class=\"post-pre\"><code>python \u30d7\u30ed\u30b0\u30e9\u30e0\u540d\r\n<\/code><\/pre>\n<h1>Jupyter Notebook\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h1>\n<pre class=\"post-pre\"><code>[root@centos7 python]# pip install jupyter\r\n[root@centos7 python]# jupyter --version\r\njupyter core     : 4.5.0\r\njupyter-notebook : 6.0.1\r\nqtconsole        : 4.5.4\r\nipython          : 7.8.0\r\nipykernel        : 5.1.2\r\njupyter client   : 5.3.1\r\njupyter lab      : not installed\r\nnbconvert        : 5.6.0\r\nipywidgets       : 7.5.1\r\nnbformat         : 4.4.0\r\ntraitlets        : 4.3.2\r\n<\/code><\/pre>\n<h1>Jupyter Notebook\u306e\u57fa\u672c\u64cd\u4f5c<\/h1>\n<h3>\u30af\u30e9\u30a6\u30c9\u3067\u63d0\u4f9b\u3055\u308c\u308b Jupyter Notebook<\/h3>\n<p>Jupyter Notebook\u306f\u3001\u30af\u30e9\u30a6\u30c9\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u3082\u3042\u308b\u3002<br \/>\n\u30af\u30e9\u30a6\u30c9\u74b0\u5883\u3092\u4f7f\u3048\u3070\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u30d6\u30e9\u30a6\u30b6\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3060\u3051\u3067 Jupyter Notebook\u3092\u4f7f\u3063\u3066 Python\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u304d\u308b<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d631b37434c4406d01669\/10-4.png\" alt=\"image.png\" \/><\/div>\n<h1>Python\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h1>\n<h2>pip\u3092\u4f7f\u3063\u305f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<pre class=\"post-pre\"><code>pip install \u30e9\u30a4\u30d6\u30e9\u30ea\u540d\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>[root@centos7 python]# pip install scikit-learn\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d631b37434c4406d01669\/15-0.png\" alt=\"image.png\" \/><\/div>\n<p>\u30e9\u30a4\u30d6\u30e9\u30ea\u306f pip\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u57fa\u672c\u3060\u304c\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u3088\u3063\u3066\u306f\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308b\u3002Python\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u306f\u3001\u5168\u90e8Python\u3067\u66f8\u304b\u308c\u305f\u3082\u306e\uff08Pure Python\uff09\u3068\u3001C\u8a00\u8a9e\u306a\u3069\u3067\u66f8\u304b\u308c\u305f\u3082\u306e\u3070\u3042\u308a\u3001\u305d\u306e\u5834\u5408\u306fC\u30b3\u30f3\u30d1\u30a4\u30e9\u306a\u3069\u304c\u306a\u3044\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u3002<\/p>\n<p>CentOS\u3060\u3068Web\u8a2d\u5b9a\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001Colaboratory\u3092\u4f7f\u3063\u3066\u7d42\u308f\u3063\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3 \uff12\u7cfb\u3068\uff13\u7cfb\u3067\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u66f8\u304d\u65b9\uff08\u6587\u6cd5\uff09\u304c\u9055\u3046\u3001\u5bfe\u5fdc\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u9055\u3046\u3002 \uff12\u7cfb\u306f [&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-46132","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\/46132-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:description\" content=\"Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3 \uff12\u7cfb\u3068\uff13\u7cfb\u3067\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u66f8\u304d\u65b9\uff08\u6587\u6cd5\uff09\u304c\u9055\u3046\u3001\u5bfe\u5fdc\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u9055\u3046\u3002 \uff12\u7cfb\u306f [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/46132-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-01T14:24:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-04T05:22:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d631b37434c4406d01669\/10-4.png\" \/>\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\/46132-2\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/46132-2\/\",\"name\":\"- Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-08-01T14:24:14+00:00\",\"dateModified\":\"2024-05-04T05:22:36+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\/46132-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\/46132-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\/46132-2\/","og_locale":"zh_CN","og_type":"article","og_description":"Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3 \uff12\u7cfb\u3068\uff13\u7cfb\u3067\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u66f8\u304d\u65b9\uff08\u6587\u6cd5\uff09\u304c\u9055\u3046\u3001\u5bfe\u5fdc\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u9055\u3046\u3002 \uff12\u7cfb\u306f [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/46132-2\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-08-01T14:24:14+00:00","article_modified_time":"2024-05-04T05:22:36+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d631b37434c4406d01669\/10-4.png"}],"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\/46132-2\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/46132-2\/","name":"- Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-08-01T14:24:14+00:00","dateModified":"2024-05-04T05:22:36+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\/46132-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\/46132-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\/46132","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=46132"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46132\/revisions"}],"predecessor-version":[{"id":98571,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/46132\/revisions\/98571"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=46132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=46132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=46132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}