{"id":994014,"date":"2024-12-27T08:51:24","date_gmt":"2024-12-27T00:51:24","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/994014.html"},"modified":"2024-12-27T08:51:28","modified_gmt":"2024-12-27T00:51:28","slug":"mac%e5%a6%82%e4%bd%95%e6%89%a7%e8%a1%8cpython%e7%a8%8b%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/994014.html","title":{"rendered":"mac\u5982\u4f55\u6267\u884cpython\u7a0b\u5e8f"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25071159\/ec2fa28f-6320-45d9-89d8-21898d0767fb.webp\" alt=\"mac\u5982\u4f55\u6267\u884cpython\u7a0b\u5e8f\" \/><\/p>\n<p><p> <strong>\u5728Mac\u4e0a\u6267\u884cPython\u7a0b\u5e8f\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u4f7f\u7528\u7ec8\u7aef\u3001\u6587\u672c\u7f16\u8f91\u5668\u548c\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u7b49\u3002\u6700\u5e38\u89c1\u7684\u65b9\u5f0f\u5305\u62ec\uff1a\u4f7f\u7528\u7ec8\u7aef\u547d\u4ee4\u884c\u3001\u901a\u8fc7IDE\u5982PyCharm\u6216VSCode\u3001\u4ee5\u53ca\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u5982Sublime Text\u7b49\u3002\u4ee5\u4e0b\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u7ec8\u7aef\u6765\u6267\u884cPython\u7a0b\u5e8f\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u786e\u4fdd\u4f60\u7684Mac\u4e0a\u5df2\u5b89\u88c5Python\u3002\u5927\u591a\u6570Mac\u7535\u8111\u9ed8\u8ba4\u5b89\u88c5\u4e86Python 2.x\u7248\u672c\uff0c\u4f46\u5bf9\u4e8e\u73b0\u4ee3\u5f00\u53d1\uff0c\u5efa\u8bae\u5b89\u88c5Python 3.x\u7248\u672c\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u68c0\u67e5\u5e76\u5b89\u88c5Python 3\uff1a<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u68c0\u67e5\u5e76\u5b89\u88c5Python<\/h3>\n<\/p>\n<ol>\n<li>\n<p><strong>\u68c0\u67e5Python\u7248\u672c<\/strong><\/p>\n<p>\u6253\u5f00\u201c\u7ec8\u7aef\u201d\u5e94\u7528\u7a0b\u5e8f\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u68c0\u67e5Python\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>\u6216<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c\u8f93\u51fa\u663e\u793aPython 3.x\u7248\u672c\uff0c\u8bf4\u660e\u5df2\u5b89\u88c5\u3002\u5982\u679c\u6ca1\u6709\uff0c\u9700\u8981\u5b89\u88c5Python 3\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5Python 3<\/strong><\/p>\n<p>\u5982\u679c\u672a\u5b89\u88c5Python 3\uff0c\u53ef\u4ee5\u4ecePython\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5e76\u5b89\u88c5\u3002\u8bbf\u95ee<a href=\"https:\/\/www.python.org\/downloads\/\">Python\u5b98\u7f51<\/a>\u5e76\u4e0b\u8f7d\u9002\u5408macOS\u7684\u6700\u65b0\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528Homebrew\u5b89\u88c5Python 3<\/strong><\/p>\n<p>Homebrew\u662fmacOS\u4e0a\u7684\u4e00\u4e2a\u5305\u7ba1\u7406\u5668\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u5b89\u88c5\u8f6f\u4ef6\u3002\u6253\u5f00\u7ec8\u7aef\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Homebrew\uff08\u5982\u679c\u5c1a\u672a\u5b89\u88c5\uff09\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">\/bin\/bash -c &quot;$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\u5b89\u88c5Python 3\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">brew install python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u7ec8\u7aef\u6267\u884cPython\u7a0b\u5e8f<\/h3>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efaPython\u811a\u672c\u6587\u4ef6<\/strong><\/p>\n<p>\u4f7f\u7528\u4f60\u559c\u6b22\u7684\u6587\u672c\u7f16\u8f91\u5668\u521b\u5efa\u4e00\u4e2aPython\u811a\u672c\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u4f7f\u7528Nano\u7f16\u8f91\u5668\u5728\u7ec8\u7aef\u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>hello.py<\/code>\u7684\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">nano hello.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u6587\u4ef6\u4e2d\u8f93\u5165\u4ee5\u4e0b\u7b80\u5355Python\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">print(&quot;Hello, World!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4fdd\u5b58\u5e76\u9000\u51fa\u7f16\u8f91\u5668\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6267\u884cPython\u811a\u672c<\/strong><\/p>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5728\u7ec8\u7aef\u4e2d\u6267\u884cPython\u811a\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 hello.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u8f93\u51fa\u201cHello, World!\u201d\u5230\u7ec8\u7aef\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u548cIDE<\/h3>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6587\u672c\u7f16\u8f91\u5668<\/strong><\/p>\n<p>\u4f7f\u7528Sublime Text\u3001Atom\u6216VSCode\u7b49\u6587\u672c\u7f16\u8f91\u5668\u6765\u7f16\u5199Python\u811a\u672c\u3002\u8fd9\u4e9b\u7f16\u8f91\u5668\u901a\u5e38\u63d0\u4f9b\u8bed\u6cd5\u9ad8\u4eae\u3001\u81ea\u52a8\u5b8c\u6210\u548c\u5176\u4ed6\u6709\u52a9\u4e8e\u7f16\u5199\u4ee3\u7801\u7684\u529f\u80fd\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09<\/strong><\/p>\n<p>\u4f7f\u7528PyCharm\u6216VSCode\u7b49IDE\u6765\u7ba1\u7406\u548c\u8fd0\u884cPython\u9879\u76ee\u3002IDE\u901a\u5e38\u63d0\u4f9b\u66f4\u5f3a\u5927\u7684\u8c03\u8bd5\u548c<a href=\"https:\/\/docs.pingcode.com\/blog\/project-management\/23316.html\" target=\"_blank\">\u9879\u76ee\u7ba1\u7406<\/a>\u529f\u80fd\uff0c\u9002\u5408\u5927\u578b\u9879\u76ee\u5f00\u53d1\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>PyCharm<\/strong>\uff1a\u4e0b\u8f7d\u5b89\u88c5PyCharm\u793e\u533a\u7248\u6216\u4e13\u4e1a\u7248\uff0c\u521b\u5efa\u65b0\u9879\u76ee\u5e76\u6dfb\u52a0Python\u6587\u4ef6\u3002\u70b9\u51fb\u8fd0\u884c\u6309\u94ae\u5373\u53ef\u6267\u884cPython\u4ee3\u7801\u3002<\/li>\n<li><strong>VSCode<\/strong>\uff1a\u901a\u8fc7\u6269\u5c55\u5b89\u88c5Python\u63d2\u4ef6\uff0c\u6253\u5f00Python\u6587\u4ef6\u5e76\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u8fd0\u884c\u6309\u94ae\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u4f7f\u7528\u865a\u62df\u73af\u5883<\/h3>\n<\/p>\n<p><p>\u5728\u5f00\u53d1Python\u9879\u76ee\u65f6\uff0c\u5efa\u8bae\u4f7f\u7528\u865a\u62df\u73af\u5883\u6765\u7ba1\u7406\u9879\u76ee\u7684\u4f9d\u8d56\u5173\u7cfb\u3002\u865a\u62df\u73af\u5883\u53ef\u4ee5\u9694\u79bb\u9879\u76ee\u7684Python\u73af\u5883\uff0c\u907f\u514d\u4e0d\u540c\u9879\u76ee\u95f4\u7684\u4f9d\u8d56\u51b2\u7a81\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efa\u865a\u62df\u73af\u5883<\/strong><\/p>\n<p>\u5728\u9879\u76ee\u76ee\u5f55\u4e0b\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u521b\u5efa\u865a\u62df\u73af\u5883\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 -m venv venv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u5728\u9879\u76ee\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>venv<\/code>\u7684\u76ee\u5f55\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6fc0\u6d3b\u865a\u62df\u73af\u5883<\/strong><\/p>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6fc0\u6d3b\u865a\u62df\u73af\u5883\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">source venv\/bin\/activate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6fc0\u6d3b\u540e\uff0c\u547d\u4ee4\u884c\u63d0\u793a\u7b26\u4f1a\u53d1\u751f\u53d8\u5316\uff0c\u901a\u5e38\u4f1a\u5728\u524d\u9762\u52a0\u4e0a<code>(venv)<\/code>\uff0c\u8868\u793a\u865a\u62df\u73af\u5883\u5df2\u6fc0\u6d3b\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5\u4f9d\u8d56\u5305<\/strong><\/p>\n<p>\u5728\u6fc0\u6d3b\u7684\u865a\u62df\u73af\u5883\u4e2d\u4f7f\u7528pip\u5b89\u88c5\u9879\u76ee\u6240\u9700\u7684\u4f9d\u8d56\u5305\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install requests<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9000\u51fa\u865a\u62df\u73af\u5883<\/strong><\/p>\n<p>\u5b8c\u6210\u5f00\u53d1\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u9000\u51fa\u865a\u62df\u73af\u5883\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">deactivate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e94\u3001\u8c03\u8bd5Python\u7a0b\u5e8f<\/h3>\n<\/p>\n<p><p>\u8c03\u8bd5\u662f\u7f16\u7a0b\u7684\u91cd\u8981\u73af\u8282\uff0c\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u7528\u7684\u8c03\u8bd5\u6280\u5de7\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528print\u8bed\u53e5<\/strong><\/p>\n<p>\u5728\u4ee3\u7801\u4e2d\u63d2\u5165<code>print<\/code>\u8bed\u53e5\u6765\u8f93\u51fa\u53d8\u91cf\u503c\u548c\u7a0b\u5e8f\u6267\u884c\u72b6\u6001\uff0c\u4ee5\u4fbf\u6392\u67e5\u95ee\u9898\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528IDE\u8c03\u8bd5\u5de5\u5177<\/strong><\/p>\n<p>\u5927\u591a\u6570IDE\u90fd\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u8c03\u8bd5\u5de5\u5177\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u65ad\u70b9\u3001\u5355\u6b65\u6267\u884c\u4ee3\u7801\u3001\u67e5\u770b\u53d8\u91cf\u503c\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528pdb\u6a21\u5757<\/strong><\/p>\n<p>Python\u5185\u7f6e\u7684<code>pdb<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u4e00\u4e2a\u547d\u4ee4\u884c\u8c03\u8bd5\u5668\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u542f\u52a8\u8c03\u8bd5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 -m pdb your_script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u516d\u3001\u5e38\u89c1\u95ee\u9898\u548c\u89e3\u51b3\u65b9\u6848<\/h3>\n<\/p>\n<ol>\n<li>\n<p><strong>Python\u7248\u672c\u51b2\u7a81<\/strong><\/p>\n<p>\u5982\u679c\u7cfb\u7edf\u4e0a\u540c\u65f6\u5b89\u88c5\u4e86Python 2.x\u548c3.x\u7248\u672c\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u547d\u4ee4\u51b2\u7a81\u3002\u5efa\u8bae\u660e\u786e\u4f7f\u7528<code>python3<\/code>\u547d\u4ee4\u6765\u6267\u884cPython 3\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6743\u9650\u95ee\u9898<\/strong><\/p>\n<p>\u6709\u65f6\u8fd0\u884cPython\u7a0b\u5e8f\u53ef\u80fd\u4f1a\u9047\u5230\u6743\u9650\u95ee\u9898\uff0c\u7279\u522b\u662f\u5728\u5b89\u88c5\u5305\u6216\u5199\u5165\u7cfb\u7edf\u76ee\u5f55\u65f6\u3002\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528<code>sudo<\/code>\u547d\u4ee4\u4e34\u65f6\u63d0\u5347\u6743\u9650\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo python3 your_script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f3a\u5c11\u4f9d\u8d56\u5305<\/strong><\/p>\n<p>\u5982\u679c\u7a0b\u5e8f\u8fd0\u884c\u65f6\u63d0\u793a\u7f3a\u5c11\u67d0\u4e9b\u6a21\u5757\uff0c\u53ef\u4ee5\u4f7f\u7528pip\u5b89\u88c5\u6240\u9700\u7684\u4f9d\u8d56\u5305\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install package_name<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u60a8\u53ef\u4ee5\u5728Mac\u4e0a\u987a\u5229\u6267\u884cPython\u7a0b\u5e8f\u3002\u9009\u62e9\u9002\u5408\u81ea\u5df1\u7684\u5f00\u53d1\u5de5\u5177\u548c\u73af\u5883\uff0c\u80fd\u5927\u5927\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u548c\u4f53\u9a8c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Mac\u4e0a\u5b89\u88c5Python\u73af\u5883\uff1f<\/strong><br \/>\u5728Mac\u4e0a\u6267\u884cPython\u7a0b\u5e8f\u4e4b\u524d\uff0c\u786e\u4fdd\u5df2\u7ecf\u5b89\u88c5\u4e86Python\u3002\u53ef\u4ee5\u901a\u8fc7\u8bbf\u95eePython\u7684\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\uff0c\u6216\u8005\u4f7f\u7528Homebrew\u5305\u7ba1\u7406\u5668\u3002\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165<code>brew install python<\/code>\u5373\u53ef\u5feb\u901f\u5b89\u88c5\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165<code>python3 --version<\/code>\u6765\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Mac\u4e0a\u8fd0\u884cPython\u811a\u672c\uff1f<\/strong><br \/>\u8981\u8fd0\u884cPython\u811a\u672c\uff0c\u53ef\u4ee5\u6253\u5f00\u7ec8\u7aef\uff0c\u4f7f\u7528<code>cd<\/code>\u547d\u4ee4\u5bfc\u822a\u5230\u5305\u542bPython\u811a\u672c\u7684\u76ee\u5f55\u3002\u4f8b\u5982\uff0c\u5982\u679c\u811a\u672c\u540d\u4e3a<code>script.py<\/code>\uff0c\u53ef\u4ee5\u8f93\u5165<code>python3 script.py<\/code>\u6765\u6267\u884c\u8be5\u811a\u672c\u3002\u5982\u679c\u811a\u672c\u9700\u8981\u4f7f\u7528\u7279\u5b9a\u7684\u5e93\u6216\u6a21\u5757\uff0c\u8bf7\u786e\u4fdd\u5df2\u7ecf\u5b89\u88c5\u5b83\u4eec\u3002<\/p>\n<p><strong>\u5728Mac\u4e0a\u5982\u4f55\u8c03\u8bd5Python\u7a0b\u5e8f\uff1f<\/strong><br \/>\u8c03\u8bd5Python\u7a0b\u5e8f\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u8c03\u8bd5\u5de5\u5177\u5982<code>pdb<\/code>\u6216\u8005\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u6765\u5b9e\u73b0\u3002\u53ef\u4ee5\u5728\u4ee3\u7801\u4e2d\u63d2\u5165<code>import pdb; pdb.set_trace()<\/code>\u6765\u8bbe\u7f6e\u65ad\u70b9\uff0c\u9010\u884c\u8c03\u8bd5\u4ee3\u7801\u3002\u6b64\u5916\uff0c\u50cfPyCharm\u6216Visual Studio Code\u7b49IDE\u63d0\u4f9b\u4e86\u66f4\u53cb\u597d\u7684\u8c03\u8bd5\u754c\u9762\uff0c\u80fd\u591f\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u9ad8\u6548\u5730\u6392\u67e5\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Mac\u4e0a\u6267\u884cPython\u7a0b\u5e8f\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u4f7f\u7528\u7ec8\u7aef\u3001\u6587\u672c\u7f16\u8f91\u5668\u548c\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u7b49\u3002\u6700\u5e38\u89c1\u7684\u65b9\u5f0f\u5305 [&hellip;]","protected":false},"author":3,"featured_media":994025,"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\/994014"}],"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=994014"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/994014\/revisions"}],"predecessor-version":[{"id":994026,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/994014\/revisions\/994026"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/994025"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=994014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=994014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=994014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}