{"id":1108218,"date":"2025-01-08T16:57:58","date_gmt":"2025-01-08T08:57:58","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1108218.html"},"modified":"2025-01-08T16:58:00","modified_gmt":"2025-01-08T08:58:00","slug":"%e5%a6%82%e4%bd%95%e7%9c%8b%e8%87%aa%e5%b7%b1%e7%9a%84python%e6%98%af%e5%90%a6%e5%ae%89%e8%a3%85%e4%ba%86pip","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1108218.html","title":{"rendered":"\u5982\u4f55\u770b\u81ea\u5df1\u7684python\u662f\u5426\u5b89\u88c5\u4e86pip"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25071942\/0eb93cdc-4c89-497c-99fc-785adf9d9621.webp\" alt=\"\u5982\u4f55\u770b\u81ea\u5df1\u7684python\u662f\u5426\u5b89\u88c5\u4e86pip\" \/><\/p>\n<p><p> <strong>\u8981\u68c0\u67e5\u81ea\u5df1\u7684Python\u662f\u5426\u5b89\u88c5\u4e86pip\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a\u4f7f\u7528\u547d\u4ee4\u884c\u68c0\u67e5\u3001\u67e5\u770bPython\u5b89\u88c5\u76ee\u5f55\u3001\u4f7f\u7528Python\u811a\u672c\u68c0\u67e5<\/strong>\u3002\u6700\u76f4\u63a5\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u547d\u4ee4\u884c\u68c0\u67e5\u3002\u4f60\u53ea\u9700\u6253\u5f00\u547d\u4ee4\u884c\u7a97\u53e3\uff0c\u8f93\u5165<code>pip --version<\/code>\u6216<code>pip list<\/code>\uff0c\u5982\u679cpip\u5df2\u7ecf\u5b89\u88c5\uff0c\u547d\u4ee4\u884c\u4f1a\u663e\u793apip\u7684\u7248\u672c\u4fe1\u606f\u6216\u5df2\u5b89\u88c5\u7684\u5305\u5217\u8868\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u8ba8\u8bba\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u5e76\u63a2\u8ba8\u5982\u4f55\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u5b89\u88c5\u548c\u7ba1\u7406pip\u3002<\/p>\n<\/p>\n<hr>\n<h2><strong>\u4e00\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u68c0\u67e5<\/strong><\/h2>\n<p><p>\u4f7f\u7528\u547d\u4ee4\u884c\u68c0\u67e5pip\u662f\u5426\u5b89\u88c5\u662f\u6700\u7b80\u5355\u3001\u6700\u5feb\u7684\u65b9\u6cd5\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8eWindows\u3001MacOS\u548cLinux\u7cfb\u7edf\u3002<\/p>\n<\/p>\n<p><h2>1.1\u3001Windows\u7cfb\u7edf<\/h2>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff08\u4f60\u53ef\u4ee5\u901a\u8fc7\u6309\u4e0b<code>Win + R<\/code>\u952e\uff0c\u7136\u540e\u8f93\u5165<code>cmd<\/code>\u5e76\u6309\u4e0b\u56de\u8f66\u952e\u6765\u6253\u5f00\uff09\u3002<\/li>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5e76\u6309\u4e0b\u56de\u8f66\u952e\uff1a\n<pre><code>pip --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u5982\u679cpip\u5df2\u7ecf\u5b89\u88c5\uff0c\u4f60\u5c06\u770b\u5230\u7c7b\u4f3c\u4e8e\u4ee5\u4e0b\u7684\u4fe1\u606f\uff1a<\/p>\n<pre><code>pip 21.0.1 from C:\\Python39\\lib\\site-packages\\pip (python 3.9)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u8fd9\u8868\u660epip\u5df2\u7ecf\u5b89\u88c5\uff0c\u5e76\u4e14\u663e\u793a\u4e86pip\u7684\u7248\u672c\u4fe1\u606f\u548c\u5b89\u88c5\u76ee\u5f55\u3002<\/li>\n<\/p>\n<\/ol>\n<p><h2>1.2\u3001MacOS\u7cfb\u7edf<\/h2>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u7ec8\u7aef\uff08\u4f60\u53ef\u4ee5\u901a\u8fc7\u6309\u4e0b<code>Command + Space<\/code>\u952e\uff0c\u7136\u540e\u8f93\u5165<code>Terminal<\/code>\u5e76\u6309\u4e0b\u56de\u8f66\u952e\u6765\u6253\u5f00\uff09\u3002<\/li>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5e76\u6309\u4e0b\u56de\u8f66\u952e\uff1a\n<pre><code>pip --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u5982\u679cpip\u5df2\u7ecf\u5b89\u88c5\uff0c\u4f60\u5c06\u770b\u5230\u7c7b\u4f3c\u4e8e\u4ee5\u4e0b\u7684\u4fe1\u606f\uff1a<\/p>\n<pre><code>pip 21.0.1 from \/usr\/local\/lib\/python3.9\/site-packages\/pip (python 3.9)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u8fd9\u8868\u660epip\u5df2\u7ecf\u5b89\u88c5\uff0c\u5e76\u4e14\u663e\u793a\u4e86pip\u7684\u7248\u672c\u4fe1\u606f\u548c\u5b89\u88c5\u76ee\u5f55\u3002<\/li>\n<\/p>\n<\/ol>\n<p><h2>1.3\u3001Linux\u7cfb\u7edf<\/h2>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u7ec8\u7aef\u3002<\/li>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5e76\u6309\u4e0b\u56de\u8f66\u952e\uff1a\n<pre><code>pip --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u5982\u679cpip\u5df2\u7ecf\u5b89\u88c5\uff0c\u4f60\u5c06\u770b\u5230\u7c7b\u4f3c\u4e8e\u4ee5\u4e0b\u7684\u4fe1\u606f\uff1a<\/p>\n<pre><code>pip 21.0.1 from \/usr\/local\/lib\/python3.9\/site-packages\/pip (python 3.9)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u8fd9\u8868\u660epip\u5df2\u7ecf\u5b89\u88c5\uff0c\u5e76\u4e14\u663e\u793a\u4e86pip\u7684\u7248\u672c\u4fe1\u606f\u548c\u5b89\u88c5\u76ee\u5f55\u3002<\/li>\n<\/p>\n<\/ol>\n<h2><strong>\u4e8c\u3001\u67e5\u770bPython\u5b89\u88c5\u76ee\u5f55<\/strong><\/h2>\n<p><p>\u5982\u679c\u5728\u547d\u4ee4\u884c\u4e2d\u627e\u4e0d\u5230pip\uff0c\u4f60\u53ef\u4ee5\u68c0\u67e5Python\u7684\u5b89\u88c5\u76ee\u5f55\uff0c\u67e5\u770b\u662f\u5426\u5b58\u5728pip\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h2>2.1\u3001Windows\u7cfb\u7edf<\/h2>\n<\/p>\n<ol>\n<li>\u627e\u5230Python\u7684\u5b89\u88c5\u76ee\u5f55\uff08\u901a\u5e38\u5728<code>C:\\PythonXX<\/code>\uff0c\u5176\u4e2d<code>XX<\/code>\u662fPython\u7684\u7248\u672c\u53f7\uff09\u3002<\/li>\n<li>\u6253\u5f00<code>Scripts<\/code>\u76ee\u5f55\uff0c\u67e5\u770b\u662f\u5426\u5b58\u5728\u540d\u4e3a<code>pip.exe<\/code>\u7684\u6587\u4ef6\u3002\u5982\u679c\u5b58\u5728\uff0c\u8bf4\u660epip\u5df2\u7ecf\u5b89\u88c5\u3002<\/li>\n<\/ol>\n<p><h2>2.2\u3001MacOS\u548cLinux\u7cfb\u7edf<\/h2>\n<\/p>\n<ol>\n<li>\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff0c\u67e5\u627ePython\u7684\u5b89\u88c5\u76ee\u5f55\uff1a\n<pre><code>which python3<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u8fd9\u5c06\u663e\u793aPython\u7684\u5b89\u88c5\u8def\u5f84\uff0c\u4f8b\u5982<code>\/usr\/local\/bin\/python3<\/code>\u3002<\/li>\n<\/p>\n<li>\u5bfc\u822a\u5230\u8be5\u8def\u5f84\uff0c\u67e5\u770b\u662f\u5426\u5b58\u5728\u540d\u4e3a<code>pip3<\/code>\u6216<code>pip<\/code>\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002\u5982\u679c\u5b58\u5728\uff0c\u8bf4\u660epip\u5df2\u7ecf\u5b89\u88c5\u3002<\/li>\n<\/ol>\n<h2><strong>\u4e09\u3001\u4f7f\u7528Python\u811a\u672c\u68c0\u67e5<\/strong><\/h2>\n<p><p>\u4f60\u8fd8\u53ef\u4ee5\u7f16\u5199\u4e00\u4e2a\u7b80\u5355\u7684Python\u811a\u672c\uff0c\u68c0\u67e5pip\u662f\u5426\u5df2\u7ecf\u5b89\u88c5\u3002<\/p>\n<\/p>\n<p><h2>3.1\u3001\u7f16\u5199Python\u811a\u672c<\/h2>\n<\/p>\n<p><p>\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>check_pip.py<\/code>\u7684\u6587\u4ef6\uff0c\u5e76\u5728\u5176\u4e2d\u8f93\u5165\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import subprocess<\/p>\n<p>import sys<\/p>\n<p>try:<\/p>\n<p>    import pip<\/p>\n<p>    print(&quot;pip is installed.&quot;)<\/p>\n<p>except ImportError:<\/p>\n<p>    print(&quot;pip is not installed.&quot;)<\/p>\n<p>    sys.exit(1)<\/p>\n<h2><strong>Check pip version<\/strong><\/h2>\n<p>pip_version = subprocess.check_output([sys.executable, &#39;-m&#39;, &#39;pip&#39;, &#39;--version&#39;])<\/p>\n<p>print(&quot;pip version:&quot;, pip_version.decode(&#39;utf-8&#39;))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>3.2\u3001\u8fd0\u884cPython\u811a\u672c<\/h2>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\u3002<\/li>\n<li>\u5bfc\u822a\u5230\u811a\u672c\u6240\u5728\u7684\u76ee\u5f55\u3002<\/li>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5e76\u6309\u4e0b\u56de\u8f66\u952e\uff1a\n<pre><code>python check_pip.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u6216\u8005\uff0c\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662fPython 3\uff1a<\/p>\n<pre><code>python3 check_pip.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u5982\u679cpip\u5df2\u7ecf\u5b89\u88c5\uff0c\u4f60\u5c06\u770b\u5230\u7c7b\u4f3c\u4e8e\u4ee5\u4e0b\u7684\u4fe1\u606f\uff1a<\/p>\n<pre><code>pip is installed.<\/p>\n<p>pip version: pip 21.0.1 from \/usr\/local\/lib\/python3.9\/site-packages\/pip (python 3.9)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<h2><strong>\u56db\u3001\u5b89\u88c5\u548c\u5347\u7ea7pip<\/strong><\/h2>\n<p><p>\u5982\u679c\u4f60\u53d1\u73b0\u4f60\u7684\u7cfb\u7edf\u4e0a\u6ca1\u6709\u5b89\u88c5pip\uff0c\u6216\u8005\u9700\u8981\u5347\u7ea7pip\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h2>4.1\u3001Windows\u7cfb\u7edf<\/h2>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u3002<\/li>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5e76\u6309\u4e0b\u56de\u8f66\u952e\uff0c\u5b89\u88c5pip\uff1a\n<pre><code>python -m ensurepip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u5982\u679c\u4f60\u9700\u8981\u5347\u7ea7pip\uff0c\u53ef\u4ee5\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre><code>python -m pip install --upgrade pip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><h2>4.2\u3001MacOS\u7cfb\u7edf<\/h2>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u7ec8\u7aef\u3002<\/li>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5e76\u6309\u4e0b\u56de\u8f66\u952e\uff0c\u5b89\u88c5pip\uff1a\n<pre><code>python3 -m ensurepip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u5982\u679c\u4f60\u9700\u8981\u5347\u7ea7pip\uff0c\u53ef\u4ee5\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre><code>python3 -m pip install --upgrade pip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><h2>4.3\u3001Linux\u7cfb\u7edf<\/h2>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u7ec8\u7aef\u3002<\/li>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5e76\u6309\u4e0b\u56de\u8f66\u952e\uff0c\u5b89\u88c5pip\uff1a\n<pre><code>sudo apt-get install python3-pip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u5982\u679c\u4f60\u9700\u8981\u5347\u7ea7pip\uff0c\u53ef\u4ee5\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre><code>sudo -H pip3 install --upgrade pip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<h2><strong>\u4e94\u3001\u5e38\u89c1\u95ee\u9898\u548c\u89e3\u51b3\u65b9\u6cd5<\/strong><\/h2>\n<p><p>\u5728\u68c0\u67e5\u548c\u5b89\u88c5pip\u7684\u8fc7\u7a0b\u4e2d\uff0c\u4f60\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\u53ca\u5176\u89e3\u51b3\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h2>5.1\u3001\u547d\u4ee4\u672a\u627e\u5230<\/h2>\n<\/p>\n<p><p>\u5982\u679c\u5728\u8fd0\u884c<code>pip<\/code>\u547d\u4ee4\u65f6\uff0c\u51fa\u73b0<code>command not found<\/code>\u9519\u8bef\uff0c\u53ef\u80fd\u662f\u56e0\u4e3apip\u6ca1\u6709\u6dfb\u52a0\u5230\u7cfb\u7edf\u7684PATH\u73af\u5883\u53d8\u91cf\u4e2d\u3002\u4f60\u53ef\u4ee5\u624b\u52a8\u5c06pip\u7684\u5b89\u88c5\u8def\u5f84\u6dfb\u52a0\u5230PATH\u4e2d\u3002<\/p>\n<\/p>\n<p><h2>5.2\u3001\u6743\u9650\u95ee\u9898<\/h2>\n<\/p>\n<p><p>\u5728\u5b89\u88c5\u6216\u5347\u7ea7pip\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u6743\u9650\u95ee\u9898\uff0c\u5c24\u5176\u662f\u5728Linux\u548cMacOS\u7cfb\u7edf\u4e0a\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528<code>sudo<\/code>\u547d\u4ee4\u6765\u63d0\u9ad8\u6743\u9650\uff0c\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code>sudo python3 -m pip install --upgrade pip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>5.3\u3001\u7f51\u7edc\u95ee\u9898<\/h2>\n<\/p>\n<p><p>\u5728\u5b89\u88c5\u6216\u5347\u7ea7pip\u65f6\uff0c\u5982\u679c\u9047\u5230\u7f51\u7edc\u95ee\u9898\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u66f4\u6362\u955c\u50cf\u6e90\u3002\u4f8b\u5982\uff0c\u5728\u4e2d\u56fd\u5927\u9646\u5730\u533a\uff0c\u53ef\u4ee5\u4f7f\u7528\u56fd\u5185\u7684\u955c\u50cf\u6e90\uff1a<\/p>\n<\/p>\n<p><pre><code>pip install --upgrade pip -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6cd5\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u68c0\u67e5\u81ea\u5df1\u7684Python\u662f\u5426\u5b89\u88c5\u4e86pip\uff0c\u5e76\u4e86\u89e3\u5982\u4f55\u5b89\u88c5\u548c\u7ba1\u7406pip\u3002\u65e0\u8bba\u4f60\u662f\u521d\u5b66\u8005\u8fd8\u662f\u6709\u7ecf\u9a8c\u7684\u5f00\u53d1\u8005\uff0c\u8fd9\u4e9b\u6280\u5de7\u90fd\u80fd\u5e2e\u52a9\u4f60\u66f4\u9ad8\u6548\u5730\u4f7f\u7528Python\u548cpip\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u68c0\u67e5\u6211\u7684Python\u7248\u672c\u662f\u5426\u652f\u6301pip\uff1f<\/strong><br \/>\u8981\u786e\u8ba4\u60a8\u7684Python\u7248\u672c\u662f\u5426\u652f\u6301pip\uff0c\u60a8\u53ef\u4ee5\u5728\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165\u547d\u4ee4<code>python --version<\/code>\u6216<code>python3 --version<\/code>\u3002\u5982\u679c\u60a8\u7684Python\u7248\u672c\u662f3.4\u53ca\u4ee5\u4e0a\uff0c\u901a\u5e38\u4f1a\u81ea\u5e26pip\u3002\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662f\u8f83\u65e9\u7248\u672c\u7684Python\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u624b\u52a8\u5b89\u88c5pip\u3002<\/p>\n<p><strong>\u5982\u679c\u6211\u53d1\u73b0\u6ca1\u6709\u5b89\u88c5pip\uff0c\u8be5\u5982\u4f55\u5b89\u88c5\uff1f<\/strong><br \/>\u5982\u679c\u7cfb\u7edf\u4e2d\u6ca1\u6709pip\uff0c\u53ef\u4ee5\u901a\u8fc7\u4e0b\u8f7d<code>get-pip.py<\/code>\u811a\u672c\u6765\u5b89\u88c5\u3002\u60a8\u53ef\u4ee5\u5728\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165<code>curl https:\/\/bootstrap.pypa.io\/get-pip.py -o get-pip.py<\/code>\u4e0b\u8f7d\u8be5\u811a\u672c\u3002\u968f\u540e\uff0c\u4f7f\u7528\u547d\u4ee4<code>python get-pip.py<\/code>\u6216<code>python3 get-pip.py<\/code>\u8fd0\u884c\u8be5\u811a\u672c\u6765\u5b8c\u6210\u5b89\u88c5\u3002<\/p>\n<p><strong>\u5728\u4f7f\u7528pip\u65f6\uff0c\u5982\u4f55\u67e5\u770b\u5df2\u5b89\u88c5\u7684\u5305\u548c\u7248\u672c\uff1f<\/strong><br \/>\u8981\u67e5\u770b\u5f53\u524d\u73af\u5883\u4e2d\u5df2\u5b89\u88c5\u7684\u6240\u6709Python\u5305\u53ca\u5176\u7248\u672c\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4<code>pip list<\/code>\u3002\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u5217\u51fa\u6240\u6709\u5df2\u5b89\u88c5\u7684\u5305\u53ca\u5176\u5bf9\u5e94\u7684\u7248\u672c\u53f7\uff0c\u5e2e\u52a9\u60a8\u7ba1\u7406\u548c\u7ef4\u62a4\u73af\u5883\u4e2d\u7684\u4f9d\u8d56\u5173\u7cfb\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u68c0\u67e5\u81ea\u5df1\u7684Python\u662f\u5426\u5b89\u88c5\u4e86pip\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a\u4f7f\u7528\u547d\u4ee4\u884c\u68c0\u67e5\u3001\u67e5\u770bPython\u5b89\u88c5\u76ee\u5f55\u3001\u4f7f\u7528 [&hellip;]","protected":false},"author":3,"featured_media":1108224,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1108218"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1108218"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1108218\/revisions"}],"predecessor-version":[{"id":1108228,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1108218\/revisions\/1108228"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1108224"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1108218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1108218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1108218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}