{"id":945196,"date":"2024-12-26T23:23:01","date_gmt":"2024-12-26T15:23:01","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/945196.html"},"modified":"2024-12-26T23:23:03","modified_gmt":"2024-12-26T15:23:03","slug":"%e5%a6%82%e4%bd%95%e7%bb%99python%e5%8d%87%e7%ba%a7","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/945196.html","title":{"rendered":"\u5982\u4f55\u7ed9python\u5347\u7ea7"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25081910\/83f8f692-ea83-416f-a700-5e8e7b95d8a0.webp\" alt=\"\u5982\u4f55\u7ed9python\u5347\u7ea7\" \/><\/p>\n<p><p> <strong>\u7ed9Python\u5347\u7ea7\u7684\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\uff08\u5982pip\uff09\u3001\u4e0b\u8f7d\u5b98\u65b9\u5b89\u88c5\u5305\u3001\u4f7f\u7528pyenv\u7ba1\u7406\u591a\u4e2a\u7248\u672c\u3002<\/strong>\u5176\u4e2d\uff0c\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u662f\u6700\u4e3a\u4fbf\u6377\u548c\u5e38\u7528\u7684\u65b9\u6cd5\u4e4b\u4e00\u3002\u901a\u8fc7\u547d\u4ee4\u884c\u5de5\u5177pip\uff0c\u6211\u4eec\u53ef\u4ee5\u5f88\u5bb9\u6613\u5730\u5347\u7ea7Python\u53ca\u5176\u76f8\u5173\u5e93\u3002\u6b64\u5916\uff0cpyenv\u662f\u4e00\u79cd\u5141\u8bb8\u7528\u6237\u5728\u540c\u4e00\u53f0\u673a\u5668\u4e0a\u5b89\u88c5\u548c\u7ba1\u7406\u591a\u4e2aPython\u7248\u672c\u7684\u5de5\u5177\uff0c\u8fd9\u5bf9\u4e8e\u5f00\u53d1\u9700\u8981\u4e0d\u540cPython\u7248\u672c\u7684\u9879\u76ee\u65f6\u975e\u5e38\u6709\u7528\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u51e0\u79cd\u65b9\u6cd5\u7684\u5177\u4f53\u6b65\u9aa4\u548c\u6ce8\u610f\u4e8b\u9879\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u5347\u7ea7Python<\/p>\n<\/p>\n<p><p>\u5229\u7528\u5305\u7ba1\u7406\u5de5\u5177\u662fPython\u7528\u6237\u666e\u904d\u91c7\u7528\u7684\u65b9\u6cd5\u3002pip\u662fPython\u81ea\u5e26\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u901a\u8fc7\u5b83\u6211\u4eec\u4e0d\u4ec5\u53ef\u4ee5\u5b89\u88c5\u548c\u7ba1\u7406Python\u5305\uff0c\u8fd8\u53ef\u4ee5\u5347\u7ea7Python\u672c\u8eab\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528pip\u5347\u7ea7Python<\/strong><\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u786e\u4fddpip\u662f\u6700\u65b0\u7248\u672c\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u6765\u5347\u7ea7pip\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python -m pip install --upgrade pip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u4f7f\u7528pip\u6765\u68c0\u67e5Python\u7684\u6700\u65b0\u7248\u672c\uff0c\u5e76\u8fdb\u884c\u5347\u7ea7\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install --upgrade python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0cpip\u901a\u5e38\u7528\u4e8e\u5347\u7ea7Python\u5305\u800c\u4e0d\u662fPython\u89e3\u91ca\u5668\u672c\u8eab\uff0c\u6240\u4ee5\u5728\u67d0\u4e9b\u7cfb\u7edf\u4e2d\u53ef\u80fd\u9700\u8981\u5176\u4ed6\u5de5\u5177\u6216\u65b9\u6cd5\u6765\u5347\u7ea7Python\u89e3\u91ca\u5668\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528homebrew\u5347\u7ea7Python\uff08\u9002\u7528\u4e8emacOS\u7528\u6237\uff09<\/strong><\/p>\n<\/p>\n<p><p>\u5728macOS\u7cfb\u7edf\u4e2d\uff0cHomebrew\u662f\u4e00\u4e2a\u5e38\u7528\u7684\u8f6f\u4ef6\u5305\u7ba1\u7406\u5de5\u5177\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u6765\u5347\u7ea7Python\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">brew update<\/p>\n<p>brew upgrade python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u786e\u4fdd\u4f60\u7684Python\u7248\u672c\u662f\u6700\u65b0\u7684\uff0c\u5e76\u4e14\u4f1a\u81ea\u52a8\u5904\u7406\u76f8\u5173\u7684\u4f9d\u8d56\u9879\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u4e0b\u8f7d\u5b98\u65b9\u5b89\u88c5\u5305<\/p>\n<\/p>\n<p><p>\u5bf9\u4e8e\u4e00\u4e9b\u7528\u6237\uff0c\u5c24\u5176\u662f\u5728Windows\u7cfb\u7edf\u4e0a\uff0c\u4f7f\u7528\u5b98\u65b9\u5b89\u88c5\u5305\u662f\u5347\u7ea7Python\u7684\u5e38\u89c1\u65b9\u5f0f\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u4e0d\u719f\u6089\u547d\u4ee4\u884c\u64cd\u4f5c\u7684\u7528\u6237\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9<\/strong><\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9\uff08<a href=\"https:\/\/www.python.org\/%EF%BC%89%E5%B9%B6%E5%AF%BC%E8%88%AA%E5%88%B0%E2%80%9CDownloads%E2%80%9D%E9%A1%B5%E9%9D%A2%E3%80%82%E5%9C%A8%E8%BF%99%E9%87%8C%EF%BC%8C%E4%BD%A0%E5%8F%AF%E4%BB%A5%E7%9C%8B%E5%88%B0%E9%92%88%E5%AF%B9%E4%B8%8D%E5%90%8C%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E7%9A%84%E6%9C%80%E6%96%B0Python%E7%89%88%E6%9C%AC%E3%80%82\">https:\/\/www.python.org\/\uff09\u5e76\u5bfc\u822a\u5230\u201cDownloads\u201d\u9875\u9762\u3002\u5728\u8fd9\u91cc\uff0c\u4f60\u53ef\u4ee5\u770b\u5230\u9488\u5bf9\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u7684\u6700\u65b0Python\u7248\u672c\u3002<\/a><\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4e0b\u8f7d\u5e76\u8fd0\u884c\u5b89\u88c5\u5305<\/strong><\/p>\n<\/p>\n<p><p>\u9009\u62e9\u4e0e\u4f60\u7684\u64cd\u4f5c\u7cfb\u7edf\u76f8\u5339\u914d\u7684\u5b89\u88c5\u5305\u8fdb\u884c\u4e0b\u8f7d\u3002\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\u3002\u901a\u5e38\uff0c\u5b89\u88c5\u7a0b\u5e8f\u4f1a\u6709\u4e00\u4e2a\u9009\u9879\u7528\u4e8e\u66f4\u65b0\u73b0\u6709\u7684Python\u7248\u672c\u3002\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u8bf7\u786e\u4fdd\u52fe\u9009\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u4ee5\u786e\u4fdd\u547d\u4ee4\u884c\u53ef\u4ee5\u8bc6\u522bPython\u547d\u4ee4\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\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u9a8c\u8bc1Python\u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u663e\u793a\u5f53\u524d\u5b89\u88c5\u7684Python\u7248\u672c\uff0c\u4ee5\u786e\u4fdd\u5347\u7ea7\u6210\u529f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u4f7f\u7528pyenv\u7ba1\u7406\u591a\u4e2aPython\u7248\u672c<\/p>\n<\/p>\n<p><p>pyenv\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u5141\u8bb8\u7528\u6237\u5728\u540c\u4e00\u53f0\u673a\u5668\u4e0a\u5b89\u88c5\u548c\u7ba1\u7406\u591a\u4e2aPython\u7248\u672c\uff0c\u9002\u7528\u4e8e\u9700\u8981\u5728\u4e0d\u540c\u9879\u76ee\u4e4b\u95f4\u5207\u6362Python\u7248\u672c\u7684\u5f00\u53d1\u8005\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5pyenv<\/strong><\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5b89\u88c5pyenv\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5728macOS\u4e0a\u5b89\u88c5pyenv\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">brew install pyenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5bf9\u4e8e\u5176\u4ed6\u7cfb\u7edf\uff0c\u53ef\u4ee5\u53c2\u8003pyenv\u7684GitHub\u9875\u9762\u83b7\u53d6\u5b89\u88c5\u8bf4\u660e\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5\u65b0\u7248\u672c\u7684Python<\/strong><\/p>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528pyenv\u5b89\u88c5\u65b0\u7684Python\u7248\u672c\u3002\u4f8b\u5982\uff0c\u8981\u5b89\u88c5Python 3.9.7\uff0c\u53ef\u4ee5\u8fd0\u884c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyenv install 3.9.7<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbe\u7f6e\u5168\u5c40\u6216\u672c\u5730Python\u7248\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u8bbe\u7f6e\u5168\u5c40\u7684Python\u7248\u672c\uff0c\u6216\u8005\u4e3a\u7279\u5b9a\u9879\u76ee\u8bbe\u7f6e\u672c\u5730Python\u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyenv global 3.9.7<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005\u5728\u9879\u76ee\u76ee\u5f55\u4e2d\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyenv local 3.9.7<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6837\uff0c\u4f60\u5c31\u53ef\u4ee5\u6839\u636e\u9700\u8981\u5728\u4e0d\u540c\u7684Python\u7248\u672c\u4e4b\u95f4\u5207\u6362\uff0c\u800c\u65e0\u9700\u5e72\u6270\u7cfb\u7edf\u7684\u9ed8\u8ba4Python\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u5347\u7ea7Python\u7684\u6ce8\u610f\u4e8b\u9879<\/p>\n<\/p>\n<p><p>\u5728\u5347\u7ea7Python\u65f6\uff0c\u6709\u51e0\u4e2a\u91cd\u8981\u7684\u6ce8\u610f\u4e8b\u9879\u9700\u8981\u8003\u8651\uff0c\u4ee5\u907f\u514d\u53ef\u80fd\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5907\u4efd\u6570\u636e<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u5347\u7ea7\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u5907\u4efd\u6240\u6709\u91cd\u8981\u7684\u6570\u636e\u548c\u9879\u76ee\u6587\u4ef6\u3002\u867d\u7136\u5347\u7ea7\u901a\u5e38\u4e0d\u4f1a\u5f71\u54cd\u6570\u636e\uff0c\u4f46\u8c28\u614e\u603b\u662f\u660e\u667a\u7684\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u68c0\u67e5\u517c\u5bb9\u6027<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u5347\u7ea7\u5230\u65b0\u7684Python\u7248\u672c\u4e4b\u524d\uff0c\u68c0\u67e5\u4f60\u4f7f\u7528\u7684\u6240\u6709\u7b2c\u4e09\u65b9\u5e93\u548c\u5de5\u5177\u662f\u5426\u4e0e\u65b0\u7248\u672c\u517c\u5bb9\u3002\u6709\u65f6\u5019\uff0c\u67d0\u4e9b\u5e93\u53ef\u80fd\u8fd8\u672a\u51c6\u5907\u597d\u652f\u6301\u6700\u65b0\u7684Python\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u66f4\u65b0\u865a\u62df\u73af\u5883<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u5728\u9879\u76ee\u4e2d\u4f7f\u7528\u865a\u62df\u73af\u5883\uff0c\u8bf7\u8bb0\u5f97\u5728\u5347\u7ea7Python\u4e4b\u540e\u66f4\u65b0\u4f60\u7684\u865a\u62df\u73af\u5883\u3002\u8fd9\u53ef\u4ee5\u901a\u8fc7\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u865a\u62df\u73af\u5883\u5e76\u91cd\u65b0\u5b89\u88c5\u6240\u6709\u4f9d\u8d56\u9879\u6765\u5b8c\u6210\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6d4b\u8bd5\u4f60\u7684\u9879\u76ee<\/strong><\/p>\n<\/p>\n<p><p>\u5347\u7ea7\u5b8c\u6210\u540e\uff0c\u52a1\u5fc5\u8fd0\u884c\u6240\u6709\u9879\u76ee\u7684\u6d4b\u8bd5\uff0c\u4ee5\u786e\u4fdd\u5728\u65b0\u7684Python\u7248\u672c\u4e0b\u6ca1\u6709\u51fa\u73b0\u4efb\u4f55\u95ee\u9898\u3002\u8fd9\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5feb\u901f\u53d1\u73b0\u5e76\u89e3\u51b3\u517c\u5bb9\u6027\u95ee\u9898\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6cd5\uff0c\u4f60\u53ef\u4ee5\u987a\u5229\u5730\u5347\u7ea7Python\uff0c\u5e76\u786e\u4fdd\u5728\u65b0\u7684\u7248\u672c\u4e2d\u7ee7\u7eed\u6d41\u7545\u5730\u8fdb\u884c\u5f00\u53d1\u3002\u65e0\u8bba\u662f\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u3001\u5b98\u65b9\u5b89\u88c5\u5305\u8fd8\u662fpyenv\uff0c\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u9002\u7528\u7684\u573a\u666f\u548c\u4f18\u7f3a\u70b9\uff0c\u9009\u62e9\u9002\u5408\u4f60\u7684\u65b9\u6cd5\u662f\u5173\u952e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u68c0\u67e5\u6211\u5f53\u524d\u5b89\u88c5\u7684Python\u7248\u672c\uff1f<\/strong><br \/>\u8981\u68c0\u67e5\u5f53\u524d\u5b89\u88c5\u7684Python\u7248\u672c\uff0c\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<code>python --version<\/code> \u6216 <code>python3 --version<\/code>\u3002\u8fd9\u5c06\u663e\u793a\u60a8\u5f53\u524d\u4f7f\u7528\u7684Python\u7248\u672c\u4fe1\u606f\u3002\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662fWindows\u7cfb\u7edf\uff0c\u60a8\u4e5f\u53ef\u4ee5\u5728PowerShell\u6216\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8fd0\u884c\u76f8\u540c\u7684\u547d\u4ee4\u3002<\/p>\n<p><strong>\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u5982\u4f55\u66f4\u65b0Python\uff1f<\/strong><br \/>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u8bbf\u95eePython\u7684\u5b98\u65b9\u7f51\u7ad9\uff0c\u4e0b\u8f7d\u6700\u65b0\u7684\u5b89\u88c5\u7a0b\u5e8f\u5e76\u8fd0\u884c\u4ee5\u8fdb\u884c\u66f4\u65b0\u3002\u5728macOS\u4e0a\uff0c\u4f7f\u7528Homebrew\u7684\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4<code>brew upgrade python<\/code>\u6765\u66f4\u65b0Python\u3002\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u901a\u5e38\u53ef\u4ee5\u4f7f\u7528\u5305\u7ba1\u7406\u5668\uff08\u4f8b\u5982apt\u6216yum\uff09\u6765\u66f4\u65b0Python\uff0c\u5177\u4f53\u547d\u4ee4\u53ef\u80fd\u662f<code>sudo apt-get update<\/code>\u548c<code>sudo apt-get install python3<\/code>\u3002<\/p>\n<p><strong>\u66f4\u65b0Python\u540e\u9700\u8981\u505a\u54ea\u4e9b\u989d\u5916\u7684\u914d\u7f6e\u5417\uff1f<\/strong><br \/>\u5728\u66f4\u65b0Python\u7248\u672c\u540e\uff0c\u67d0\u4e9b\u4f9d\u8d56\u5305\u53ef\u80fd\u9700\u8981\u91cd\u65b0\u5b89\u88c5\u6216\u66f4\u65b0\u3002\u53ef\u4ee5\u4f7f\u7528<code>pip list --outdated<\/code>\u547d\u4ee4\u67e5\u770b\u8fc7\u65f6\u7684\u5305\uff0c\u5e76\u4f7f\u7528<code>pip install --upgrade package_name<\/code>\u6765\u66f4\u65b0\u5b83\u4eec\u3002\u6b64\u5916\uff0c\u786e\u4fdd\u66f4\u65b0\u540e\u7684Python\u7248\u672c\u5df2\u6b63\u786e\u914d\u7f6e\u5728\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u4e2d\uff0c\u4ee5\u4fbf\u4e8e\u547d\u4ee4\u884c\u8bbf\u95ee\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u7ed9Python\u5347\u7ea7\u7684\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\uff08\u5982pip\uff09\u3001\u4e0b\u8f7d\u5b98\u65b9\u5b89\u88c5\u5305\u3001\u4f7f\u7528pyenv\u7ba1\u7406\u591a\u4e2a\u7248\u672c\u3002\u5176\u4e2d\uff0c\u4f7f\u7528 [&hellip;]","protected":false},"author":3,"featured_media":945201,"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\/945196"}],"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=945196"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/945196\/revisions"}],"predecessor-version":[{"id":945203,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/945196\/revisions\/945203"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/945201"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=945196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=945196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=945196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}