{"id":1165494,"date":"2025-01-15T15:21:04","date_gmt":"2025-01-15T07:21:04","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1165494.html"},"modified":"2025-01-15T15:21:06","modified_gmt":"2025-01-15T07:21:06","slug":"%e5%a6%82%e4%bd%95%e7%94%a8%e5%91%bd%e4%bb%a4%e5%ae%89%e8%a3%85python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1165494.html","title":{"rendered":"\u5982\u4f55\u7528\u547d\u4ee4\u5b89\u88c5python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25205831\/2a9051d8-7d82-4799-ba42-87e9de7f9bbb.webp\" alt=\"\u5982\u4f55\u7528\u547d\u4ee4\u5b89\u88c5python\" \/><\/p>\n<p><p> <strong>\u4f7f\u7528\u547d\u4ee4\u5b89\u88c5 Python \u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u7cfb\u7edf\u5305\u7ba1\u7406\u5668\u3001\u4f7f\u7528 pyenv\u3001\u4f7f\u7528 Anaconda\u3001\u4ece\u6e90\u7801\u5b89\u88c5\u3002<\/strong> \u4e0b\u9762\u8be6\u7ec6\u4ecb\u7ecd\u5176\u4e2d\u4e00\u79cd\u65b9\u6cd5\u2014\u2014\u4f7f\u7528\u7cfb\u7edf\u5305\u7ba1\u7406\u5668\u3002<\/p>\n<\/p>\n<p><p>\u4f7f\u7528\u7cfb\u7edf\u5305\u7ba1\u7406\u5668\u5b89\u88c5 Python \u662f\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u4e4b\u4e00\uff0c\u5c24\u5176\u662f\u5728 Linux \u7cfb\u7edf\u4e0a\u3002\u4e0d\u540c\u7684 Linux \u53d1\u884c\u7248\u6709\u4e0d\u540c\u7684\u5305\u7ba1\u7406\u5668\uff0c\u4f8b\u5982\uff0cDebian\/Ubuntu \u4f7f\u7528 <code>apt<\/code>\uff0cRedHat\/CentOS \u4f7f\u7528 <code>yum<\/code>\u3002\u4ee5 Ubuntu \u4e3a\u4f8b\uff0c\u4f7f\u7528 <code>apt<\/code> \u5b89\u88c5 Python \u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p>\u66f4\u65b0\u5305\u5217\u8868\uff1a\u9996\u5148\uff0c\u786e\u4fdd\u4f60\u7684\u5305\u5217\u8868\u662f\u6700\u65b0\u7684\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u66f4\u65b0\u5305\u5217\u8868\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo apt update<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u5b89\u88c5 Python\uff1a\u7136\u540e\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5 Python\u3002\u4f60\u53ef\u4ee5\u6307\u5b9a\u5177\u4f53\u7684\u7248\u672c\u53f7\uff0c\u4f8b\u5982\u5b89\u88c5 Python 3.8\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo apt install python3.8<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1\u5b89\u88c5\uff1a\u6700\u540e\uff0c\u9a8c\u8bc1 Python \u662f\u5426\u5b89\u88c5\u6210\u529f\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b Python \u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3.8 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p><strong>\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/strong><\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u7cfb\u7edf\u5305\u7ba1\u7406\u5668\u5b89\u88c5 Python<\/h3>\n<\/p>\n<p><h4>1\u3001\u66f4\u65b0\u5305\u5217\u8868<\/h4>\n<\/p>\n<p><p>\u4e3a\u4e86\u786e\u4fdd\u4f60\u5b89\u88c5\u7684\u662f\u6700\u65b0\u7248\u672c\u7684 Python\uff0c\u9996\u5148\u9700\u8981\u66f4\u65b0\u5305\u5217\u8868\u3002\u5728 Ubuntu \u7cfb\u7edf\u4e0a\uff0c\u4f7f\u7528 <code>apt<\/code> \u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo apt update<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u4ece\u7f51\u7edc\u4e0a\u66f4\u65b0\u8f6f\u4ef6\u5305\u7684\u4fe1\u606f\uff0c\u786e\u4fdd\u4f60\u5b89\u88c5\u7684\u4efb\u4f55\u8f6f\u4ef6\u90fd\u662f\u6700\u65b0\u7248\u672c\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u5b89\u88c5 Python<\/h4>\n<\/p>\n<p><p>\u5728\u5305\u5217\u8868\u66f4\u65b0\u5b8c\u6bd5\u540e\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528 <code>apt<\/code> \u547d\u4ee4\u5b89\u88c5 Python\u3002\u4f60\u53ef\u4ee5\u5b89\u88c5 Python \u7684\u7279\u5b9a\u7248\u672c\uff0c\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo apt install python3.8<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u4e0b\u8f7d\u5e76\u5b89\u88c5 Python 3.8 \u4ee5\u53ca\u5b83\u7684\u4f9d\u8d56\u5305\u3002<\/p>\n<\/p>\n<p><h4>3\u3001\u9a8c\u8bc1\u5b89\u88c5<\/h4>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u9a8c\u8bc1 Python \u662f\u5426\u5b89\u88c5\u6210\u529f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3.8 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c Python \u5b89\u88c5\u6210\u529f\uff0c\u4f60\u4f1a\u770b\u5230\u7c7b\u4f3c\u4ee5\u4e0b\u7684\u8f93\u51fa\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-plaintext\">Python 3.8.x<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528 pyenv \u5b89\u88c5 Python<\/h3>\n<\/p>\n<p><p><code>pyenv<\/code> \u662f\u4e00\u4e2a Python \u7248\u672c\u7ba1\u7406\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u8ba9\u4f60\u8f7b\u677e\u5730\u5728\u591a\u4e2a Python \u7248\u672c\u4e4b\u95f4\u5207\u6362\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5 pyenv<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u5b89\u88c5 <code>pyenv<\/code>\u3002\u5728 Unix \u7cfb\u7edf\u4e0a\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">curl https:\/\/pyenv.run | bash<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u6309\u7167\u63d0\u793a\u66f4\u65b0\u4f60\u7684 shell \u914d\u7f6e\u6587\u4ef6\uff08\u4f8b\u5982 <code>.bashrc<\/code> \u6216 <code>.zshrc<\/code>\uff09\uff0c\u6dfb\u52a0\u4ee5\u4e0b\u884c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-plaintext\">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>eval &quot;$(pyenv virtualenv-init -)&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4fdd\u5b58\u5e76\u91cd\u542f\u7ec8\u7aef\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u5b89\u88c5 Python \u7248\u672c<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528 <code>pyenv<\/code> \u5b89\u88c5\u4f60\u9700\u8981\u7684 Python \u7248\u672c\u3002\u4f8b\u5982\uff0c\u5b89\u88c5 Python 3.9.1\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyenv install 3.9.1<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u8bbe\u7f6e\u5168\u5c40 Python \u7248\u672c<\/h4>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u8bbe\u7f6e\u5168\u5c40 Python \u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyenv global 3.9.1<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u9a8c\u8bc1\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f60\u5e94\u8be5\u4f1a\u770b\u5230 Python 3.9.1 \u7684\u7248\u672c\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528 Anaconda \u5b89\u88c5 Python<\/h3>\n<\/p>\n<p><p>Anaconda \u662f\u4e00\u4e2a\u6d41\u884c\u7684 Python \u53d1\u884c\u7248\uff0c\u5b83\u9644\u5e26\u4e86\u5927\u91cf\u7684\u6570\u636e\u79d1\u5b66\u548c<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u5305\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u4e0b\u8f7d Anaconda \u5b89\u88c5\u811a\u672c<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4ece Anaconda \u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d Anaconda \u5b89\u88c5\u811a\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">wget https:\/\/repo.anaconda.com\/archive\/Anaconda3-2021.05-Linux-x86_64.sh<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u8fd0\u884c\u5b89\u88c5\u811a\u672c<\/h4>\n<\/p>\n<p><p>\u8fd0\u884c\u4e0b\u8f7d\u7684\u5b89\u88c5\u811a\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">bash Anaconda3-2021.05-Linux-x86_64.sh<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6309\u7167\u63d0\u793a\u5b8c\u6210\u5b89\u88c5\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<p><h4>3\u3001\u6fc0\u6d3b Anaconda \u73af\u5883<\/h4>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6fc0\u6d3b Anaconda \u73af\u5883\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">source ~\/anaconda3\/bin\/activate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u9a8c\u8bc1\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f60\u5e94\u8be5\u4f1a\u770b\u5230 Anaconda \u9644\u5e26\u7684 Python \u7248\u672c\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4ece\u6e90\u7801\u5b89\u88c5 Python<\/h3>\n<\/p>\n<p><p>\u4ece\u6e90\u7801\u5b89\u88c5 Python \u53ef\u4ee5\u8ba9\u4f60\u5728\u6ca1\u6709\u5305\u7ba1\u7406\u5668\u7684\u73af\u5883\u4e2d\u5b89\u88c5 Python\uff0c\u6216\u8005\u5728\u9700\u8981\u5b9a\u5236\u5b89\u88c5\u9009\u9879\u65f6\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u4e0b\u8f7d Python \u6e90\u7801<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4ece Python \u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u4f60\u9700\u8981\u7684 Python \u7248\u672c\u7684\u6e90\u7801\u5305\u3002\u4f8b\u5982\uff0c\u4e0b\u8f7d Python 3.9.1\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">wget https:\/\/www.python.org\/ftp\/python\/3.9.1\/Python-3.9.1.tgz<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u89e3\u538b\u6e90\u7801\u5305<\/h4>\n<\/p>\n<p><p>\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u89e3\u538b\u6e90\u7801\u5305\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">tar -xvf Python-3.9.1.tgz<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u7f16\u8bd1\u5e76\u5b89\u88c5 Python<\/h4>\n<\/p>\n<p><p>\u8fdb\u5165\u89e3\u538b\u540e\u7684\u76ee\u5f55\uff0c\u7f16\u8bd1\u5e76\u5b89\u88c5 Python\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">cd Python-3.9.1<\/p>\n<p>.\/configure --enable-optimizations<\/p>\n<p>make<\/p>\n<p>sudo make altinstall<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u9a8c\u8bc1\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3.9 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f60\u5e94\u8be5\u4f1a\u770b\u5230 Python 3.9.1 \u7684\u7248\u672c\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u7efc\u4e0a\u6240\u8ff0\uff0c\u4f7f\u7528\u547d\u4ee4\u5b89\u88c5 Python \u6709\u591a\u79cd\u65b9\u6cd5\uff0c<strong>\u4f7f\u7528\u7cfb\u7edf\u5305\u7ba1\u7406\u5668\u3001\u4f7f\u7528 pyenv\u3001\u4f7f\u7528 Anaconda\u3001\u4ece\u6e90\u7801\u5b89\u88c5<\/strong>\u3002\u9009\u62e9\u9002\u5408\u4f60\u7684\u65b9\u6cd5\uff0c\u5e76\u6309\u7167\u6b65\u9aa4\u64cd\u4f5c\uff0c\u5c31\u53ef\u4ee5\u8f7b\u677e\u5730\u5728\u4f60\u7684\u7cfb\u7edf\u4e0a\u5b89\u88c5\u5e76\u914d\u7f6e Python \u4e86\u3002\u65e0\u8bba\u662f\u5f00\u53d1\u73af\u5883\u3001\u6570\u636e\u79d1\u5b66\u3001\u673a\u5668\u5b66\u4e60\uff0c\u8fd8\u662f\u5176\u4ed6\u9886\u57df\uff0cPython \u90fd\u80fd\u4e3a\u4f60\u63d0\u4f9b\u5f3a\u5927\u7684\u652f\u6301\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\u4f7f\u7528\u547d\u4ee4\u5b89\u88c5Python\uff1f<\/strong><br \/>\u5728Windows\u3001macOS\u548cLinux\u7b49\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\uff0c\u5b89\u88c5Python\u7684\u547d\u4ee4\u5404\u6709\u4e0d\u540c\u3002\u5728Windows\u4e0a\uff0c\u53ef\u4ee5\u4f7f\u7528Chocolatey\u5305\u7ba1\u7406\u5668\uff0c\u901a\u8fc7\u547d\u4ee4<code>choco install python<\/code>\u6765\u5b89\u88c5\u3002\u5728macOS\u4e0a\uff0cHomebrew\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4<code>brew install python<\/code>\u8fdb\u884c\u5b89\u88c5\u3002\u800c\u5728Linux\u4e0a\uff0c\u901a\u5e38\u53ef\u4ee5\u4f7f\u7528\u5305\u7ba1\u7406\u5668\uff0c\u6bd4\u5982\u5728Ubuntu\u4e0a\u4f7f\u7528<code>sudo apt-get install python3<\/code>\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<p><strong>\u5b89\u88c5Python\u540e\u5982\u4f55\u9a8c\u8bc1\u5176\u662f\u5426\u6210\u529f\u5b89\u88c5\uff1f<\/strong><br \/>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u9a8c\u8bc1Python\u7684\u5b89\u88c5\u3002\u5728\u7ec8\u7aef\u6216\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165<code>python --version<\/code>\u6216<code>python3 --version<\/code>\uff0c\u5982\u679c\u8fd4\u56de\u4e86Python\u7684\u7248\u672c\u53f7\uff0c\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u3002\u4e3a\u4e86\u786e\u4fdd\u73af\u5883\u53d8\u91cf\u8bbe\u7f6e\u6b63\u786e\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u8fd0\u884c<code>python<\/code>\u6216<code>python3<\/code>\u8fdb\u5165Python\u7684\u4ea4\u4e92\u5f0f\u547d\u4ee4\u884c\uff0c\u67e5\u770b\u662f\u5426\u80fd\u591f\u6b63\u5e38\u4f7f\u7528\u3002<\/p>\n<p><strong>\u5728\u547d\u4ee4\u884c\u4e2d\u5982\u4f55\u66f4\u65b0\u5df2\u5b89\u88c5\u7684Python\u7248\u672c\uff1f<\/strong><br \/>\u5982\u679c\u9700\u8981\u66f4\u65b0\u5df2\u5b89\u88c5\u7684Python\u7248\u672c\uff0c\u5177\u4f53\u547d\u4ee4\u4f1a\u56e0\u64cd\u4f5c\u7cfb\u7edf\u800c\u5f02\u3002\u5728Windows\u4e0a\uff0c\u53ef\u4ee5\u4f7f\u7528<code>choco upgrade python<\/code>\u6765\u66f4\u65b0\u3002\u5728macOS\u4e2d\uff0c\u4f7f\u7528<code>brew upgrade python<\/code>\u547d\u4ee4\u53ef\u4ee5\u5b8c\u6210\u66f4\u65b0\u3002\u800c\u5728Linux\u4e0a\uff0c\u901a\u5e38\u53ef\u4ee5\u4f7f\u7528<code>sudo apt-get update<\/code>\u548c<code>sudo apt-get upgrade python3<\/code>\u6765\u66f4\u65b0Python\u7248\u672c\u3002\u786e\u4fdd\u5728\u66f4\u65b0\u4e4b\u524d\u5907\u4efd\u91cd\u8981\u7684\u9879\u76ee\u6587\u4ef6\uff0c\u4ee5\u9632\u51fa\u73b0\u517c\u5bb9\u6027\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528\u547d\u4ee4\u5b89\u88c5 Python \u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u7cfb\u7edf\u5305\u7ba1\u7406\u5668\u3001\u4f7f\u7528 pyenv\u3001\u4f7f\u7528 Anaconda\u3001\u4ece\u6e90\u7801\u5b89\u88c5 [&hellip;]","protected":false},"author":3,"featured_media":1165504,"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\/1165494"}],"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=1165494"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1165494\/revisions"}],"predecessor-version":[{"id":1165505,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1165494\/revisions\/1165505"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1165504"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1165494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1165494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1165494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}