{"id":1180663,"date":"2025-01-15T18:40:56","date_gmt":"2025-01-15T10:40:56","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1180663.html"},"modified":"2025-01-15T18:41:18","modified_gmt":"2025-01-15T10:41:18","slug":"%e5%a6%82%e4%bd%95%e5%8d%87%e7%ba%a7mac%e5%ae%89%e8%a3%85%e7%9a%84python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1180663.html","title":{"rendered":"\u5982\u4f55\u5347\u7ea7Mac\u5b89\u88c5\u7684python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25125313\/28e2bcd9-f64b-496c-9bb0-f6480b9ea3c9.webp\" alt=\"\u5982\u4f55\u5347\u7ea7Mac\u5b89\u88c5\u7684python\" \/><\/p>\n<p><p> \u8981\u5347\u7ea7Mac\u5b89\u88c5\u7684Python\uff0c<strong>\u4f60\u53ef\u4ee5\u4f7f\u7528Homebrew\u3001\u901a\u8fc7\u5b98\u65b9\u5b89\u88c5\u5305\u3001\u4f7f\u7528pyenv<\/strong>\u3002\u5176\u4e2d\uff0c<strong>\u4f7f\u7528Homebrew<\/strong>\u662f\u6700\u63a8\u8350\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u7b80\u5355\u4e14\u80fd\u81ea\u52a8\u7ba1\u7406\u4f9d\u8d56\u3002<\/p>\n<\/p>\n<p><p>\u4f7f\u7528Homebrew\u5347\u7ea7Python\u65f6\uff0c\u4f60\u9700\u8981\u786e\u4fdd\u5df2\u7ecf\u5b89\u88c5\u4e86Homebrew\u3002\u6253\u5f00\u7ec8\u7aef\u5e76\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u4ee5\u5b89\u88c5Homebrew\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\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\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\u79cd\u65b9\u6cd5\u80fd\u591f\u786e\u4fdd\u4f60\u7684Python\u548c\u76f8\u5173\u7684\u4f9d\u8d56\u90fd\u4fdd\u6301\u6700\u65b0\u72b6\u6001\uff0c\u907f\u514d\u4e86\u624b\u52a8\u4e0b\u8f7d\u548c\u5b89\u88c5\u7684\u9ebb\u70e6\u3002<\/p>\n<\/p>\n<hr>\n<p><h3>\u4e00\u3001HOME-BREW \u5347\u7ea7 PYTHON<\/h3>\n<\/p>\n<p><p><strong>Homebrew<\/strong> \u662f macOS \u4e0a\u975e\u5e38\u6d41\u884c\u7684\u5305\u7ba1\u7406\u5668\uff0c\u5b83\u53ef\u4ee5\u8ba9\u4f60\u8f7b\u677e\u5730\u5b89\u88c5\u548c\u7ba1\u7406\u8f6f\u4ef6\u3002\u4f7f\u7528 Homebrew \u5347\u7ea7 Python \u975e\u5e38\u7b80\u5355\u4e14\u9ad8\u6548\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5 Homebrew<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u8fd8\u6ca1\u6709\u5b89\u88c5 Homebrew\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5\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>\u8fd9\u6761\u547d\u4ee4\u4f1a\u4e0b\u8f7d\u5e76\u5b89\u88c5 Homebrew\uff0c\u5b89\u88c5\u8fc7\u7a0b\u53ef\u80fd\u4f1a\u8981\u6c42\u4f60\u8f93\u5165\u7ba1\u7406\u5458\u5bc6\u7801\u3002<\/p>\n<\/p>\n<p><h4>2. \u66f4\u65b0 Homebrew<\/h4>\n<\/p>\n<p><p>\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u6765\u66f4\u65b0 Homebrew\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">brew update<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u786e\u4fdd\u4f60\u62e5\u6709\u6700\u65b0\u7684 Homebrew \u7248\u672c\u548c\u914d\u65b9\u3002<\/p>\n<\/p>\n<p><h4>3. \u5347\u7ea7 Python<\/h4>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u5347\u7ea7 Python\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">brew upgrade python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>Homebrew \u4f1a\u81ea\u52a8\u4e0b\u8f7d\u5e76\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684 Python\uff0c\u5e76\u5904\u7406\u6240\u6709\u7684\u4f9d\u8d56\u5173\u7cfb\u3002\u5982\u679c\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86 Python\uff0cHomebrew \u4f1a\u63d0\u793a\u4f60\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c\u3002<\/p>\n<\/p>\n<p><h4>4. \u9a8c\u8bc1\u5b89\u88c5<\/h4>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u6765\u9a8c\u8bc1 Python \u662f\u5426\u5df2\u7ecf\u6210\u529f\u5347\u7ea7\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\u4f60\u5f53\u524d\u5b89\u88c5\u7684 Python \u7248\u672c\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u901a\u8fc7\u5b98\u65b9\u5b89\u88c5\u5305\u5347\u7ea7 Python<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u4e0d\u60f3\u4f7f\u7528 Homebrew\uff0c\u4f60\u4e5f\u53ef\u4ee5\u901a\u8fc7\u4ece Python \u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u6700\u65b0\u7684\u5b89\u88c5\u5305\u6765\u5347\u7ea7 Python\u3002<\/p>\n<\/p>\n<p><h4>1. \u4e0b\u8f7d\u6700\u65b0\u5b89\u88c5\u5305<\/h4>\n<\/p>\n<p><p>\u8bbf\u95ee Python \u5b98\u65b9\u7f51\u7ad9\uff1a<a href=\"https:\/\/www.python.org\/downloads\/\">https:\/\/www.python.org\/downloads\/<\/a>\uff0c\u4e0b\u8f7d\u9002\u7528\u4e8e macOS \u7684\u6700\u65b0 Python \u5b89\u88c5\u5305\u3002<\/p>\n<\/p>\n<p><h4>2. \u5b89\u88c5 Python<\/h4>\n<\/p>\n<p><p>\u53cc\u51fb\u4e0b\u8f7d\u7684\u5b89\u88c5\u5305\uff0c\u6309\u7167\u5c4f\u5e55\u4e0a\u7684\u6307\u793a\u5b8c\u6210\u5b89\u88c5\u8fc7\u7a0b\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u65b0\u7684 Python \u7248\u672c\u5c06\u4f1a\u88ab\u6dfb\u52a0\u5230\u4f60\u7684\u7cfb\u7edf\u4e2d\u3002<\/p>\n<\/p>\n<p><h4>3. \u9a8c\u8bc1\u5b89\u88c5<\/h4>\n<\/p>\n<p><p>\u540c\u6837\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u6765\u9a8c\u8bc1 Python \u662f\u5426\u5df2\u7ecf\u6210\u529f\u5347\u7ea7\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528 pyenv \u7ba1\u7406\u548c\u5347\u7ea7 Python<\/h3>\n<\/p>\n<p><p><strong>pyenv<\/strong> \u662f\u4e00\u4e2a Python \u7248\u672c\u7ba1\u7406\u5de5\u5177\uff0c\u5b83\u5141\u8bb8\u4f60\u8f7b\u677e\u5730\u5728\u4e0d\u540c Python \u7248\u672c\u4e4b\u95f4\u5207\u6362\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5 pyenv<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5b89\u88c5 pyenv\uff0c\u53ef\u4ee5\u4f7f\u7528 Homebrew \u6765\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">brew install pyenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u914d\u7f6e shell<\/h4>\n<\/p>\n<p><p>\u4e3a\u4e86\u8ba9 pyenv \u6b63\u5e38\u5de5\u4f5c\uff0c\u4f60\u9700\u8981\u5c06\u4ee5\u4e0b\u5185\u5bb9\u6dfb\u52a0\u5230\u4f60\u7684 shell \u914d\u7f6e\u6587\u4ef6\u4e2d\uff08\u4f8b\u5982 <code>.bashrc<\/code> \u6216 <code>.zshrc<\/code>\uff09\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">export PATH=&quot;$HOME\/.pyenv\/bin:$PATH&quot;<\/p>\n<p>eval &quot;$(pyenv init --path)&quot;<\/p>\n<p>eval &quot;$(pyenv init -)&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">source ~\/.bashrc  # \u6216\u8005 source ~\/.zshrc<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u5b89\u88c5\u65b0\u7684 Python \u7248\u672c<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528 pyenv \u5b89\u88c5\u6700\u65b0\u7684 Python \u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyenv install 3.x.x  # \u66ff\u6362\u4e3a\u4f60\u60f3\u8981\u5b89\u88c5\u7684\u7248\u672c\u53f7<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>4. \u8bbe\u7f6e\u5168\u5c40 Python \u7248\u672c<\/h4>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8bbe\u7f6e\u5168\u5c40\u9ed8\u8ba4\u7684 Python \u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyenv global 3.x.x  # \u66ff\u6362\u4e3a\u4f60\u5b89\u88c5\u7684\u7248\u672c\u53f7<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>5. \u9a8c\u8bc1\u5b89\u88c5<\/h4>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u9a8c\u8bc1 Python \u662f\u5426\u5df2\u7ecf\u6210\u529f\u5347\u7ea7\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><h4>1. \u7cfb\u7edf Python \u4e0d\u5efa\u8bae\u76f4\u63a5\u5347\u7ea7<\/h4>\n<\/p>\n<p><p>macOS \u81ea\u5e26\u7684 Python \u7248\u672c\u901a\u5e38\u7528\u4e8e\u7cfb\u7edf\u5de5\u5177\u548c\u4f9d\u8d56\uff0c\u4e0d\u5efa\u8bae\u76f4\u63a5\u5347\u7ea7\u6216\u4fee\u6539\u7cfb\u7edf\u81ea\u5e26\u7684 Python \u7248\u672c\uff0c\u4ee5\u907f\u514d\u7cfb\u7edf\u5de5\u5177\u51fa\u73b0\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><h4>2. \u865a\u62df\u73af\u5883\u7684\u4f7f\u7528<\/h4>\n<\/p>\n<p><p>\u65e0\u8bba\u4f60\u4f7f\u7528\u54ea\u79cd\u65b9\u6cd5\u5347\u7ea7 Python\uff0c\u90fd\u63a8\u8350\u4f7f\u7528 Python \u865a\u62df\u73af\u5883\uff08\u4f8b\u5982 <code>virtualenv<\/code> \u6216 <code>venv<\/code>\uff09\u6765\u7ba1\u7406\u4f60\u7684\u9879\u76ee\u4f9d\u8d56\u3002\u865a\u62df\u73af\u5883\u53ef\u4ee5\u9694\u79bb\u9879\u76ee\u4e4b\u95f4\u7684\u4f9d\u8d56\uff0c\u907f\u514d\u7248\u672c\u51b2\u7a81\u3002<\/p>\n<\/p>\n<p><h4>3. \u5904\u7406\u4f9d\u8d56\u95ee\u9898<\/h4>\n<\/p>\n<p><p>\u5347\u7ea7 Python \u4e4b\u540e\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u91cd\u65b0\u5b89\u88c5\u4e00\u4e9b\u4f9d\u8d56\u5305\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u91cd\u65b0\u5b89\u88c5\u4f9d\u8d56\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install -r requirements.txt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u662f\u5728\u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u8fd0\u884c\u7684\uff0c\u5047\u8bbe\u4f60\u6709\u4e00\u4e2a <code>requirements.txt<\/code> \u6587\u4ef6\u5217\u51fa\u4e86\u6240\u6709\u7684\u4f9d\u8d56\u3002<\/p>\n<\/p>\n<p><h4>4. \u5347\u7ea7 pip<\/h4>\n<\/p>\n<p><p>\u5728\u5347\u7ea7 Python \u4e4b\u540e\uff0c\u5efa\u8bae\u4e5f\u5347\u7ea7 <code>pip<\/code> \u4ee5\u786e\u4fdd\u517c\u5bb9\u6027\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 -m pip install --upgrade pip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728 macOS \u4e0a\u5347\u7ea7 Python \u6709\u591a\u79cd\u65b9\u6cd5\uff0c\u5176\u4e2d\u4f7f\u7528 Homebrew \u662f\u6700\u7b80\u5355\u548c\u63a8\u8350\u7684\u65b9\u6cd5\u3002\u901a\u8fc7 Homebrew\uff0c\u5347\u7ea7 Python \u53ea\u9700\u51e0\u6761\u7b80\u5355\u7684\u547d\u4ee4\uff0c\u5e76\u4e14 Homebrew \u4f1a\u81ea\u52a8\u5904\u7406\u6240\u6709\u7684\u4f9d\u8d56\u548c\u914d\u7f6e\u95ee\u9898\u3002\u901a\u8fc7\u5b98\u65b9\u5b89\u88c5\u5305\u548c\u4f7f\u7528 pyenv \u4e5f\u90fd\u662f\u975e\u5e38\u6709\u6548\u7684\u9009\u62e9\uff0c\u5177\u4f53\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\u53ef\u4ee5\u6839\u636e\u4f60\u7684\u9700\u6c42\u548c\u504f\u597d\u6765\u51b3\u5b9a\u3002<\/p>\n<\/p>\n<p><p>\u65e0\u8bba\u4f60\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u90fd\u8981\u6ce8\u610f\u7cfb\u7edf Python \u7684\u5b89\u5168\u6027\u4ee5\u53ca\u9879\u76ee\u4f9d\u8d56\u7684\u7ba1\u7406\uff0c\u786e\u4fdd\u5728\u5347\u7ea7 Python \u4e4b\u540e\u4f60\u7684\u5f00\u53d1\u73af\u5883\u548c\u9879\u76ee\u80fd\u591f\u6b63\u5e38\u8fd0\u884c\u3002\u901a\u8fc7\u5408\u7406\u7684\u5de5\u5177\u548c\u65b9\u6cd5\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u5730\u5728 macOS \u4e0a\u7ba1\u7406\u548c\u5347\u7ea7 Python\uff0c\u4fdd\u6301\u4f60\u7684\u5f00\u53d1\u73af\u5883\u59cb\u7ec8\u5904\u4e8e\u6700\u4f73\u72b6\u6001\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 \/>\u53ef\u4ee5\u901a\u8fc7\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165 <code>python --version<\/code> \u6216 <code>python3 --version<\/code> \u6765\u67e5\u770b\u5f53\u524d\u5b89\u88c5\u7684Python\u7248\u672c\u3002\u8fd9\u5c06\u663e\u793a\u60a8\u7cfb\u7edf\u4e0a\u5b89\u88c5\u7684Python\u7684\u5177\u4f53\u7248\u672c\u4fe1\u606f\u3002<\/p>\n<p><strong>\u5347\u7ea7Python\u4f1a\u5f71\u54cd\u6211\u7cfb\u7edf\u4e2d\u7684\u5176\u4ed6\u8f6f\u4ef6\u5417\uff1f<\/strong><br \/>\u5728\u5347\u7ea7Python\u4e4b\u524d\uff0c\u6700\u597d\u68c0\u67e5\u4f9d\u8d56\u4e8e\u7279\u5b9aPython\u7248\u672c\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u67d0\u4e9b\u8f6f\u4ef6\u53ef\u80fd\u4e0e\u65e7\u7248\u672c\u517c\u5bb9\uff0c\u800c\u5728\u5347\u7ea7\u540e\u53ef\u80fd\u4f1a\u51fa\u73b0\u95ee\u9898\u3002\u5efa\u8bae\u5728\u5347\u7ea7\u4e4b\u524d\u5907\u4efd\u60a8\u7684\u9879\u76ee\u548c\u73af\u5883\uff0c\u4ee5\u9632\u4e07\u4e00\u3002<\/p>\n<p><strong>\u6211\u53ef\u4ee5\u901a\u8fc7\u54ea\u4e9b\u65b9\u5f0f\u5347\u7ea7Mac\u4e0a\u7684Python\uff1f<\/strong><br \/>\u6709\u591a\u79cd\u65b9\u5f0f\u53ef\u4ee5\u5347\u7ea7Python\uff0c\u5305\u62ec\u4f7f\u7528Homebrew\u3001\u76f4\u63a5\u4ecePython\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5b89\u88c5\u5305\uff0c\u6216\u4f7f\u7528pyenv\u7b49\u7248\u672c\u7ba1\u7406\u5de5\u5177\u3002\u9009\u62e9\u9002\u5408\u60a8\u9700\u6c42\u7684\u65b9\u6cd5\uff0c\u4ee5\u786e\u4fdd\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u548c\u517c\u5bb9\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5347\u7ea7Mac\u5b89\u88c5\u7684Python\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528Homebrew\u3001\u901a\u8fc7\u5b98\u65b9\u5b89\u88c5\u5305\u3001\u4f7f\u7528pyenv\u3002\u5176\u4e2d\uff0c\u4f7f\u7528Home [&hellip;]","protected":false},"author":3,"featured_media":1180692,"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\/1180663"}],"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=1180663"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1180663\/revisions"}],"predecessor-version":[{"id":1180695,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1180663\/revisions\/1180695"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1180692"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1180663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1180663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1180663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}