{"id":1164630,"date":"2025-01-15T15:09:54","date_gmt":"2025-01-15T07:09:54","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1164630.html"},"modified":"2025-01-15T15:09:56","modified_gmt":"2025-01-15T07:09:56","slug":"linux%e5%a6%82%e4%bd%95%e5%88%a0%e9%99%a4python2-7","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1164630.html","title":{"rendered":"linux\u5982\u4f55\u5220\u9664python2.7"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25205148\/27248cb9-2c55-43fd-8f40-56fecedc28fe.webp\" alt=\"linux\u5982\u4f55\u5220\u9664python2.7\" \/><\/p>\n<p><p> <strong>\u5728Linux\u7cfb\u7edf\u4e2d\u5220\u9664Python 2.7\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u3001\u624b\u52a8\u5220\u9664\u6587\u4ef6\u3001\u66f4\u65b0\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u3002<\/strong> \u5176\u4e2d\uff0c\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u662f\u6700\u4e3a\u63a8\u8350\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u80fd\u591f\u786e\u4fdd\u5220\u9664\u8fc7\u7a0b\u4e2d\u7684\u4f9d\u8d56\u5173\u7cfb\u5f97\u5230\u59a5\u5584\u5904\u7406\uff0c\u907f\u514d\u56e0\u8bef\u5220\u6587\u4ef6\u5bfc\u81f4\u7cfb\u7edf\u4e0d\u7a33\u5b9a\u3002<\/p>\n<\/p>\n<p><h3>\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u5220\u9664Python 2.7<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u5220\u9664Python 2.7\u662f\u6700\u4e3a\u63a8\u8350\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u80fd\u591f\u786e\u4fdd\u5220\u9664\u8fc7\u7a0b\u4e2d\u7684\u4f9d\u8d56\u5173\u7cfb\u5f97\u5230\u59a5\u5584\u5904\u7406\uff0c\u907f\u514d\u56e0\u8bef\u5220\u6587\u4ef6\u5bfc\u81f4\u7cfb\u7edf\u4e0d\u7a33\u5b9a\u3002\u4ee5\u4e0b\u662f\u4e0d\u540cLinux\u53d1\u884c\u7248\u4e2d\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u5220\u9664Python 2.7\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h4>\u4e00\u3001Debian\/Ubuntu \u7cfb\u7edf<\/h4>\n<\/p>\n<p><p>\u5728Debian\u548cUbuntu\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>apt-get<\/code> \u547d\u4ee4\u6765\u5220\u9664Python 2.7\u3002\u9996\u5148\uff0c\u6253\u5f00\u7ec8\u7aef\u5e76\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo apt-get purge python2.7<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u5220\u9664Python 2.7\u53ca\u5176\u76f8\u5173\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u5982\u679c\u4f60\u4ec5\u4ec5\u60f3\u5220\u9664Python 2.7\u672c\u8eab\uff0c\u800c\u4fdd\u7559\u914d\u7f6e\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo apt-get remove python2.7<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u968f\u540e\uff0c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u4ee5\u6e05\u7406\u7cfb\u7edf\u4e2d\u4e0d\u518d\u9700\u8981\u7684\u4f9d\u8d56\u5305\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo apt-get autoremove<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u4e8c\u3001Red Hat\/CentOS \u7cfb\u7edf<\/h4>\n<\/p>\n<p><p>\u5728Red Hat\u548cCentOS\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>yum<\/code> \u6216 <code>dnf<\/code> \u547d\u4ee4\u6765\u5220\u9664Python 2.7\u3002\u9996\u5148\uff0c\u6253\u5f00\u7ec8\u7aef\u5e76\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo yum remove python2<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005\u5728\u8f83\u65b0\u7684\u7cfb\u7edf\u4e2d\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo dnf remove python2<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u5220\u9664Python 2.7\u53ca\u5176\u76f8\u5173\u7684\u5305\u3002\u968f\u540e\uff0c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u4ee5\u6e05\u7406\u7cfb\u7edf\u4e2d\u4e0d\u518d\u9700\u8981\u7684\u4f9d\u8d56\u5305\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo yum autoremove<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo dnf autoremove<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u624b\u52a8\u5220\u9664Python 2.7\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u5305\u7ba1\u7406\u5de5\u5177\u65e0\u6cd5\u6ee1\u8db3\u9700\u6c42\uff0c\u53ef\u4ee5\u9009\u62e9\u624b\u52a8\u5220\u9664Python 2.7\u6587\u4ef6\u3002\u8fd9\u9700\u8981\u66f4\u9ad8\u7684\u64cd\u4f5c\u6743\u9650\u548c\u8c28\u614e\uff0c\u907f\u514d\u8bef\u5220\u7cfb\u7edf\u6587\u4ef6\u5bfc\u81f4\u4e0d\u5fc5\u8981\u7684\u9ebb\u70e6\u3002<\/p>\n<\/p>\n<p><h4>\u4e00\u3001\u5b9a\u4f4dPython 2.7\u5b89\u88c5\u8def\u5f84<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u786e\u5b9aPython 2.7\u7684\u5b89\u88c5\u8def\u5f84\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5Python 2.7\u7684\u5b89\u88c5\u8def\u5f84\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">which python2.7<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">whereis python2.7<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u5e38\uff0cPython 2.7\u4f1a\u5b89\u88c5\u5728 <code>\/usr\/bin\/python2.7<\/code> \u6216 <code>\/usr\/local\/bin\/python2.7<\/code> \u76ee\u5f55\u4e0b\u3002<\/p>\n<\/p>\n<p><h4>\u4e8c\u3001\u5220\u9664Python 2.7\u6587\u4ef6<\/h4>\n<\/p>\n<p><p>\u627e\u5230Python 2.7\u7684\u5b89\u88c5\u8def\u5f84\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>rm<\/code> \u547d\u4ee4\u5220\u9664\u76f8\u5173\u6587\u4ef6\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo rm -rf \/usr\/bin\/python2.7<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo rm -rf \/usr\/local\/bin\/python2.7<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u540c\u65f6\uff0c\u9700\u8981\u5220\u9664\u4e0ePython 2.7\u76f8\u5173\u7684\u5e93\u6587\u4ef6\u548c\u76ee\u5f55\u3002\u901a\u5e38\uff0c\u8fd9\u4e9b\u6587\u4ef6\u4f1a\u4f4d\u4e8e <code>\/usr\/lib\/python2.7<\/code> \u6216 <code>\/usr\/local\/lib\/python2.7<\/code> \u76ee\u5f55\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo rm -rf \/usr\/lib\/python2.7<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo rm -rf \/usr\/local\/lib\/python2.7<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u66f4\u65b0\u7cfb\u7edf\u73af\u5883\u53d8\u91cf<\/h3>\n<\/p>\n<p><p>\u5728\u5220\u9664Python 2.7\u540e\uff0c\u9700\u8981\u66f4\u65b0\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\uff0c\u4ee5\u786e\u4fdd\u7cfb\u7edf\u4e0d\u4f1a\u518d\u5f15\u7528\u5df2\u5220\u9664\u7684Python 2.7\u3002\u53ef\u4ee5\u901a\u8fc7\u7f16\u8f91 <code>.bashrc<\/code> \u6216 <code>.bash_profile<\/code> \u6587\u4ef6\u6765\u66f4\u65b0\u73af\u5883\u53d8\u91cf\u3002<\/p>\n<\/p>\n<p><h4>\u4e00\u3001\u7f16\u8f91\u73af\u5883\u53d8\u91cf\u6587\u4ef6<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u6253\u5f00 <code>.bashrc<\/code> \u6216 <code>.bash_profile<\/code> \u6587\u4ef6\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">nano ~\/.bashrc<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">nano ~\/.bash_profile<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u4e8c\u3001\u66f4\u65b0PATH\u53d8\u91cf<\/h4>\n<\/p>\n<p><p>\u627e\u5230\u4e0ePython 2.7\u76f8\u5173\u7684\u8def\u5f84\uff0c\u5e76\u5c06\u5176\u5220\u9664\u6216\u6ce8\u91ca\u6389\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\"># export PATH=&quot;\/usr\/bin\/python2.7:$PATH&quot;<\/p>\n<h2><strong>export PATH=&quot;\/usr\/local\/bin\/python2.7:$PATH&quot;<\/strong><\/h2>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4fdd\u5b58\u6587\u4ef6\u5e76\u9000\u51fa\u7f16\u8f91\u5668\u3002<\/p>\n<\/p>\n<p><h4>\u4e09\u3001\u5e94\u7528\u66f4\u6539<\/h4>\n<\/p>\n<p><p>\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u4ee5\u5e94\u7528\u66f4\u6539\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">source ~\/.bashrc<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">source ~\/.bash_profile<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u68c0\u67e5Python\u7248\u672c<\/h3>\n<\/p>\n<p><p>\u6700\u540e\uff0c\u786e\u4fdd\u7cfb\u7edf\u4e2d\u5df2\u6210\u529f\u5220\u9664Python 2.7\uff0c\u5e76\u68c0\u67e5\u5f53\u524dPython\u7248\u672c\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u663e\u793a\u5f53\u524d\u7cfb\u7edf\u4e2d\u5b89\u88c5\u7684Python\u7248\u672c\uff0c\u786e\u4fdd\u5df2\u6210\u529f\u5220\u9664Python 2.7\u3002<\/p>\n<\/p>\n<p><h3>\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u5220\u9664Python 2.7\u53ef\u80fd\u4f1a\u5f71\u54cd\u4f9d\u8d56\u5b83\u7684\u7cfb\u7edf\u5de5\u5177\u548c\u5e94\u7528\u7a0b\u5e8f\u3002\u56e0\u6b64\uff0c\u5728\u5220\u9664\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u6ca1\u6709\u4f9d\u8d56Python 2.7\u7684\u5173\u952e\u5e94\u7528\u7a0b\u5e8f\u6216\u811a\u672c\u3002\u5982\u679c\u9700\u8981\uff0c\u8bf7\u63d0\u524d\u5907\u4efd\u76f8\u5173\u6587\u4ef6\u548c\u914d\u7f6e\uff0c\u4ee5\u9632\u6b62\u5728\u5220\u9664\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u610f\u5916\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><p>\u6b64\u5916\uff0c\u5982\u679c\u7cfb\u7edf\u4e2d\u540c\u65f6\u5b89\u88c5\u4e86Python 3\uff0c\u53ef\u4ee5\u8003\u8651\u5c06Python 3\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u7248\u672c\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b9e\u73b0\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo update-alternatives --install \/usr\/bin\/python python \/usr\/bin\/python3 1<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u521b\u5efa\u4e00\u4e2a\u7b26\u53f7\u94fe\u63a5\uff0c\u5c06<code>\/usr\/bin\/python<\/code>\u6307\u5411<code>\/usr\/bin\/python3<\/code>\uff0c\u4f7fPython 3\u6210\u4e3a\u9ed8\u8ba4\u7248\u672c\u3002<\/p>\n<\/p>\n<p><p>\u603b\u7ed3\u6765\u8bf4\uff0c\u5220\u9664Python 2.7\u53ef\u4ee5\u901a\u8fc7\u5305\u7ba1\u7406\u5de5\u5177\u3001\u624b\u52a8\u5220\u9664\u6587\u4ef6\u548c\u66f4\u65b0\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u6765\u5b9e\u73b0\u3002\u6bcf\u79cd\u65b9\u6cd5\u5404\u6709\u4f18\u7f3a\u70b9\uff0c\u9009\u62e9\u9002\u5408\u81ea\u5df1\u7684\u65b9\u6cd5\u53ef\u4ee5\u786e\u4fdd\u5220\u9664\u8fc7\u7a0b\u987a\u5229\u8fdb\u884c\u3002\u8bf7\u52a1\u5fc5\u5728\u64cd\u4f5c\u524d\u5907\u4efd\u91cd\u8981\u6570\u636e\uff0c\u5e76\u786e\u4fdd\u7cfb\u7edf\u4e2d\u6ca1\u6709\u4f9d\u8d56Python 2.7\u7684\u5173\u952e\u5e94\u7528\u7a0b\u5e8f\uff0c\u4ee5\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u5982\u4f55\u786e\u8ba4Python 2.7\u7684\u5b89\u88c5\u4f4d\u7f6e\uff1f<\/strong><br \/>\u8981\u786e\u8ba4Python 2.7\u7684\u5b89\u88c5\u4f4d\u7f6e\uff0c\u53ef\u4ee5\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165<code>which python2.7<\/code>\u6216<code>whereis python2.7<\/code>\u547d\u4ee4\u3002\u8fd9\u4e9b\u547d\u4ee4\u4f1a\u663e\u793aPython 2.7\u7684\u5b89\u88c5\u8def\u5f84\uff0c\u5e2e\u52a9\u60a8\u4e86\u89e3\u8be5\u7a0b\u5e8f\u5728\u7cfb\u7edf\u4e2d\u7684\u5177\u4f53\u4f4d\u7f6e\u3002<\/p>\n<p><strong>\u5220\u9664Python 2.7\u540e\uff0c\u7cfb\u7edf\u4f1a\u53d7\u5230\u5f71\u54cd\u5417\uff1f<\/strong><br \/>\u5728\u67d0\u4e9bLinux\u53d1\u884c\u7248\u4e2d\uff0cPython 2.7\u53ef\u80fd\u662f\u7cfb\u7edf\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\uff0c\u5220\u9664\u540e\u53ef\u80fd\u4f1a\u5bfc\u81f4\u4f9d\u8d56\u4e8e\u6b64\u7248\u672c\u7684\u5e94\u7528\u7a0b\u5e8f\u65e0\u6cd5\u6b63\u5e38\u8fd0\u884c\u3002\u56e0\u6b64\uff0c\u5728\u5220\u9664\u4e4b\u524d\uff0c\u5efa\u8bae\u68c0\u67e5\u7cfb\u7edf\u4e2d\u662f\u5426\u6709\u4f9d\u8d56\u4e8ePython 2.7\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u786e\u4fdd\u5df2\u505a\u597d\u5907\u4efd\u3002<\/p>\n<p><strong>\u5982\u4f55\u5b89\u5168\u5730\u5378\u8f7dPython 2.7\u800c\u4e0d\u5f71\u54cd\u5176\u4ed6\u7248\u672c\u7684Python\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5982<code>apt<\/code>\uff08\u5bf9\u4e8eDebian\u548cUbuntu\uff09\u6216<code>yum<\/code>\uff08\u5bf9\u4e8eCentOS\u548cRed Hat\uff09\u6765\u5378\u8f7dPython 2.7\u3002\u4f7f\u7528\u547d\u4ee4\u5982<code>sudo apt remove python2.7<\/code>\u6216<code>sudo yum remove python2.7<\/code>\uff0c\u8fd9\u6837\u53ef\u4ee5\u786e\u4fdd\u53ea\u5378\u8f7dPython 2.7\uff0c\u800c\u4e0d\u5f71\u54cd\u7cfb\u7edf\u4e2d\u7684\u5176\u4ed6Python\u7248\u672c\u3002<\/p>\n<p><strong>\u5982\u679c\u5378\u8f7d\u540e\u9700\u8981\u91cd\u65b0\u5b89\u88c5Python 2.7\uff0c\u5e94\u8be5\u5982\u4f55\u64cd\u4f5c\uff1f<\/strong><br \/>\u82e5\u9700\u8981\u91cd\u65b0\u5b89\u88c5Python 2.7\uff0c\u53ef\u4ee5\u4f7f\u7528\u76f8\u5e94\u7684\u5305\u7ba1\u7406\u5de5\u5177\u4e0b\u8f7d\u5e76\u5b89\u88c5\u3002\u5bf9\u4e8eDebian\u548cUbuntu\u7cfb\u7edf\uff0c\u53ef\u4ee5\u4f7f\u7528<code>sudo apt install python2.7<\/code>\uff0c\u800c\u5728CentOS\u6216Red Hat\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>sudo yum install python2.7<\/code>\u3002\u786e\u4fdd\u5728\u5b89\u88c5\u524d\u68c0\u67e5\u8f6f\u4ef6\u6e90\u662f\u5426\u5305\u542bPython 2.7\u7684\u5305\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Linux\u7cfb\u7edf\u4e2d\u5220\u9664Python 2.7\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u3001\u624b\u52a8\u5220\u9664\u6587\u4ef6\u3001\u66f4\u65b0\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u3002 \u5176\u4e2d\uff0c [&hellip;]","protected":false},"author":3,"featured_media":1164632,"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\/1164630"}],"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=1164630"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1164630\/revisions"}],"predecessor-version":[{"id":1164635,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1164630\/revisions\/1164635"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1164632"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1164630"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1164630"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1164630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}