{"id":944350,"date":"2024-12-26T23:04:55","date_gmt":"2024-12-26T15:04:55","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/944350.html"},"modified":"2024-12-26T23:04:57","modified_gmt":"2024-12-26T15:04:57","slug":"window%e5%a6%82%e4%bd%95%e5%8d%87%e7%ba%a7python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/944350.html","title":{"rendered":"window\u5982\u4f55\u5347\u7ea7python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25081327\/e2bcacca-9694-4ce5-8832-a6d783d95d87.webp\" alt=\"window\u5982\u4f55\u5347\u7ea7python\" \/><\/p>\n<p><p> <strong>\u5347\u7ea7Python\u7248\u672c\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528Python\u5b98\u65b9\u5b89\u88c5\u7a0b\u5e8f\u3001\u5229\u7528\u5305\u7ba1\u7406\u5668\u5982Homebrew\u548cChocolatey\u3001\u501f\u52a9Anaconda\u8fdb\u884c\u7ba1\u7406\u3002<\/strong>\u5176\u4e2d\uff0c\u6700\u76f4\u63a5\u7684\u65b9\u6cd5\u662f\u901a\u8fc7Python\u5b98\u7f51\u4e0b\u8f7d\u5e76\u5b89\u88c5\u6700\u65b0\u7248\u672c\u3002\u4e0b\u9762\u5c06\u5bf9\u6b64\u65b9\u6cd5\u8fdb\u884c\u8be6\u7ec6\u63cf\u8ff0\u3002\u901a\u8fc7Python\u5b98\u7f51\u4e0b\u8f7d\u5b89\u88c5\u7a0b\u5e8f\u662f\u4e00\u79cd\u5e38\u89c1\u4e14\u4fbf\u6377\u7684\u65b9\u5f0f\u3002\u9996\u5148\u8bbf\u95eePython\u7684\u5b98\u65b9\u7f51\u7ad9\uff0c\u4e0b\u8f7d\u9002\u5408Windows\u7cfb\u7edf\u7684\u6700\u65b0\u7248\u672c\u5b89\u88c5\u7a0b\u5e8f\u3002\u8fd0\u884c\u4e0b\u8f7d\u7684\u5b89\u88c5\u7a0b\u5e8f\uff0c\u5e76\u786e\u4fdd\u52fe\u9009\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u4ee5\u4fbf\u5728\u547d\u4ee4\u884c\u4e2d\u8f7b\u677e\u8bbf\u95eePython\u3002\u5b8c\u6210\u5b89\u88c5\u540e\uff0c\u4f7f\u7528\u547d\u4ee4\u884c\u8f93\u5165<code>python --version<\/code>\u547d\u4ee4\u9a8c\u8bc1Python\u7248\u672c\u662f\u5426\u5df2\u6210\u529f\u5347\u7ea7\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528PYTHON\u5b98\u7f51\u5b89\u88c5\u7a0b\u5e8f<\/p>\n<\/p>\n<p><p>Python\u5b98\u7f51\u63d0\u4f9b\u4e86\u6700\u65b0\u7248\u672c\u7684Python\u5b89\u88c5\u7a0b\u5e8f\uff0c\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002\u4f7f\u7528\u5b98\u7f51\u5b89\u88c5\u7a0b\u5e8f\u662f\u5347\u7ea7Python\u7684\u4e00\u79cd\u7b80\u5355\u76f4\u63a5\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4e0b\u8f7d\u548c\u5b89\u88c5<\/strong><\/p>\n<\/p>\n<p><p>\u8bbf\u95ee<a href=\"https:\/\/www.python.org\/\">Python\u5b98\u7f51<\/a>\uff0c\u5728\u4e0b\u8f7d\u9875\u9762\u9009\u62e9\u9002\u5408Windows\u7684Python\u7248\u672c\u3002\u70b9\u51fb\u4e0b\u8f7d\u94fe\u63a5\uff0c\u83b7\u53d6\u5b89\u88c5\u7a0b\u5e8f\u3002\u8fd0\u884c\u4e0b\u8f7d\u7684\u6587\u4ef6\uff0c\u542f\u52a8\u5b89\u88c5\u5411\u5bfc\u3002\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u786e\u4fdd\u9009\u4e2d\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u8fd9\u5c06\u65b9\u4fbf\u4f60\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528Python\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9a8c\u8bc1\u5b89\u88c5<\/strong><\/p>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u8f93\u5165<code>python --version<\/code>\uff0c\u68c0\u67e5Python\u7248\u672c\u662f\u5426\u5df2\u66f4\u65b0\u3002\u5982\u679c\u8f93\u51fa\u663e\u793a\u7684\u662f\u4f60\u521a\u5b89\u88c5\u7684\u7248\u672c\u53f7\uff0c\u8bf4\u660e\u5347\u7ea7\u6210\u529f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u5229\u7528\u5305\u7ba1\u7406\u5668<\/p>\n<\/p>\n<p><p>\u5728Windows\u4e0a\uff0c\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5982Chocolatey\u53ef\u4ee5\u7b80\u5316\u8f6f\u4ef6\u5b89\u88c5\u548c\u7ba1\u7406\u8fc7\u7a0b\uff0c\u5305\u62ecPython\u7684\u5347\u7ea7\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5Chocolatey<\/strong><\/p>\n<\/p>\n<p><p>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Chocolatey\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">@&quot;%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe&quot; -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command &quot;iex ((New-Object System.Net.WebClient).DownloadString(&#39;https:\/\/chocolatey.org\/install.ps1&#39;))&quot; &amp;&amp; SET &quot;PATH=%PATH%;%ALLUSERSPROFILE%\\chocolatey\\bin&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528Chocolatey\u5347\u7ea7Python<\/strong><\/p>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5347\u7ea7Python\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">choco upgrade python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u4e0b\u8f7d\u5e76\u5b89\u88c5Python\u7684\u6700\u65b0\u7a33\u5b9a\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u501f\u52a9ANACONDA\u8fdb\u884c\u7ba1\u7406<\/p>\n<\/p>\n<p><p>Anaconda\u662f\u4e00\u6b3e\u6d41\u884c\u7684\u6570\u636e\u79d1\u5b66\u548c<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u5e73\u53f0\uff0c\u63d0\u4f9b\u4e86Python\u7684\u7248\u672c\u7ba1\u7406\u529f\u80fd\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5Anaconda<\/strong><\/p>\n<\/p>\n<p><p>\u8bbf\u95ee<a href=\"https:\/\/www.anaconda.com\/\">Anaconda\u5b98\u7f51<\/a>\uff0c\u4e0b\u8f7d\u9002\u7528\u4e8eWindows\u7684Anaconda\u5b89\u88c5\u5305\u3002\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\u5e76\u5b8c\u6210\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7ba1\u7406Python\u7248\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528Anaconda\u547d\u4ee4\u884c\u5de5\u5177\uff08Anaconda Prompt\uff09\u5347\u7ea7Python\u3002\u9996\u5148\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u865a\u62df\u73af\u5883\uff0c\u5e76\u6307\u5b9a\u6240\u9700\u7684Python\u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">conda create -n myenv python=3.x<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5176\u4e2d<code>3.x<\/code>\u8868\u793a\u4f60\u60f3\u8981\u5b89\u88c5\u7684Python\u7248\u672c\u3002\u6fc0\u6d3b\u73af\u5883\u540e\uff0c\u65b0\u7248\u672c\u7684Python\u5c06\u53ef\u7528\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">conda activate myenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u624b\u52a8\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf<\/p>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u624b\u52a8\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\uff0c\u4ee5\u786e\u4fdd\u7cfb\u7edf\u4f7f\u7528\u6700\u65b0\u7684Python\u7248\u672c\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u66f4\u65b0PATH\u53d8\u91cf<\/strong><\/p>\n<\/p>\n<p><p>\u6253\u5f00\u7cfb\u7edf\u5c5e\u6027\uff0c\u8fdb\u5165\u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d\u4e2d\u7684\u201c\u73af\u5883\u53d8\u91cf\u201d\u9009\u9879\u3002\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u4e2d\u627e\u5230\u5e76\u7f16\u8f91\u201cPath\u201d\u53d8\u91cf\uff0c\u5c06\u5176\u6307\u5411\u65b0\u5b89\u88c5\u7684Python\u76ee\u5f55\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9a8c\u8bc1\u8bbe\u7f6e<\/strong><\/p>\n<\/p>\n<p><p>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u8f93\u5165<code>python --version<\/code>\uff0c\u786e\u8ba4\u7cfb\u7edf\u5df2\u8bc6\u522b\u5e76\u4f7f\u7528\u6700\u65b0\u7684Python\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u5904\u7406\u53ef\u80fd\u7684\u517c\u5bb9\u6027\u95ee\u9898<\/p>\n<\/p>\n<p><p>\u5728\u5347\u7ea7Python\u540e\uff0c\u67d0\u4e9b\u65e7\u7684Python\u5305\u53ef\u80fd\u4e0d\u517c\u5bb9\u65b0\u7248\u672c\u3002\u8fd9\u65f6\u4f60\u9700\u8981\u91c7\u53d6\u63aa\u65bd\u4ee5\u786e\u4fdd\u9879\u76ee\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5347\u7ea7Python\u5305<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528<code>pip<\/code>\u547d\u4ee4\u5347\u7ea7\u5df2\u5b89\u88c5\u7684Python\u5305\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">pip install --upgrade package_name<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005\u4e00\u6b21\u6027\u5347\u7ea7\u6240\u6709\u5305\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">pip list --outdated --format=freeze | grep -v &#39;^\\-e&#39; | cut -d = -f 1 | xargs -n1 pip install -U<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8c03\u6574\u4ee3\u7801<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u5347\u7ea7\u5305\u540e\u4ecd\u7136\u5b58\u5728\u517c\u5bb9\u6027\u95ee\u9898\uff0c\u53ef\u80fd\u9700\u8981\u4fee\u6539\u4ee3\u7801\u4ee5\u9002\u5e94\u65b0\u7248\u672cPython\u7684\u53d8\u5316\u3002\u67e5\u9605\u76f8\u5e94\u7684Python\u7248\u672c\u66f4\u65b0\u65e5\u5fd7\uff0c\u4e86\u89e3\u5177\u4f53\u7684\u53d8\u5316\u548c\u63a8\u8350\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u516d\u3001\u4f7f\u7528\u865a\u62df\u73af\u5883\u7ba1\u7406\u591a\u4e2aPYTHON\u7248\u672c<\/p>\n<\/p>\n<p><p>\u865a\u62df\u73af\u5883\u5141\u8bb8\u5728\u540c\u4e00\u7cfb\u7edf\u4e0a\u7ba1\u7406\u591a\u4e2aPython\u7248\u672c\u53ca\u5176\u4f9d\u8d56\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efa\u865a\u62df\u73af\u5883<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528<code>venv<\/code>\u6a21\u5757\u521b\u5efa\u865a\u62df\u73af\u5883\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">python -m venv myenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6fc0\u6d3b\u865a\u62df\u73af\u5883\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-shell\">myenv\\Scripts\\activate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5\u4e0d\u540c\u7684Python\u7248\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u865a\u62df\u73af\u5883\u4e2d\u5b89\u88c5\u6240\u9700\u7684Python\u7248\u672c\u548c\u5305\uff0c\u4ee5\u4fbf\u5728\u4e0d\u540c\u9879\u76ee\u4e2d\u4f7f\u7528\u4e0d\u540c\u7684Python\u7248\u672c\u800c\u4e0d\u4ea7\u751f\u51b2\u7a81\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e03\u3001\u5b9a\u671f\u68c0\u67e5\u548c\u66f4\u65b0<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u4fdd\u6301Python\u73af\u5883\u7684\u6700\u65b0\u72b6\u6001\uff0c\u5efa\u8bae\u5b9a\u671f\u68c0\u67e5\u548c\u66f4\u65b0Python\u7248\u672c\u53ca\u5176\u76f8\u5173\u5305\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u68c0\u67e5\u66f4\u65b0<\/strong><\/p>\n<\/p>\n<p><p>\u901a\u8fc7Python\u5b98\u7f51\u6216\u5305\u7ba1\u7406\u5668\u5b9a\u671f\u68c0\u67e5\u662f\u5426\u6709\u65b0\u7248\u672c\u53d1\u5e03\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u81ea\u52a8\u5316\u5347\u7ea7<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528\u811a\u672c\u6216\u81ea\u52a8\u5316\u5de5\u5177\u5b9a\u671f\u5347\u7ea7Python\u548c\u76f8\u5173\u5305\uff0c\u786e\u4fdd\u59cb\u7ec8\u4f7f\u7528\u6700\u65b0\u7684\u529f\u80fd\u548c\u5b89\u5168\u8865\u4e01\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u603b\u7ed3\uff1a\u5347\u7ea7Python\u7248\u672c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u9014\u5f84\u5b9e\u73b0\uff0c\u5305\u62ec\u4e0b\u8f7d\u5b98\u7f51\u5b89\u88c5\u7a0b\u5e8f\u3001\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u3001\u501f\u52a9Anaconda\u7b49\u3002\u9009\u62e9\u9002\u5408\u4f60\u7684\u65b9\u6cd5\uff0c\u786e\u4fdd\u987a\u5229\u5b8c\u6210Python\u7684\u5347\u7ea7\u548c\u7ba1\u7406\u3002\u901a\u8fc7\u4e0a\u8ff0\u65b9\u6cd5\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u4fdd\u6301Python\u73af\u5883\u7684\u6700\u65b0\u72b6\u6001\uff0c\u540c\u65f6\u6709\u6548\u7ba1\u7406\u517c\u5bb9\u6027\u95ee\u9898\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Windows\u7cfb\u7edf\u4e0a\u68c0\u67e5\u5f53\u524d\u7684Python\u7248\u672c\uff1f<\/strong><br \/>\u5728Windows\u4e0a\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff08Command Prompt\uff09\u6765\u68c0\u67e5\u5f53\u524d\u5b89\u88c5\u7684Python\u7248\u672c\u3002\u53ea\u9700\u6309\u4e0b<code>Win + R<\/code>\u952e\uff0c\u8f93\u5165<code>cmd<\/code>\u5e76\u56de\u8f66\uff0c\u7136\u540e\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>python --version<\/code>\u6216<code>python -V<\/code>\uff0c\u5373\u53ef\u770b\u5230\u5f53\u524d\u7248\u672c\u4fe1\u606f\u3002\u5982\u679cPython\u672a\u5b89\u88c5\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u5148\u4e0b\u8f7d\u5e76\u5b89\u88c5\u5b83\u3002<\/p>\n<p><strong>\u5728Windows\u4e0a\u5347\u7ea7Python\u4f1a\u5f71\u54cd\u73b0\u6709\u7684\u9879\u76ee\u5417\uff1f<\/strong><br \/>\u5728Windows\u4e0a\u5347\u7ea7Python\u53ef\u80fd\u4f1a\u5f71\u54cd\u5230\u4f9d\u8d56\u4e8e\u7279\u5b9aPython\u7248\u672c\u7684\u9879\u76ee\u3002\u5f53\u60a8\u5347\u7ea7\u540e\uff0c\u67d0\u4e9b\u5e93\u6216\u6846\u67b6\u53ef\u80fd\u9700\u8981\u91cd\u65b0\u5b89\u88c5\u6216\u66f4\u65b0\uff0c\u4ee5\u786e\u4fdd\u5b83\u4eec\u4e0e\u65b0\u7248\u672c\u517c\u5bb9\u3002\u56e0\u6b64\uff0c\u5728\u5347\u7ea7\u4e4b\u524d\uff0c\u5efa\u8bae\u5907\u4efd\u60a8\u7684\u9879\u76ee\u73af\u5883\uff0c\u4f7f\u7528\u865a\u62df\u73af\u5883\uff08\u5982venv\u6216conda\uff09\u6765\u9694\u79bb\u4e0d\u540c\u9879\u76ee\u7684\u4f9d\u8d56\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Windows\u4e0a\u5b89\u5168\u5730\u5907\u4efd\u548c\u6062\u590dPython\u73af\u5883\uff1f<\/strong><br \/>\u60a8\u53ef\u4ee5\u4f7f\u7528<code>pip freeze &gt; requirements.txt<\/code>\u547d\u4ee4\u5728\u9879\u76ee\u76ee\u5f55\u4e2d\u751f\u6210\u4e00\u4e2arequirements.txt\u6587\u4ef6\uff0c\u8bb0\u5f55\u5f53\u524d\u73af\u5883\u4e2d\u5df2\u5b89\u88c5\u7684\u6240\u6709\u4f9d\u8d56\u3002\u4e3a\u4e86\u6062\u590d\u73af\u5883\uff0c\u53ea\u9700\u5728\u65b0\u7684Python\u73af\u5883\u4e2d\u4f7f\u7528<code>pip install -r requirements.txt<\/code>\u547d\u4ee4\u6765\u91cd\u65b0\u5b89\u88c5\u6240\u6709\u4f9d\u8d56\u3002\u6b64\u5916\uff0c\u521b\u5efa\u865a\u62df\u73af\u5883\u80fd\u591f\u5728\u4e0d\u540c\u9879\u76ee\u4e4b\u95f4\u8fdb\u884c\u6709\u6548\u7684\u9694\u79bb\uff0c\u786e\u4fdd\u5347\u7ea7\u6216\u66f4\u6539\u4e00\u4e2a\u9879\u76ee\u4e0d\u4f1a\u5f71\u54cd\u5176\u4ed6\u9879\u76ee\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5347\u7ea7Python\u7248\u672c\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528Python\u5b98\u65b9\u5b89\u88c5\u7a0b\u5e8f\u3001\u5229\u7528\u5305\u7ba1\u7406\u5668\u5982Homebrew\u548cChocolat [&hellip;]","protected":false},"author":3,"featured_media":944353,"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\/944350"}],"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=944350"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/944350\/revisions"}],"predecessor-version":[{"id":944355,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/944350\/revisions\/944355"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/944353"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=944350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=944350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=944350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}