{"id":781,"date":"2022-04-15T21:32:00","date_gmt":"2022-04-15T13:32:00","guid":{"rendered":"https:\/\/mebolulu.com\/?p=781"},"modified":"2022-04-15T09:40:59","modified_gmt":"2022-04-15T01:40:59","slug":"synology-%e5%ae%89%e8%a3%9d-pip","status":"publish","type":"post","link":"https:\/\/mebolulu.com\/?p=781","title":{"rendered":"synology \u5b89\u88dd pip"},"content":{"rendered":"\n<h2>\u300cPython\u8edf\u9ad4\u5305\u7d22\u5f15\u300d\uff08\u82f1\u8a9e\uff1aPython Package Index\uff0cPyPI\uff09<\/h2>\n\n\n\n<!--more-->\n\n\n\n<p>synology \u53ef\u4ee5\u5f9eDSM\u5957\u4ef6\u5b89\u88dd python3\uff0c\u4f46\u662f\u6c92\u6709 pip \u53ef\u4ee5\u4f7f\u7528\uff0c\u6240\u4ee5\u8981\u81ea\u5df1\u7528root\u6b0a\u9650\u9032\u5230 synology linux \u53bb\u9032\u884c\u4e0b\u8f09\u5b89\u88dd\u3002<\/p>\n\n\n\n<p>\u56e0\u70ba\u7cfb\u7d71\u66f4\u65b0\u5c0e\u81f4\u6240\u6709\u8cc7\u6e90\u90fd\u6d88\u5931\u4e86\uff0c\u9084\u6709\u4e00\u4e9b\u7a0b\u5f0f\u78bc\u9700\u8981\u88dc\u6551\u56de\u4f86\uff0c\u5be6\u4f5c\u7576\u4e0b\u4e5f\u8a18\u9304\u4e0b\u4f86\u3002\u5982\u4f55\u7528root\u767b\u5165\u5230synology\u5c31\u4e0d\u505a\u8aaa\u660e\uff0c\u4ee5\u4e0b\u662f\u5728DSM 7.1\u7248\u672c\u4e0b\u64cd\u4f5c\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><span class=\"has-inline-color has-white-color\">\/\/ \u4e0b\u8f09pip \u5b89\u88dd\u5305\nwget https:\/\/bootstrap.pypa.io\/get-pip.py<\/span><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"911\" height=\"226\" src=\"https:\/\/mebolulu.com\/wp-content\/uploads\/2022\/04\/image-2.png\" alt=\"\" class=\"wp-image-783\" srcset=\"https:\/\/mebolulu.com\/wp-content\/uploads\/2022\/04\/image-2.png 911w, https:\/\/mebolulu.com\/wp-content\/uploads\/2022\/04\/image-2-300x74.png 300w, https:\/\/mebolulu.com\/wp-content\/uploads\/2022\/04\/image-2-768x191.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><figcaption>\u5217\u51fa\u53ea\u6709get-pip.py\u6a94\u6848<\/figcaption><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code><span class=\"has-inline-color has-white-color\">\/\/ \u7528python \u9032\u884cPIP\u5b89\u88dd\npython get-pip.py<\/span>\r<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"941\" height=\"608\" src=\"https:\/\/mebolulu.com\/wp-content\/uploads\/2022\/04\/image-3.png\" alt=\"\" class=\"wp-image-784\" srcset=\"https:\/\/mebolulu.com\/wp-content\/uploads\/2022\/04\/image-3.png 941w, https:\/\/mebolulu.com\/wp-content\/uploads\/2022\/04\/image-3-300x194.png 300w, https:\/\/mebolulu.com\/wp-content\/uploads\/2022\/04\/image-3-768x496.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u5b89\u88dd\u5b8c\u5f8c\uff0c\u57f7\u884cpip\u6307\u4ee4\u6e2c\u8a66\u662f\u5426\u6b63\u5e38\uff0c\u5982\u679c\u6709\u932f\u8aa4\uff0c\u53ef\u80fd\u9700\u8981\u53bb\u4fee\u6539\u57f7\u884c\u6a94\u7684PATH\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><span class=\"has-inline-color has-white-color\">\/\/ \u67e5\u770b\u4e00\u4e0b\u7248\u672c\u8ddf\u5217\u8868\nroot@DS218plus:~\/pkg# pip --version\r\npip 22.0.4 from \/usr\/lib\/python3.8\/site-packages\/pip (python 3.8)\r\nroot@DS218plus:~\/pkg# pip list\r\nPackage    Version\r\n---------- -------\r\npip        22.0.4\r\npyasn1     0.4.5\r\npysmb      1.2.2\r\nsetuptools 62.1.0\r\nwheel      0.37.1<\/span>\r\n<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300cPython\u8edf\u9ad4\u5305\u7d22\u5f15\u300d\uff08\u82f1\u8a9e\uff1aPython Package Index\uff0cPyPI\uff09<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[36,26],"tags":[37,30,28],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>synology \u5b89\u88dd pip - MeboLuLu<\/title>\n<meta name=\"description\" content=\"synology \u5b89\u88dd pip MeboLuLu Synology\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mebolulu.com\/?p=781\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"synology \u5b89\u88dd pip - MeboLuLu\" \/>\n<meta property=\"og:description\" content=\"synology \u5b89\u88dd pip MeboLuLu Synology\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mebolulu.com\/?p=781\" \/>\n<meta property=\"og:site_name\" content=\"MeboLuLu\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-15T13:32:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-15T01:40:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mebolulu.com\/wp-content\/uploads\/2022\/04\/image-2.png\" \/>\n<meta name=\"author\" content=\"mebolulu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"mebolulu\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\u9418\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/mebolulu.com\/#organization\",\"name\":\"MeboLuLu\",\"url\":\"https:\/\/mebolulu.com\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/mebolulu.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/mebolulu.com\/wp-content\/uploads\/2022\/03\/wp-16477930093031514872286063485071-scaled-e1648520582665.jpg\",\"contentUrl\":\"https:\/\/mebolulu.com\/wp-content\/uploads\/2022\/03\/wp-16477930093031514872286063485071-scaled-e1648520582665.jpg\",\"width\":1113,\"height\":648,\"caption\":\"MeboLuLu\"},\"image\":{\"@id\":\"https:\/\/mebolulu.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mebolulu.com\/#website\",\"url\":\"https:\/\/mebolulu.com\/\",\"name\":\"MeboLuLu\",\"description\":\"\u96dc\u4e03\u96dc\u516b\u788e\u788e\u5ff5\",\"publisher\":{\"@id\":\"https:\/\/mebolulu.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mebolulu.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mebolulu.com\/?p=781\",\"url\":\"https:\/\/mebolulu.com\/?p=781\",\"name\":\"synology \u5b89\u88dd pip - MeboLuLu\",\"isPartOf\":{\"@id\":\"https:\/\/mebolulu.com\/#website\"},\"datePublished\":\"2022-04-15T13:32:00+00:00\",\"dateModified\":\"2022-04-15T01:40:59+00:00\",\"description\":\"synology \u5b89\u88dd pip MeboLuLu Synology\",\"breadcrumb\":{\"@id\":\"https:\/\/mebolulu.com\/?p=781#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mebolulu.com\/?p=781\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mebolulu.com\/?p=781#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9801\",\"item\":\"https:\/\/mebolulu.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"synology \u5b89\u88dd pip\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/mebolulu.com\/?p=781#article\",\"isPartOf\":{\"@id\":\"https:\/\/mebolulu.com\/?p=781\"},\"author\":{\"name\":\"mebolulu\",\"@id\":\"https:\/\/mebolulu.com\/#\/schema\/person\/d4b4b276db208fdf4d6f6d037afb29c4\"},\"headline\":\"synology \u5b89\u88dd pip\",\"datePublished\":\"2022-04-15T13:32:00+00:00\",\"dateModified\":\"2022-04-15T01:40:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/mebolulu.com\/?p=781\"},\"wordCount\":21,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/mebolulu.com\/#organization\"},\"keywords\":[\"PIP\",\"python\",\"synology\"],\"articleSection\":[\"Python\",\"Synology\"],\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/mebolulu.com\/?p=781#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/mebolulu.com\/#\/schema\/person\/d4b4b276db208fdf4d6f6d037afb29c4\",\"name\":\"mebolulu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/mebolulu.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9aa4c3b87f65b26244370f0232d5febe?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9aa4c3b87f65b26244370f0232d5febe?s=96&d=mm&r=g\",\"caption\":\"mebolulu\"},\"sameAs\":[\"http:\/\/mebolulu.com\"],\"url\":\"https:\/\/mebolulu.com\/?author=3\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"synology \u5b89\u88dd pip - MeboLuLu","description":"synology \u5b89\u88dd pip MeboLuLu Synology","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:\/\/mebolulu.com\/?p=781","og_locale":"zh_TW","og_type":"article","og_title":"synology \u5b89\u88dd pip - MeboLuLu","og_description":"synology \u5b89\u88dd pip MeboLuLu Synology","og_url":"https:\/\/mebolulu.com\/?p=781","og_site_name":"MeboLuLu","article_published_time":"2022-04-15T13:32:00+00:00","article_modified_time":"2022-04-15T01:40:59+00:00","og_image":[{"url":"https:\/\/mebolulu.com\/wp-content\/uploads\/2022\/04\/image-2.png"}],"author":"mebolulu","twitter_card":"summary_large_image","twitter_misc":{"Written by":"mebolulu","Est. reading time":"1 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/mebolulu.com\/#organization","name":"MeboLuLu","url":"https:\/\/mebolulu.com\/","sameAs":[],"logo":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/mebolulu.com\/#\/schema\/logo\/image\/","url":"https:\/\/mebolulu.com\/wp-content\/uploads\/2022\/03\/wp-16477930093031514872286063485071-scaled-e1648520582665.jpg","contentUrl":"https:\/\/mebolulu.com\/wp-content\/uploads\/2022\/03\/wp-16477930093031514872286063485071-scaled-e1648520582665.jpg","width":1113,"height":648,"caption":"MeboLuLu"},"image":{"@id":"https:\/\/mebolulu.com\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/mebolulu.com\/#website","url":"https:\/\/mebolulu.com\/","name":"MeboLuLu","description":"\u96dc\u4e03\u96dc\u516b\u788e\u788e\u5ff5","publisher":{"@id":"https:\/\/mebolulu.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mebolulu.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-TW"},{"@type":"WebPage","@id":"https:\/\/mebolulu.com\/?p=781","url":"https:\/\/mebolulu.com\/?p=781","name":"synology \u5b89\u88dd pip - MeboLuLu","isPartOf":{"@id":"https:\/\/mebolulu.com\/#website"},"datePublished":"2022-04-15T13:32:00+00:00","dateModified":"2022-04-15T01:40:59+00:00","description":"synology \u5b89\u88dd pip MeboLuLu Synology","breadcrumb":{"@id":"https:\/\/mebolulu.com\/?p=781#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mebolulu.com\/?p=781"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/mebolulu.com\/?p=781#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9801","item":"https:\/\/mebolulu.com\/"},{"@type":"ListItem","position":2,"name":"synology \u5b89\u88dd pip"}]},{"@type":"Article","@id":"https:\/\/mebolulu.com\/?p=781#article","isPartOf":{"@id":"https:\/\/mebolulu.com\/?p=781"},"author":{"name":"mebolulu","@id":"https:\/\/mebolulu.com\/#\/schema\/person\/d4b4b276db208fdf4d6f6d037afb29c4"},"headline":"synology \u5b89\u88dd pip","datePublished":"2022-04-15T13:32:00+00:00","dateModified":"2022-04-15T01:40:59+00:00","mainEntityOfPage":{"@id":"https:\/\/mebolulu.com\/?p=781"},"wordCount":21,"commentCount":0,"publisher":{"@id":"https:\/\/mebolulu.com\/#organization"},"keywords":["PIP","python","synology"],"articleSection":["Python","Synology"],"inLanguage":"zh-TW","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mebolulu.com\/?p=781#respond"]}]},{"@type":"Person","@id":"https:\/\/mebolulu.com\/#\/schema\/person\/d4b4b276db208fdf4d6f6d037afb29c4","name":"mebolulu","image":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/mebolulu.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9aa4c3b87f65b26244370f0232d5febe?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9aa4c3b87f65b26244370f0232d5febe?s=96&d=mm&r=g","caption":"mebolulu"},"sameAs":["http:\/\/mebolulu.com"],"url":"https:\/\/mebolulu.com\/?author=3"}]}},"_links":{"self":[{"href":"https:\/\/mebolulu.com\/index.php?rest_route=\/wp\/v2\/posts\/781"}],"collection":[{"href":"https:\/\/mebolulu.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mebolulu.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mebolulu.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mebolulu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=781"}],"version-history":[{"count":5,"href":"https:\/\/mebolulu.com\/index.php?rest_route=\/wp\/v2\/posts\/781\/revisions"}],"predecessor-version":[{"id":788,"href":"https:\/\/mebolulu.com\/index.php?rest_route=\/wp\/v2\/posts\/781\/revisions\/788"}],"wp:attachment":[{"href":"https:\/\/mebolulu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mebolulu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mebolulu.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}