{"id":1148081,"date":"2025-01-13T16:32:51","date_gmt":"2025-01-13T08:32:51","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1148081.html"},"modified":"2025-01-13T16:32:54","modified_gmt":"2025-01-13T08:32:54","slug":"%e5%a6%82%e4%bd%95%e5%90%af%e5%8a%a8python2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1148081.html","title":{"rendered":"\u5982\u4f55\u542f\u52a8python2"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25170322\/f9bfe11f-6d11-4d69-9bdc-4b6a779bd2fb.webp\" alt=\"\u5982\u4f55\u542f\u52a8python2\" \/><\/p>\n<p><p> <strong>\u8981\u542f\u52a8Python 2\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u6216\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u6765\u5b9e\u73b0\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\uff1a\u5b89\u88c5Python 2\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u542f\u52a8\u3001\u4f7f\u7528IDE\u542f\u52a8<\/strong>\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u63cf\u8ff0\u5982\u4f55\u901a\u8fc7\u547d\u4ee4\u884c\u542f\u52a8Python 2\u3002<\/p>\n<\/p>\n<p><p>\u5b89\u88c5Python 2\uff1a<\/p>\n<p>\u9996\u5148\u9700\u8981\u4ecePython\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5e76\u5b89\u88c5Python 2\u3002\u5982\u679c\u4f60\u7684\u7cfb\u7edf\u4e2d\u5df2\u7ecf\u5b89\u88c5\u4e86Python 2\uff0c\u53ef\u4ee5\u8df3\u8fc7\u8fd9\u4e00\u6b65\u3002\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u8bf7\u786e\u4fdd\u9009\u62e9\u4e86\u5c06Python\u6dfb\u52a0\u5230\u7cfb\u7edfPATH\u73af\u5883\u53d8\u91cf\u7684\u9009\u9879\uff0c\u8fd9\u6837\u53ef\u4ee5\u65b9\u4fbf\u5730\u901a\u8fc7\u547d\u4ee4\u884c\u542f\u52a8Python\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b89\u88c5Python 2<\/h3>\n<\/p>\n<p><p><strong>\u4e0b\u8f7d\u548c\u5b89\u88c5Python 2\uff1a<\/strong><\/p>\n<\/p>\n<ol>\n<li>\u8bbf\u95eePython\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>\u5728\u4e0b\u8f7d\u9875\u9762\u4e2d\u9009\u62e9Python 2\u7684\u7248\u672c\uff0c\u4f8b\u5982Python 2.7.18\u3002<\/li>\n<li>\u4e0b\u8f7d\u9002\u7528\u4e8e\u4f60\u7684\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u5305\uff08Windows\u3001macOS\u3001Linux\u7b49\uff09\u3002<\/li>\n<li>\u8fd0\u884c\u5b89\u88c5\u5305\uff0c\u5e76\u6309\u7167\u63d0\u793a\u5b8c\u6210\u5b89\u88c5\u8fc7\u7a0b\u3002\u8bf7\u52a1\u5fc5\u9009\u62e9\u5c06Python\u6dfb\u52a0\u5230\u7cfb\u7edfPATH\u73af\u5883\u53d8\u91cf\u7684\u9009\u9879\u3002<\/li>\n<\/ol>\n<p><p><strong>\u9a8c\u8bc1\u5b89\u88c5\uff1a<\/strong><\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u9a8c\u8bc1Python 2\u662f\u5426\u5b89\u88c5\u6210\u529f\u3002\u5728\u547d\u4ee4\u884c\u7a97\u53e3\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-sh\">python2 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c\u663e\u793a\u4e86Python 2\u7684\u7248\u672c\u4fe1\u606f\uff0c\u5219\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h3>\n<\/p>\n<p><p><strong>\u5728Windows\u7cfb\u7edf\u4e2d\uff1a<\/strong><\/p>\n<\/p>\n<ol>\n<li>\u53f3\u952e\u5355\u51fb\u201c\u8ba1\u7b97\u673a\u201d\u6216\u201c\u6b64\u7535\u8111\u201d\uff0c\u9009\u62e9\u201c\u5c5e\u6027\u201d\u3002<\/li>\n<li>\u5355\u51fb\u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d\uff0c\u7136\u540e\u5355\u51fb\u201c\u73af\u5883\u53d8\u91cf\u201d\u3002<\/li>\n<li>\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u90e8\u5206\uff0c\u627e\u5230\u540d\u4e3a\u201cPath\u201d\u7684\u53d8\u91cf\uff0c\u5e76\u9009\u62e9\u201c\u7f16\u8f91\u201d\u3002<\/li>\n<li>\u5728\u53d8\u91cf\u503c\u4e2d\u6dfb\u52a0Python 2\u7684\u5b89\u88c5\u8def\u5f84\uff0c\u4f8b\u5982<code>C:\\Python27<\/code>\uff0c\u5e76\u786e\u4fdd\u4f7f\u7528\u5206\u53f7\u5206\u9694\u5176\u4ed6\u8def\u5f84\u3002<\/li>\n<li>\u5355\u51fb\u201c\u786e\u5b9a\u201d\u4fdd\u5b58\u8bbe\u7f6e\u3002<\/li>\n<\/ol>\n<p><p><strong>\u5728macOS\u548cLinux\u7cfb\u7edf\u4e2d\uff1a<\/strong><\/p>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u7ec8\u7aef\u7a97\u53e3\u3002<\/li>\n<li>\u7f16\u8f91\u4e3b\u76ee\u5f55\u4e0b\u7684<code>.bashrc<\/code>\u6216<code>.bash_profile<\/code>\u6587\u4ef6\uff0c\u6dfb\u52a0\u4ee5\u4e0b\u884c\uff1a<\/li>\n<\/ol>\n<p><pre><code class=\"language-sh\">export PATH=&quot;\/usr\/local\/bin\/python2:$PATH&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li>\u4fdd\u5b58\u6587\u4ef6\u5e76\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u4ee5\u4f7f\u66f4\u6539\u751f\u6548\uff1a<\/li>\n<\/ol>\n<p><pre><code class=\"language-sh\">source ~\/.bashrc<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216<\/p>\n<\/p>\n<p><pre><code class=\"language-sh\">source ~\/.bash_profile<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u542f\u52a8Python 2<\/h3>\n<\/p>\n<p><p><strong>\u6253\u5f00\u547d\u4ee4\u884c\u7a97\u53e3\uff1a<\/strong><\/p>\n<p>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff08cmd\uff09\u6216PowerShell\u3002\u5728macOS\u548cLinux\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u6253\u5f00\u7ec8\u7aef\u7a97\u53e3\u3002<\/p>\n<\/p>\n<p><p><strong>\u542f\u52a8Python 2\u89e3\u91ca\u5668\uff1a<\/strong><\/p>\n<p>\u5728\u547d\u4ee4\u884c\u7a97\u53e3\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8Python 2\u89e3\u91ca\u5668\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-sh\">python2<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u542f\u52a8Python 2\u89e3\u91ca\u5668\uff0c\u5e76\u663e\u793aPython\u63d0\u793a\u7b26<code>&gt;&gt;&gt;<\/code>\uff0c\u8868\u793a\u53ef\u4ee5\u8f93\u5165Python\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><p><strong>\u8fd0\u884cPython\u811a\u672c\uff1a<\/strong><\/p>\n<p>\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u8fd0\u884cPython 2\u811a\u672c\u3002\u5047\u8bbe\u6709\u4e00\u4e2a\u540d\u4e3a<code>script.py<\/code>\u7684Python 2\u811a\u672c\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8fd0\u884c\u5b83\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-sh\">python2 script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u6267\u884c\u811a\u672c\u6587\u4ef6\u4e2d\u7684Python\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528IDE\u542f\u52a8Python 2<\/h3>\n<\/p>\n<p><p><strong>\u9009\u62e9\u4e00\u4e2a\u652f\u6301Python 2\u7684IDE\uff1a<\/strong><\/p>\n<p>\u6709\u8bb8\u591a\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u652f\u6301Python 2\uff0c\u5305\u62ecPyCharm\u3001Eclipse\uff08\u5e26\u6709PyDev\u63d2\u4ef6\uff09\u3001Visual Studio Code\uff08\u5e26\u6709Python\u6269\u5c55\uff09\u7b49\u3002<\/p>\n<\/p>\n<p><p><strong>\u914d\u7f6eIDE\u4f7f\u7528Python 2\u89e3\u91ca\u5668\uff1a<\/strong><\/p>\n<\/p>\n<ol>\n<li>\u4ee5PyCharm\u4e3a\u4f8b\uff0c\u6253\u5f00PyCharm\u5e76\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u9879\u76ee\u3002<\/li>\n<li>\u8fdb\u5165\u9879\u76ee\u7684\u8bbe\u7f6e\u9875\u9762\uff0c\u9009\u62e9\u201cProject Interpreter\u201d\u3002<\/li>\n<li>\u5355\u51fb\u201cAdd Interpreter\u201d\u6309\u94ae\uff0c\u9009\u62e9\u201cExisting environment\u201d\u3002<\/li>\n<li>\u6d4f\u89c8\u5e76\u9009\u62e9Python 2\u7684\u89e3\u91ca\u5668\u8def\u5f84\uff0c\u4f8b\u5982<code>C:\\Python27\\python.exe<\/code>\u3002<\/li>\n<li>\u4fdd\u5b58\u8bbe\u7f6e\uff0cPyCharm\u5c06\u4f7f\u7528Python 2\u4f5c\u4e3a\u9879\u76ee\u7684\u89e3\u91ca\u5668\u3002<\/li>\n<\/ol>\n<p><p><strong>\u8fd0\u884cPython 2\u811a\u672c\uff1a<\/strong><\/p>\n<p>\u5728IDE\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u6587\u4ef6\uff0c\u5e76\u7f16\u5199Python 2\u4ee3\u7801\u3002\u5355\u51fb\u8fd0\u884c\u6309\u94ae\u6216\u4f7f\u7528\u5feb\u6377\u952e\u8fd0\u884c\u811a\u672c\u3002IDE\u5c06\u4f7f\u7528\u914d\u7f6e\u597d\u7684Python 2\u89e3\u91ca\u5668\u6267\u884c\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p><strong>1. Python 2\u672a\u5b89\u88c5\u5230\u7cfb\u7edfPATH\u73af\u5883\u53d8\u91cf\u4e2d\uff1a<\/strong><\/p>\n<p>\u5982\u679c\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>python2<\/code>\u547d\u4ee4\u65f6\u51fa\u73b0\u201c\u672a\u627e\u5230\u547d\u4ee4\u201d\u7684\u9519\u8bef\uff0c\u53ef\u80fd\u662fPython 2\u672a\u5b89\u88c5\u5230\u7cfb\u7edfPATH\u73af\u5883\u53d8\u91cf\u4e2d\u3002\u8bf7\u786e\u4fdd\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9009\u62e9\u4e86\u5c06Python\u6dfb\u52a0\u5230\u7cfb\u7edfPATH\u7684\u9009\u9879\uff0c\u6216\u8005\u624b\u52a8\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3002<\/p>\n<\/p>\n<p><p><strong>2. \u591a\u7248\u672cPython\u5171\u5b58\u95ee\u9898\uff1a<\/strong><\/p>\n<p>\u5728\u67d0\u4e9b\u7cfb\u7edf\u4e2d\u53ef\u80fd\u540c\u65f6\u5b89\u88c5\u4e86Python 2\u548cPython 3\uff0c\u8fd9\u65f6\u9700\u8981\u660e\u786e\u533a\u5206\u4f7f\u7528\u7684Python\u7248\u672c\u3002\u5728\u547d\u4ee4\u884c\u4e2d\uff0c\u901a\u5e38\u4f7f\u7528<code>python2<\/code>\u6765\u542f\u52a8Python 2\uff0c\u4f7f\u7528<code>python3<\/code>\u6765\u542f\u52a8Python 3\u3002\u5982\u679c\u8fd9\u4e24\u4e2a\u547d\u4ee4\u90fd\u4e0d\u8d77\u4f5c\u7528\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528\u7edd\u5bf9\u8def\u5f84\u6765\u542f\u52a8Python\u89e3\u91ca\u5668\uff0c\u4f8b\u5982<code>\/usr\/bin\/python2<\/code>\u6216<code>C:\\Python27\\python.exe<\/code>\u3002<\/p>\n<\/p>\n<p><p><strong>3. Python\u5e93\u517c\u5bb9\u6027\u95ee\u9898\uff1a<\/strong><\/p>\n<p>\u7531\u4e8ePython 2\u548cPython 3\u4e4b\u95f4\u5b58\u5728\u8bb8\u591a\u4e0d\u517c\u5bb9\u7684\u66f4\u6539\uff0c\u56e0\u6b64\u67d0\u4e9b\u5e93\u53ef\u80fd\u4e0d\u652f\u6301Python 2\u3002\u5728\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u65f6\uff0c\u8bf7\u786e\u4fdd\u8be5\u5e93\u652f\u6301Python 2\u3002\u5982\u679c\u9047\u5230\u517c\u5bb9\u6027\u95ee\u9898\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u5bfb\u627e\u66ff\u4ee3\u5e93\u6216\u8005\u5347\u7ea7\u5230Python 3\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4\uff0c\u53ef\u4ee5\u6210\u529f\u542f\u52a8Python 2\u5e76\u8fd0\u884cPython 2\u811a\u672c\u3002\u5c3d\u7ba1Python 2\u5df2\u4e8e2020\u5e74\u505c\u6b62\u652f\u6301\uff0c\u4f46\u5728\u67d0\u4e9b\u65e7\u9879\u76ee\u6216\u7279\u5b9a\u73af\u5883\u4e2d\uff0c\u4ecd\u53ef\u80fd\u9700\u8981\u4f7f\u7528Python 2\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u80fd\u5e2e\u52a9\u4f60\u987a\u5229\u542f\u52a8\u5e76\u4f7f\u7528Python 2\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u542f\u52a8Python 2\uff1f<\/strong><br \/>\u5728Windows\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u63d0\u793a\u7b26\u542f\u52a8Python 2\u3002\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\uff0c\u8f93\u5165<code>python<\/code>\u6216<code>python2<\/code>\uff0c\u5982\u679c\u5b89\u88c5\u8def\u5f84\u5df2\u6dfb\u52a0\u5230\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u4e2d\uff0cPython 2\u7684\u4ea4\u4e92\u5f0f\u547d\u4ee4\u884c\u5c06\u4f1a\u542f\u52a8\u3002\u5728Linux\u6216macOS\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u6253\u5f00\u7ec8\u7aef\uff0c\u8f93\u5165\u540c\u6837\u7684\u547d\u4ee4\u6765\u542f\u52a8Python 2\u3002\u5982\u679c\u672a\u5b89\u88c5Python 2\uff0c\u8bf7\u786e\u4fdd\u5148\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<p><strong>\u5982\u679c\u6211\u5728\u542f\u52a8Python 2\u65f6\u9047\u5230\u9519\u8bef\uff0c\u8be5\u5982\u4f55\u89e3\u51b3\uff1f<\/strong><br \/>\u5e38\u89c1\u7684\u9519\u8bef\u5305\u62ec\u627e\u4e0d\u5230\u547d\u4ee4\u6216\u7248\u672c\u4e0d\u517c\u5bb9\u3002\u9996\u5148\uff0c\u786e\u4fddPython 2\u5df2\u6b63\u786e\u5b89\u88c5\uff0c\u5e76\u5728\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u4e2d\u8bbe\u7f6e\u4e86\u5176\u8def\u5f84\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>python --version<\/code>\u6765\u786e\u8ba4\u5b89\u88c5\u7684\u7248\u672c\u3002\u5982\u679c\u4ecd\u7136\u9047\u5230\u95ee\u9898\uff0c\u68c0\u67e5\u662f\u5426\u5b58\u5728\u591a\u4e2a\u7248\u672c\u7684Python\u5e76\u786e\u4fdd\u4f7f\u7528\u7684\u662f\u6b63\u786e\u7684\u547d\u4ee4\u3002<\/p>\n<p><strong>\u5728Python 2\u4e2d\u5982\u4f55\u8fd0\u884c\u4e00\u4e2a\u811a\u672c\uff1f<\/strong><br \/>\u8fd0\u884cPython 2\u811a\u672c\u7684\u65b9\u6cd5\u975e\u5e38\u7b80\u5355\u3002\u5728\u547d\u4ee4\u884c\u4e2d\uff0c\u5bfc\u822a\u5230\u811a\u672c\u6240\u5728\u7684\u76ee\u5f55\uff0c\u7136\u540e\u8f93\u5165<code>python script_name.py<\/code>\uff0c\u5176\u4e2d<code>script_name.py<\/code>\u662f\u4f60\u7684Python\u811a\u672c\u6587\u4ef6\u540d\u3002\u5982\u679c\u811a\u672c\u4e2d\u5305\u542b\u4efb\u4f55\u9519\u8bef\uff0c\u7cfb\u7edf\u4f1a\u7ed9\u51fa\u76f8\u5e94\u7684\u9519\u8bef\u63d0\u793a\uff0c\u5e2e\u52a9\u4f60\u8fdb\u884c\u8c03\u8bd5\u3002\u786e\u4fdd\u5728\u8fd0\u884c\u4e4b\u524d\u5df2\u7ecf\u4fdd\u5b58\u4e86\u6587\u4ef6\u7684\u4fee\u6539\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u542f\u52a8Python 2\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u6216\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u6765\u5b9e\u73b0\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\uff1a\u5b89\u88c5Python 2\u3001\u914d\u7f6e [&hellip;]","protected":false},"author":3,"featured_media":1148088,"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\/1148081"}],"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=1148081"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1148081\/revisions"}],"predecessor-version":[{"id":1148092,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1148081\/revisions\/1148092"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1148088"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1148081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1148081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1148081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}