{"id":971117,"date":"2024-12-27T05:32:05","date_gmt":"2024-12-26T21:32:05","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/971117.html"},"modified":"2024-12-27T05:32:07","modified_gmt":"2024-12-26T21:32:07","slug":"%e5%a6%82%e4%bd%95%e8%ae%be%e7%bd%aepython%e8%a7%a3%e9%87%8a%e5%99%a8","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/971117.html","title":{"rendered":"\u5982\u4f55\u8bbe\u7f6epython\u89e3\u91ca\u5668"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24194121\/8b96d62f-ad61-4aa5-a924-49a73befe0c8.webp\" alt=\"\u5982\u4f55\u8bbe\u7f6epython\u89e3\u91ca\u5668\" \/><\/p>\n<p><p> <strong>\u8bbe\u7f6ePython\u89e3\u91ca\u5668\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u914d\u7f6e\u3001\u547d\u4ee4\u884c\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u4ee5\u53ca\u5728\u9879\u76ee\u4e2d\u4f7f\u7528\u865a\u62df\u73af\u5883\u7b49\u65b9\u5f0f\u5b8c\u6210\u3002\u914d\u7f6eIDE\u53ef\u4ee5\u63d0\u4f9b\u66f4\u597d\u7684\u5f00\u53d1\u4f53\u9a8c\u3001\u547d\u4ee4\u884c\u8bbe\u7f6e\u80fd\u786e\u4fdd\u7cfb\u7edf\u5168\u5c40\u53ef\u8bbf\u95eePython\u3001\u865a\u62df\u73af\u5883\u5219\u6709\u52a9\u4e8e\u7ba1\u7406\u9879\u76ee\u7684\u4f9d\u8d56\u548c\u7248\u672c\u3002<\/strong>\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u914d\u7f6eIDE\u4e2d\u7684Python\u89e3\u91ca\u5668<\/p>\n<\/p>\n<p><p>\u5728\u914d\u7f6ePython\u89e3\u91ca\u5668\u65f6\uff0c\u9009\u62e9\u5408\u9002\u7684\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002\u5e38\u7528\u7684IDE\u6709PyCharm\u3001Visual Studio Code\u3001Eclipse\u7b49\u3002\u4ee5PyCharm\u4e3a\u4f8b\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>PyCharm<\/strong>\uff1a\n<ul>\n<li>\u6253\u5f00PyCharm\u540e\uff0c\u70b9\u51fb\u201cFile\u201d\u83dc\u5355\uff0c\u7136\u540e\u9009\u62e9\u201cSettings\u201d\u3002<\/li>\n<li>\u5728\u8bbe\u7f6e\u7a97\u53e3\u4e2d\uff0c\u9009\u62e9\u201cProject: [Your_Project_Name]\u201d\u4e0b\u7684\u201cPython Interpreter\u201d\u3002<\/li>\n<li>\u70b9\u51fb\u53f3\u4fa7\u7684\u9f7f\u8f6e\u56fe\u6807\uff0c\u9009\u62e9\u201cAdd&#8230;\u201d\uff0c\u7136\u540e\u9009\u62e9\u76f8\u5e94\u7684Python\u7248\u672c\u3002<\/li>\n<li>PyCharm\u4f1a\u81ea\u52a8\u68c0\u6d4b\u5df2\u5b89\u88c5\u7684Python\u7248\u672c\uff0c\u9009\u62e9\u4e00\u4e2a\u9002\u5408\u7684\u7248\u672c\u5e76\u5e94\u7528\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u5728PyCharm\u4e2d\u8bbe\u7f6ePython\u89e3\u91ca\u5668\u540e\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5229\u7528IDE\u63d0\u4f9b\u7684\u8bb8\u591a\u4fbf\u5229\u529f\u80fd\uff0c\u5982\u4ee3\u7801\u8865\u5168\u3001\u9519\u8bef\u68c0\u6d4b\u3001\u8c03\u8bd5\u7b49\uff0c\u6781\u5927\u5730\u63d0\u5347\u5f00\u53d1\u6548\u7387\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u901a\u8fc7\u547d\u4ee4\u884c\u8bbe\u7f6ePython\u89e3\u91ca\u5668<\/p>\n<\/p>\n<p><p>\u547d\u4ee4\u884c\u8bbe\u7f6ePython\u89e3\u91ca\u5668\u4e3b\u8981\u662f\u901a\u8fc7\u914d\u7f6e\u73af\u5883\u53d8\u91cf\uff0c\u4f7f\u7cfb\u7edf\u53ef\u4ee5\u8bc6\u522bPython\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Windows<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u53f3\u952e\u70b9\u51fb\u201c\u6211\u7684\u7535\u8111\u201d\u6216\u201c\u6b64\u7535\u8111\u201d\uff0c\u9009\u62e9\u201c\u5c5e\u6027\u201d\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d\uff0c\u7136\u540e\u9009\u62e9\u201c\u73af\u5883\u53d8\u91cf\u201d\u3002<\/li>\n<li>\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u4e2d\uff0c\u627e\u5230\u53d8\u91cf\u540d\u4e3a\u201cPath\u201d\u7684\u53d8\u91cf\uff0c\u70b9\u51fb\u201c\u7f16\u8f91\u201d\u3002<\/li>\n<li>\u5728\u201c\u7f16\u8f91\u73af\u5883\u53d8\u91cf\u201d\u7a97\u53e3\u4e2d\uff0c\u70b9\u51fb\u201c\u65b0\u5efa\u201d\uff0c\u5e76\u8f93\u5165Python\u89e3\u91ca\u5668\u7684\u5b89\u88c5\u8def\u5f84\uff08\u4f8b\u5982\uff1aC:\\Python39\\\uff09\u3002<\/li>\n<li>\u786e\u8ba4\u5e76\u4fdd\u5b58\u8bbe\u7f6e\uff0c\u4e4b\u540e\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>python<\/code>\u5373\u53ef\u542f\u52a8\u89e3\u91ca\u5668\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>macOS\u548cLinux<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u6253\u5f00\u7ec8\u7aef\u3002<\/li>\n<li>\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u6253\u5f00<del>\/.bash_profile\uff08macOS\uff09\u6216<\/del>\/.bashrc\uff08Linux\uff09\u6587\u4ef6\u3002<\/li>\n<li>\u6dfb\u52a0\u4ee5\u4e0b\u4e00\u884c\uff1a<code>export PATH=&quot;\/usr\/local\/bin\/python3:$PATH&quot;<\/code>\uff0c\u8fd9\u91cc\u7684\u8def\u5f84\u5e94\u6839\u636e\u5b9e\u9645\u5b89\u88c5\u8def\u5f84\u8c03\u6574\u3002<\/li>\n<li>\u4fdd\u5b58\u6587\u4ef6\u5e76\u6267\u884c<code>source ~\/.bash_profile<\/code>\u6216<code>source ~\/.bashrc<\/code>\u4f7f\u66f4\u6539\u751f\u6548\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u547d\u4ee4\u884c\u8bbe\u7f6ePython\u89e3\u91ca\u5668\uff0c\u786e\u4fdd\u7cfb\u7edf\u4efb\u4f55\u4f4d\u7f6e\u90fd\u80fd\u8c03\u7528Python\u547d\u4ee4\uff0c\u9002\u5408\u9700\u8981\u7ecf\u5e38\u5728\u4e0d\u540c\u76ee\u5f55\u4e0b\u8fd0\u884cPython\u811a\u672c\u7684\u5f00\u53d1\u8005\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528\u865a\u62df\u73af\u5883<\/p>\n<\/p>\n<p><p>\u865a\u62df\u73af\u5883\u662f\u4e00\u4e2a\u72ec\u7acb\u7684Python\u73af\u5883\uff0c\u80fd\u591f\u6709\u6548\u5730\u9694\u79bb\u9879\u76ee\u4e4b\u95f4\u7684\u4f9d\u8d56\u548c\u7248\u672c\uff0c\u907f\u514d\u51b2\u7a81\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efa\u865a\u62df\u73af\u5883<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u521b\u5efa\u865a\u62df\u73af\u5883\uff1a<code>python -m venv myenv<\/code>\uff0c\u5176\u4e2d<code>myenv<\/code>\u662f\u865a\u62df\u73af\u5883\u7684\u540d\u79f0\u3002<\/li>\n<li>\u8fdb\u5165\u9879\u76ee\u76ee\u5f55\uff0c\u6267\u884c\u8be5\u547d\u4ee4\u540e\uff0c\u4f1a\u5728\u9879\u76ee\u76ee\u5f55\u4e0b\u751f\u6210\u4e00\u4e2a\u540d\u4e3a<code>myenv<\/code>\u7684\u6587\u4ef6\u5939\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u6fc0\u6d3b\u865a\u62df\u73af\u5883<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>Windows\u7cfb\u7edf\uff1a\u5728\u547d\u4ee4\u884c\u4e2d\u6267\u884c<code>myenv\\Scripts\\activate<\/code>\u3002<\/li>\n<li>macOS\u548cLinux\u7cfb\u7edf\uff1a\u5728\u7ec8\u7aef\u4e2d\u6267\u884c<code>source myenv\/bin\/activate<\/code>\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528\u865a\u62df\u73af\u5883<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u6fc0\u6d3b\u540e\uff0c\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\u63d0\u793a\u7b26\u4f1a\u663e\u793a\u865a\u62df\u73af\u5883\u540d\u79f0\uff0c\u8868\u660e\u5f53\u524d\u5728\u865a\u62df\u73af\u5883\u4e2d\u3002<\/li>\n<li>\u5728\u865a\u62df\u73af\u5883\u4e2d\u5b89\u88c5\u7684\u4efb\u4f55\u5305\u90fd\u4e0d\u4f1a\u5f71\u54cd\u5168\u5c40Python\u73af\u5883\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u9000\u51fa\u865a\u62df\u73af\u5883<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u6267\u884c<code>deactivate<\/code>\u547d\u4ee4\u5373\u53ef\u9000\u51fa\u5f53\u524d\u865a\u62df\u73af\u5883\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u4f7f\u7528\u865a\u62df\u73af\u5883\u662f\u63a8\u8350\u7684\u6700\u4f73\u5b9e\u8df5\uff0c\u5c24\u5176\u662f\u5728\u5904\u7406\u591a\u4e2a\u9879\u76ee\u65f6\uff0c\u53ef\u4ee5\u786e\u4fdd\u6bcf\u4e2a\u9879\u76ee\u4f7f\u7528\u6b63\u786e\u7684\u4f9d\u8d56\u7248\u672c\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u89e3\u91ca\u5668\u7248\u672c\u7ba1\u7406\u5de5\u5177<\/p>\n<\/p>\n<p><p>\u6709\u65f6\u5019\uff0c\u5f00\u53d1\u8005\u9700\u8981\u5728\u4e0d\u540c\u7684Python\u7248\u672c\u4e4b\u95f4\u5207\u6362\u3002\u7248\u672c\u7ba1\u7406\u5de5\u5177\u5982<code>pyenv<\/code>\u53ef\u4ee5\u5e2e\u52a9\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5pyenv<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u5728macOS\u6216Linux\u4e0a\uff0c\u53ef\u4ee5\u4f7f\u7528<code>curl<\/code>\u547d\u4ee4\u5b89\u88c5\uff1a<code>curl https:\/\/pyenv.run | bash<\/code>\u3002<\/li>\n<li>\u5728Windows\u4e0a\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pyenv-win<\/code>\u9879\u76ee\uff0c\u6309\u7167\u5176\u6587\u6863\u8bf4\u660e\u8fdb\u884c\u5b89\u88c5\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528pyenv<\/strong>\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u5b89\u88c5\u65b0\u7684Python\u7248\u672c\uff1a<code>pyenv install 3.9.6<\/code>\u3002<\/li>\n<li>\u5217\u51fa\u6240\u6709\u53ef\u7528\u7248\u672c\uff1a<code>pyenv versions<\/code>\u3002<\/li>\n<li>\u8bbe\u7f6e\u5168\u5c40\u9ed8\u8ba4\u7248\u672c\uff1a<code>pyenv global 3.9.6<\/code>\u3002<\/li>\n<li>\u8bbe\u7f6e\u5f53\u524d\u76ee\u5f55\u4f7f\u7528\u7684Python\u7248\u672c\uff1a<code>pyenv local 3.8.10<\/code>\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7<code>pyenv<\/code>\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5728\u591a\u7248\u672c\u95f4\u8f7b\u677e\u5207\u6362\uff0c\u4ee5\u9002\u5e94\u4e0d\u540c\u9879\u76ee\u7684\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><p>\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u8bbe\u7f6ePython\u89e3\u91ca\u5668\u662fPython\u5f00\u53d1\u7684\u57fa\u7840\u6b65\u9aa4\uff0c\u901a\u8fc7\u914d\u7f6eIDE\u3001\u547d\u4ee4\u884c\u8bbe\u7f6e\u3001\u865a\u62df\u73af\u5883\u7ba1\u7406\u3001\u4ee5\u53ca\u7248\u672c\u7ba1\u7406\u5de5\u5177\uff0c\u53ef\u4ee5\u5728\u4e0d\u540c\u5f00\u53d1\u573a\u666f\u4e2d\u7075\u6d3b\u5e94\u5bf9\u3002\u638c\u63e1\u8fd9\u4e9b\u6280\u5de7\u4e0d\u4ec5\u80fd\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\uff0c\u8fd8\u80fd\u907f\u514d\u5e38\u89c1\u7684\u73af\u5883\u914d\u7f6e\u95ee\u9898\uff0c\u786e\u4fdd\u9879\u76ee\u7684\u987a\u5229\u8fdb\u884c\u3002\u65e0\u8bba\u662f\u521d\u5b66\u8005\u8fd8\u662f\u7ecf\u9a8c\u4e30\u5bcc\u7684\u5f00\u53d1\u8005\uff0c\u7406\u89e3\u5e76\u719f\u7ec3\u8fd0\u7528\u8fd9\u4e9b\u5de5\u5177\u548c\u65b9\u6cd5\u90fd\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u9009\u62e9\u5408\u9002\u7684Python\u89e3\u91ca\u5668\u7248\u672c\uff1f<\/strong><br \/>\u9009\u62e9Python\u89e3\u91ca\u5668\u7684\u7248\u672c\u65f6\uff0c\u8003\u8651\u9879\u76ee\u9700\u6c42\u548c\u517c\u5bb9\u6027\u662f\u81f3\u5173\u91cd\u8981\u7684\u3002\u8bb8\u591a\u5f00\u53d1\u8005\u503e\u5411\u4e8e\u4f7f\u7528\u6700\u65b0\u7684\u7a33\u5b9a\u7248\u672c\uff0c\u56e0\u4e3a\u5b83\u4eec\u901a\u5e38\u5305\u542b\u5b89\u5168\u4fee\u590d\u548c\u65b0\u7279\u6027\u3002\u7136\u800c\uff0c\u67d0\u4e9b\u5e93\u53ef\u80fd\u4e0d\u652f\u6301\u6700\u65b0\u7248\u672c\uff0c\u56e0\u6b64\u5728\u9009\u62e9\u65f6\u5e94\u786e\u8ba4\u6240\u4f9d\u8d56\u5e93\u7684\u517c\u5bb9\u6027\u3002\u6b64\u5916\uff0c\u4f7f\u7528\u865a\u62df\u73af\u5883\u53ef\u4ee5\u8ba9\u60a8\u5728\u540c\u4e00\u7cfb\u7edf\u4e0a\u540c\u65f6\u5b89\u88c5\u591a\u4e2a\u7248\u672c\uff0c\u4fbf\u4e8e\u6d4b\u8bd5\u548c\u5f00\u53d1\u3002<\/p>\n<p><strong>\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u5982\u4f55\u5b89\u88c5Python\u89e3\u91ca\u5668\uff1f<\/strong><br \/>\u5728Windows\u4e0a\uff0c\u60a8\u53ef\u4ee5\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u9002\u5408\u60a8\u7cfb\u7edf\u7684\u5b89\u88c5\u5305\uff0c\u5b89\u88c5\u65f6\u8bb0\u5f97\u52fe\u9009\u201cAdd Python to PATH\u201d\u9009\u9879\u3002\u5bf9\u4e8emacOS\u7528\u6237\uff0c\u4f7f\u7528Homebrew\u547d\u4ee4\u5b89\u88c5\u4f1a\u66f4\u4e3a\u7b80\u4fbf\uff0c\u53ea\u9700\u8fd0\u884c<code>brew install python<\/code>\u5373\u53ef\u3002Linux\u7528\u6237\u901a\u5e38\u53ef\u4ee5\u901a\u8fc7\u5305\u7ba1\u7406\u5668\uff0c\u4f8b\u5982<code>apt<\/code>\u6216<code>yum<\/code>\uff0c\u6765\u5b89\u88c5Python\u3002\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u8fc7\u7a0b\u7565\u6709\u4e0d\u540c\uff0c\u5efa\u8bae\u53c2\u7167\u5b98\u65b9\u6587\u6863\u83b7\u53d6\u8be6\u7ec6\u6b65\u9aa4\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728\u9879\u76ee\u4e2d\u914d\u7f6ePython\u89e3\u91ca\u5668\uff1f<\/strong><br \/>\u5728\u4f7f\u7528IDE\uff08\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff09\u65f6\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u9879\u76ee\u7684\u89e3\u91ca\u5668\u914d\u7f6e\u6765\u6307\u5b9a\u4f7f\u7528\u7684Python\u7248\u672c\u3002\u4f8b\u5982\uff0c\u5728PyCharm\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u201cFile\u201d -&gt; \u201cSettings\u201d -&gt; \u201cProject: YourProjectName\u201d -&gt; \u201cPython Interpreter\u201d\u6765\u9009\u62e9\u6216\u6dfb\u52a0\u65b0\u7684\u89e3\u91ca\u5668\u3002\u5982\u679c\u60a8\u4f7f\u7528VS Code\uff0c\u53ef\u4ee5\u901a\u8fc7<code>.vscode\/settings.json<\/code>\u6587\u4ef6\u4e2d\u7684<code>python.pythonPath<\/code>\u5b57\u6bb5\u6765\u8bbe\u7f6e\u89e3\u91ca\u5668\u8def\u5f84\u3002\u786e\u4fdd\u60a8\u5df2\u6b63\u786e\u5b89\u88c5\u6240\u9700\u7684\u5e93\u548c\u4f9d\u8d56\uff0c\u4ee5\u4fbf\u4ee3\u7801\u80fd\u591f\u987a\u5229\u8fd0\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8bbe\u7f6ePython\u89e3\u91ca\u5668\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u914d\u7f6e\u3001\u547d\u4ee4\u884c\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u4ee5\u53ca\u5728\u9879\u76ee\u4e2d\u4f7f\u7528\u865a\u62df\u73af\u5883\u7b49\u65b9 [&hellip;]","protected":false},"author":3,"featured_media":971127,"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\/971117"}],"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=971117"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/971117\/revisions"}],"predecessor-version":[{"id":971128,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/971117\/revisions\/971128"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/971127"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=971117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=971117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=971117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}