{"id":1074020,"date":"2025-01-08T11:30:50","date_gmt":"2025-01-08T03:30:50","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1074020.html"},"modified":"2025-01-08T11:30:53","modified_gmt":"2025-01-08T03:30:53","slug":"%e7%94%b5%e8%84%91%e4%b8%8a%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85python%e4%bb%a5%e5%89%8d%e7%9a%84%e7%89%88%e6%9c%ac-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1074020.html","title":{"rendered":"\u7535\u8111\u4e0a\u5982\u4f55\u5b89\u88c5python\u4ee5\u524d\u7684\u7248\u672c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25103805\/f9799449-2376-4137-83e6-452eb502a9ea.webp\" alt=\"\u7535\u8111\u4e0a\u5982\u4f55\u5b89\u88c5python\u4ee5\u524d\u7684\u7248\u672c\" \/><\/p>\n<p><p> <strong>\u7535\u8111\u4e0a\u5982\u4f55\u5b89\u88c5Python\u4ee5\u524d\u7684\u7248\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u8981\u5728\u7535\u8111\u4e0a\u5b89\u88c5Python\u7684\u4ee5\u524d\u7248\u672c\uff0c\u60a8\u9700\u8981\u4e86\u89e3\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4\uff1a\u4e0b\u8f7d\u6240\u9700\u7248\u672c\u7684\u5b89\u88c5\u7a0b\u5e8f\u3001\u5378\u8f7d\u73b0\u6709\u7248\u672c\u3001\u901a\u8fc7\u5b89\u88c5\u7a0b\u5e8f\u8fdb\u884c\u5b89\u88c5\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u9a8c\u8bc1\u5b89\u88c5\u3002<strong>\u4e0b\u8f7d\u6240\u9700\u7248\u672c\u7684\u5b89\u88c5\u7a0b\u5e8f\u3001\u5378\u8f7d\u73b0\u6709\u7248\u672c\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/strong>\u662f\u6574\u4e2a\u8fc7\u7a0b\u4e2d\u6700\u91cd\u8981\u7684\u90e8\u5206\u3002\u4e0b\u8f7d\u6240\u9700\u7248\u672c\u7684\u5b89\u88c5\u7a0b\u5e8f\u662f\u7b2c\u4e00\u6b65\uff0c\u4e0b\u9762\u8be6\u7ec6\u8bb2\u89e3\u3002<\/p>\n<\/p>\n<p><p>\u4e0b\u8f7d\u6240\u9700\u7248\u672c\u7684\u5b89\u88c5\u7a0b\u5e8f\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u8bbf\u95eePython\u7684\u5b98\u65b9\u5386\u53f2\u7248\u672c\u9875\u9762\uff0c\u9009\u62e9\u5e76\u4e0b\u8f7d\u60a8\u6240\u9700\u7684Python\u7248\u672c\u3002\u4e00\u5b9a\u8981\u786e\u4fdd\u4e0b\u8f7d\u5bf9\u5e94\u64cd\u4f5c\u7cfb\u7edf\u548c\u67b6\u6784\u7684\u5b89\u88c5\u5305\uff0c\u6bd4\u5982Windows\u3001macOS\u6216\u8005Linux\uff0c\u4ee5\u53ca32\u4f4d\u6216\u800564\u4f4d\u7684\u7248\u672c\u3002\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u5728\u672c\u5730\u6587\u4ef6\u5939\u4e2d\u627e\u5230\u5b89\u88c5\u7a0b\u5e8f\uff0c\u51c6\u5907\u8fdb\u884c\u540e\u7eed\u5b89\u88c5\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4e0b\u8f7d\u6240\u9700\u7248\u672c\u7684\u5b89\u88c5\u7a0b\u5e8f<\/h3>\n<\/p>\n<p><p>Python\u7684\u5386\u53f2\u7248\u672c\u53ef\u4ee5\u901a\u8fc7Python\u5b98\u65b9\u7f51\u7ad9\u83b7\u53d6\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9<\/strong>\uff1a\u6253\u5f00\u6d4f\u89c8\u5668\u5e76\u8bbf\u95eePython\u7684\u5b98\u65b9\u7f51\u7ad9\uff08<a href=\"https:\/\/www.python.org%EF%BC%89%E3%80%82\">https:\/\/www.python.org\uff09\u3002<\/a><\/li>\n<li><strong>\u5bfc\u822a\u5230\u4e0b\u8f7d\u9875\u9762<\/strong>\uff1a\u5728\u4e3b\u9875\u4e0a\uff0c\u627e\u5230\u9876\u90e8\u5bfc\u822a\u680f\u4e2d\u7684\u201cDownloads\u201d\u9009\u9879\uff0c\u7136\u540e\u70b9\u51fb\u8fdb\u5165\u4e0b\u8f7d\u9875\u9762\u3002<\/li>\n<li><strong>\u8bbf\u95ee\u5386\u53f2\u7248\u672c\u9875\u9762<\/strong>\uff1a\u5728\u4e0b\u8f7d\u9875\u9762\u4e2d\uff0c\u627e\u5230\u5e76\u70b9\u51fb\u201cView the full list of downloads\u201d\u6216\u8005\u201cRelease History\u201d\uff0c\u8fd9\u5c06\u5e26\u60a8\u5230\u6240\u6709Python\u7248\u672c\u7684\u5217\u8868\u9875\u9762\u3002<\/li>\n<li><strong>\u9009\u62e9\u6240\u9700\u7248\u672c<\/strong>\uff1a\u5728\u5386\u53f2\u7248\u672c\u5217\u8868\u4e2d\uff0c\u627e\u5230\u60a8\u6240\u9700\u8981\u7684\u7248\u672c\uff0c\u5e76\u70b9\u51fb\u8fdb\u5165\u8be5\u7248\u672c\u7684\u8be6\u7ec6\u9875\u9762\u3002<\/li>\n<li><strong>\u4e0b\u8f7d\u5b89\u88c5\u7a0b\u5e8f<\/strong>\uff1a\u5728\u8be5\u7248\u672c\u7684\u8be6\u7ec6\u9875\u9762\u4e2d\uff0c\u627e\u5230\u9002\u5408\u60a8\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u5305\uff0c\u70b9\u51fb\u4e0b\u8f7d\u3002<\/li>\n<\/ol>\n<p><h3>\u4e8c\u3001\u5378\u8f7d\u73b0\u6709\u7248\u672c<\/h3>\n<\/p>\n<p><p>\u5728\u5b89\u88c5\u65b0\u7248\u672c\u4e4b\u524d\uff0c\u6700\u597d\u5378\u8f7d\u5f53\u524d\u5df2\u7ecf\u5b89\u88c5\u7684Python\u7248\u672c\uff0c\u4ee5\u907f\u514d\u7248\u672c\u51b2\u7a81\u548c\u73af\u5883\u53d8\u91cf\u914d\u7f6e\u95ee\u9898\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>Windows<\/strong>\uff1a\n<ul>\n<li>\u6253\u5f00\u201c\u63a7\u5236\u9762\u677f\u201d\u3002<\/li>\n<li>\u9009\u62e9\u201c\u7a0b\u5e8f\u548c\u529f\u80fd\u201d\u3002<\/li>\n<li>\u5728\u5217\u8868\u4e2d\u627e\u5230\u73b0\u6709\u7684Python\u7248\u672c\uff0c\u53f3\u952e\u70b9\u51fb\u5e76\u9009\u62e9\u201c\u5378\u8f7d\u201d\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>macOS<\/strong>\uff1a\n<ul>\n<li>\u6253\u5f00\u201c\u7ec8\u7aef\u201d\u3002<\/li>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5378\u8f7dPython\uff1a\n<pre><code class=\"language-shell\">sudo rm -rf \/Library\/Frameworks\/Python.framework\/Versions\/X.X<\/p>\n<p>sudo rm -rf &quot;\/Applications\/Python X.X&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u5176\u4e2d<code>X.X<\/code>\u662f\u60a8\u8981\u5378\u8f7d\u7684Python\u7248\u672c\u53f7\u3002<\/li>\n<\/p>\n<\/ul>\n<\/li>\n<li><strong>Linux<\/strong>\uff1a\n<ul>\n<li>\u6253\u5f00\u201c\u7ec8\u7aef\u201d\u3002<\/li>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5378\u8f7dPython\uff1a\n<pre><code class=\"language-shell\">sudo apt-get remove pythonX.X<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u5176\u4e2d<code>X.X<\/code>\u662f\u60a8\u8981\u5378\u8f7d\u7684Python\u7248\u672c\u53f7\u3002<\/li>\n<\/p>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u901a\u8fc7\u5b89\u88c5\u7a0b\u5e8f\u8fdb\u884c\u5b89\u88c5<\/h3>\n<\/p>\n<p><p>\u73b0\u5728\u60a8\u5df2\u7ecf\u4e0b\u8f7d\u4e86\u6240\u9700\u7684Python\u7248\u672c\u5b89\u88c5\u7a0b\u5e8f\uff0c\u5e76\u5378\u8f7d\u4e86\u73b0\u6709\u7248\u672c\uff0c\u63a5\u4e0b\u6765\u5c31\u662f\u5b89\u88c5\u65b0\u7248\u672c\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>Windows<\/strong>\uff1a\n<ul>\n<li>\u627e\u5230\u4e0b\u8f7d\u7684\u5b89\u88c5\u7a0b\u5e8f\uff0c\u53cc\u51fb\u8fd0\u884c\u3002<\/li>\n<li>\u5728\u5b89\u88c5\u5411\u5bfc\u4e2d\uff0c\u9009\u62e9\u201cAdd Python X.X to PATH\u201d\u9009\u9879\uff0c\u8fd9\u5c06\u81ea\u52a8\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3002<\/li>\n<li>\u6309\u7167\u5411\u5bfc\u7684\u63d0\u793a\u5b8c\u6210\u5b89\u88c5\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>macOS<\/strong>\uff1a\n<ul>\n<li>\u6253\u5f00\u4e0b\u8f7d\u7684\u5b89\u88c5\u5305\uff0c\u53cc\u51fb\u8fd0\u884c\u3002<\/li>\n<li>\u6309\u7167\u5b89\u88c5\u5411\u5bfc\u7684\u63d0\u793a\u5b8c\u6210\u5b89\u88c5\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>Linux<\/strong>\uff1a\n<ul>\n<li>\u6253\u5f00\u201c\u7ec8\u7aef\u201d\u3002<\/li>\n<li>\u5bfc\u822a\u5230\u4e0b\u8f7d\u76ee\u5f55\uff0c\u5e76\u89e3\u538b\u5b89\u88c5\u5305\uff1a\n<pre><code class=\"language-shell\">tar -xf Python-X.X.X.tgz<\/p>\n<p>cd Python-X.X.X<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u914d\u7f6e\u548c\u7f16\u8bd1Python\uff1a\n<pre><code class=\"language-shell\">.\/configure<\/p>\n<p>make<\/p>\n<p>sudo make install<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h3>\n<\/p>\n<p><p>\u786e\u4fddPython\u53ef\u6267\u884c\u6587\u4ef6\u7684\u8def\u5f84\u5df2\u6dfb\u52a0\u5230\u7cfb\u7edf\u7684\u73af\u5883\u53d8\u91cf\u4e2d\uff0c\u8fd9\u6837\u60a8\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u76f4\u63a5\u8fd0\u884cPython\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>Windows<\/strong>\uff1a\n<ul>\n<li>\u6253\u5f00\u201c\u63a7\u5236\u9762\u677f\u201d\u3002<\/li>\n<li>\u9009\u62e9\u201c\u7cfb\u7edf\u548c\u5b89\u5168\u201d\u3002<\/li>\n<li>\u9009\u62e9\u201c\u7cfb\u7edf\u201d\uff0c\u7136\u540e\u70b9\u51fb\u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d\u3002<\/li>\n<li>\u5728\u201c\u7cfb\u7edf\u5c5e\u6027\u201d\u7a97\u53e3\u4e2d\uff0c\u70b9\u51fb\u201c\u73af\u5883\u53d8\u91cf\u201d\u3002<\/li>\n<li>\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u90e8\u5206\uff0c\u627e\u5230\u5e76\u7f16\u8f91\u201cPath\u201d\u53d8\u91cf\uff0c\u6dfb\u52a0Python\u7684\u5b89\u88c5\u8def\u5f84\uff08\u4f8b\u5982\uff1a<code>C:\\PythonX.X<\/code>\uff09\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>macOS<\/strong>\u548c<strong>Linux<\/strong>\uff1a\n<ul>\n<li>\u6253\u5f00\u201c\u7ec8\u7aef\u201d\u3002<\/li>\n<li>\u7f16\u8f91<code>~\/.bash_profile<\/code>\uff08\u6216<code>~\/.bashrc<\/code>\u3001<code>~\/.zshrc<\/code>\uff0c\u6839\u636e\u60a8\u4f7f\u7528\u7684shell\uff09\u6587\u4ef6\uff0c\u6dfb\u52a0\u4ee5\u4e0b\u884c\uff1a\n<pre><code class=\"language-shell\">export PATH=&quot;\/usr\/local\/bin\/pythonX.X:$PATH&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u4f7f\u66f4\u6539\u751f\u6548\uff1a\n<pre><code class=\"language-shell\">source ~\/.bash_profile<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u4e94\u3001\u9a8c\u8bc1\u5b89\u88c5<\/h3>\n<\/p>\n<p><p>\u6700\u540e\uff0c\u60a8\u9700\u8981\u9a8c\u8bc1Python\u662f\u5426\u5df2\u6b63\u786e\u5b89\u88c5\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u6253\u5f00\u547d\u4ee4\u884c<\/strong>\uff1a\n<ul>\n<li>Windows\uff1a\u6253\u5f00\u201c\u547d\u4ee4\u63d0\u793a\u7b26\u201d\u3002<\/li>\n<li>macOS\u548cLinux\uff1a\u6253\u5f00\u201c\u7ec8\u7aef\u201d\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u68c0\u67e5Python\u7248\u672c<\/strong>\uff1a\n<ul>\n<li>\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a\n<pre><code class=\"language-shell\">python --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\u5982\u679c\u5b89\u88c5\u6210\u529f\uff0c\u60a8\u5c06\u770b\u5230\u6240\u5b89\u88c5\u7684Python\u7248\u672c\u53f7\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u65b9\u6848<\/h3>\n<\/p>\n<p><p>\u5728\u5b89\u88c5Python\u7684\u8fc7\u7a0b\u4e2d\uff0c\u60a8\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u89e3\u51b3\u65b9\u6848\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u6743\u9650\u95ee\u9898<\/strong>\uff1a\u5982\u679c\u5728\u5b89\u88c5\u6216\u5378\u8f7d\u8fc7\u7a0b\u4e2d\u9047\u5230\u6743\u9650\u95ee\u9898\uff0c\u8bf7\u786e\u4fdd\u60a8\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\u6216\u547d\u4ee4\u884c\u3002<\/li>\n<li><strong>\u8def\u5f84\u51b2\u7a81<\/strong>\uff1a\u5982\u679c\u7cfb\u7edf\u4e2d\u5b58\u5728\u591a\u4e2aPython\u7248\u672c\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u8def\u5f84\u51b2\u7a81\u3002\u8bf7\u786e\u4fdd\u73af\u5883\u53d8\u91cf\u4e2d\u53ea\u6709\u4e00\u4e2aPython\u8def\u5f84\uff0c\u6216\u8005\u4f7f\u7528\u865a\u62df\u73af\u5883\u6765\u7ba1\u7406\u4e0d\u540c\u7684Python\u7248\u672c\u3002<\/li>\n<li><strong>\u4f9d\u8d56\u95ee\u9898<\/strong>\uff1a\u5728Linux\u7cfb\u7edf\u4e0a\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u7f3a\u5c11\u4f9d\u8d56\u7684\u60c5\u51b5\u3002\u8bf7\u786e\u4fdd\u5728\u5b89\u88c5Python\u4e4b\u524d\uff0c\u5df2\u5b89\u88c5\u5fc5\u8981\u7684\u4f9d\u8d56\u5e93\uff08\u5982<code>build-essential<\/code>\u3001<code>libssl-dev<\/code>\u7b49\uff09\u3002<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u60a8\u53ef\u4ee5\u5728\u7535\u8111\u4e0a\u6210\u529f\u5b89\u88c5Python\u7684\u4ee5\u524d\u7248\u672c\u3002\u65e0\u8bba\u662f\u4e3a\u4e86\u517c\u5bb9\u65e7\u9879\u76ee\uff0c\u8fd8\u662f\u4e3a\u4e86\u7279\u5b9a\u7684\u5b66\u4e60\u9700\u6c42\uff0c\u51c6\u786e\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u6ce8\u610f\u4e8b\u9879\u5c06\u5e2e\u52a9\u60a8\u987a\u5229\u5b8c\u6210\u5b89\u88c5\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u67e5\u627e\u9002\u5408\u6211\u7535\u8111\u7684Python\u65e7\u7248\u672c\uff1f<\/strong><br \/>\u53ef\u4ee5\u8bbf\u95eePython\u7684\u5b98\u65b9\u7f51\u7ad9\uff08python.org\uff09\uff0c\u5728\u4e0b\u8f7d\u9875\u9762\u4e2d\u627e\u5230\u201cRelease\u201d\u90e8\u5206\u3002\u5728\u8fd9\u91cc\uff0c\u4f60\u53ef\u4ee5\u67e5\u770b\u6240\u6709\u5386\u53f2\u7248\u672c\uff0c\u9009\u62e9\u4e0e\u4f60\u7684\u64cd\u4f5c\u7cfb\u7edf\u517c\u5bb9\u7684\u7248\u672c\u8fdb\u884c\u4e0b\u8f7d\u3002\u786e\u4fdd\u9009\u62e9\u7684\u7248\u672c\u652f\u6301\u4f60\u7684\u7cfb\u7edf\u67b6\u6784\uff08\u598232\u4f4d\u621664\u4f4d\uff09\u3002<\/p>\n<p><strong>\u5b89\u88c5\u65e7\u7248\u672cPython\u65f6\u9700\u8981\u6ce8\u610f\u54ea\u4e9b\u4e8b\u9879\uff1f<\/strong><br \/>\u5b89\u88c5\u65e7\u7248\u672c\u65f6\uff0c\u786e\u4fdd\u5148\u5378\u8f7d\u5f53\u524d\u5b89\u88c5\u7684Python\u7248\u672c\uff0c\u4ee5\u907f\u514d\u7248\u672c\u51b2\u7a81\u3002\u6b64\u5916\uff0c\u6ce8\u610f\u67e5\u770b\u8be5\u7248\u672c\u7684\u6587\u6863\uff0c\u4e86\u89e3\u5176\u4f9d\u8d56\u9879\u548c\u7279\u6027\u53d8\u5316\uff0c\u786e\u4fdd\u5b83\u53ef\u4ee5\u6ee1\u8db3\u4f60\u7684\u9879\u76ee\u9700\u6c42\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Windows\u4e0a\u5b89\u88c5Python\u7684\u65e7\u7248\u672c\uff1f<\/strong><br \/>\u4e0b\u8f7d\u6240\u9700\u7684\u65e7\u7248\u672c\u5b89\u88c5\u7a0b\u5e8f\u540e\uff0c\u53cc\u51fb\u8fd0\u884c\uff0c\u6309\u7167\u63d0\u793a\u5b8c\u6210\u5b89\u88c5\u3002\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u4ee5\u9009\u62e9\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u8fd9\u6837\u4f60\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u76f4\u63a5\u4f7f\u7528Python\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>python --version<\/code>\u6765\u786e\u8ba4\u5b89\u88c5\u662f\u5426\u6210\u529f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u7535\u8111\u4e0a\u5982\u4f55\u5b89\u88c5Python\u4ee5\u524d\u7684\u7248\u672c \u8981\u5728\u7535\u8111\u4e0a\u5b89\u88c5Python\u7684\u4ee5\u524d\u7248\u672c\uff0c\u60a8\u9700\u8981\u4e86\u89e3\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4\uff1a\u4e0b\u8f7d\u6240\u9700\u7248 [&hellip;]","protected":false},"author":3,"featured_media":1074027,"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\/1074020"}],"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=1074020"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1074020\/revisions"}],"predecessor-version":[{"id":1074028,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1074020\/revisions\/1074028"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1074027"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1074020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1074020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1074020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}