{"id":956729,"date":"2024-12-27T02:41:53","date_gmt":"2024-12-26T18:41:53","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/956729.html"},"modified":"2024-12-27T02:41:56","modified_gmt":"2024-12-26T18:41:56","slug":"python-2-7%e5%a6%82%e4%bd%95%e8%a3%853-6","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/956729.html","title":{"rendered":"python 2.7\u5982\u4f55\u88c53.6"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25100205\/34434b3e-f634-4112-84cb-8a20be6b8809.webp\" alt=\"python 2.7\u5982\u4f55\u88c53.6\" \/><\/p>\n<p><p> <strong>\u8981\u5728\u7cfb\u7edf\u4e2d\u540c\u65f6\u5b89\u88c5Python 2.7\u548cPython 3.6\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u3001\u865a\u62df\u73af\u5883\u6216\u76f4\u63a5\u4ece\u6e90\u4ee3\u7801\u7f16\u8bd1\u6765\u5b9e\u73b0\u3002\u901a\u8fc7\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u5b89\u88c5\u3001\u914d\u7f6e\u865a\u62df\u73af\u5883\u4ee5\u9694\u79bb\u4e0d\u540c\u7248\u672c\u3001\u4ece\u6e90\u7801\u6784\u5efa\u548c\u7ba1\u7406PATH\u73af\u5883\u53d8\u91cf\uff0c\u60a8\u53ef\u4ee5\u5728\u540c\u4e00\u7cfb\u7edf\u4e0a\u65e0\u7f1d\u5730\u8fd0\u884c\u591a\u4e2aPython\u7248\u672c\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u5b89\u88c5Python 3.6<\/p>\n<\/p>\n<p><p>\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u662f\u5b89\u88c5Python 3.6\u7684\u6700\u7b80\u5355\u65b9\u6cd5\u4e4b\u4e00\u3002\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u6709\u4e0d\u540c\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u5982Ubuntu\u4f7f\u7528apt\uff0cCentOS\u4f7f\u7528yum\uff0cWindows\u53ef\u4ee5\u4f7f\u7528chocolatey\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Ubuntu\/Debian<\/strong><\/p>\n<\/p>\n<p><p>\u5728Ubuntu\u548cDebian\u7cfb\u7edf\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528apt\u5305\u7ba1\u7406\u5668\u5b89\u88c5Python 3.6\u3002\u9996\u5148\uff0c\u60a8\u9700\u8981\u66f4\u65b0\u5305\u7ba1\u7406\u5668\u7684\u6e90\u5217\u8868\uff0c\u7136\u540e\u5b89\u88c5Python 3.6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo apt update<\/p>\n<p>sudo apt install python3.6<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u8fd0\u884c<code>python3.6<\/code>\u547d\u4ee4\u6765\u542f\u52a8Python 3.6\u89e3\u91ca\u5668\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>CentOS\/RHEL<\/strong><\/p>\n<\/p>\n<p><p>\u5728CentOS\u6216RHEL\u7cfb\u7edf\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528Software Collections (SCL)\u6765\u5b89\u88c5Python 3.6\u3002\u9996\u5148\uff0c\u542f\u7528SCL\uff0c\u7136\u540e\u5b89\u88c5Python 3.6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo yum install centos-release-scl<\/p>\n<p>sudo yum install rh-python36<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u8fd0\u884c<code>scl enable rh-python36 bash<\/code>\u6765\u542f\u7528Python 3.6\u73af\u5883\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Windows<\/strong><\/p>\n<\/p>\n<p><p>\u5728Windows\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528chocolatey\u6765\u5b89\u88c5Python 3.6\u3002\u9996\u5148\uff0c\u786e\u4fdd\u60a8\u5df2\u5b89\u88c5chocolatey\uff0c\u7136\u540e\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-powershell\">choco install python --version=3.6<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u8fd0\u884c<code>python<\/code>\u6765\u542f\u52a8Python 3.6\u89e3\u91ca\u5668\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u914d\u7f6e\u865a\u62df\u73af\u5883<\/p>\n<\/p>\n<p><p>\u5728\u7cfb\u7edf\u4e2d\u5b89\u88c5\u591a\u4e2aPython\u7248\u672c\u65f6\uff0c\u4f7f\u7528\u865a\u62df\u73af\u5883\u53ef\u4ee5\u5e2e\u52a9\u60a8\u7ba1\u7406\u548c\u9694\u79bb\u4e0d\u540c\u9879\u76ee\u7684\u4f9d\u8d56\u5173\u7cfb\u3002Python\u63d0\u4f9b\u4e86<code>venv<\/code>\u6a21\u5757\u7528\u4e8e\u521b\u5efa\u865a\u62df\u73af\u5883\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efa\u865a\u62df\u73af\u5883<\/strong><\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u4f7f\u7528Python 3.6\u521b\u5efa\u4e00\u4e2a\u865a\u62df\u73af\u5883\u3002\u5047\u8bbe\u60a8\u5df2\u6210\u529f\u5b89\u88c5Python 3.6\u5e76\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528<code>python3.6<\/code>\u547d\u4ee4\u542f\u52a8\u5b83\uff0c\u60a8\u53ef\u4ee5\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u521b\u5efa\u865a\u62df\u73af\u5883\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3.6 -m venv myenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u5728\u5f53\u524d\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>myenv<\/code>\u7684\u865a\u62df\u73af\u5883\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6fc0\u6d3b\u865a\u62df\u73af\u5883<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u521b\u5efa\u865a\u62df\u73af\u5883\u540e\uff0c\u60a8\u9700\u8981\u6fc0\u6d3b\u5b83\u3002\u6fc0\u6d3b\u865a\u62df\u73af\u5883\u53ef\u4ee5\u786e\u4fdd\u60a8\u5728\u8be5\u73af\u5883\u4e2d\u5b89\u88c5\u7684\u5305\u4e0d\u4f1a\u5f71\u54cd\u5168\u5c40Python\u73af\u5883\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>Linux\/macOS<\/strong><\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">source myenv\/bin\/activate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>Windows<\/strong><\/p>\n<\/p>\n<p><pre><code class=\"language-cmd\">myenv\\Scripts\\activate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u6fc0\u6d3b\u865a\u62df\u73af\u5883\u540e\uff0c\u60a8\u4f1a\u5728\u547d\u4ee4\u884c\u63d0\u793a\u7b26\u524d\u770b\u5230\u73af\u5883\u540d\u79f0\uff0c\u8868\u793a\u60a8\u5df2\u8fdb\u5165\u8be5\u865a\u62df\u73af\u5883\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5728\u865a\u62df\u73af\u5883\u4e2d\u5b89\u88c5\u548c\u4f7f\u7528\u5305<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u6fc0\u6d3b\u7684\u865a\u62df\u73af\u5883\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528pip\u547d\u4ee4\u5b89\u88c5\u6240\u9700\u7684Python\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<p><p>\u8fd9\u6837\u5b89\u88c5\u7684\u5305\u4ec5\u5728\u5f53\u524d\u865a\u62df\u73af\u5883\u4e2d\u53ef\u7528\uff0c\u4e0d\u4f1a\u5f71\u54cd\u7cfb\u7edf\u7684\u5176\u4ed6Python\u73af\u5883\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u4ece\u6e90\u4ee3\u7801\u7f16\u8bd1\u5b89\u88c5Python 3.6<\/p>\n<\/p>\n<p><p>\u5982\u679c\u7cfb\u7edf\u5305\u7ba1\u7406\u5668\u4e2d\u6ca1\u6709Python 3.6\uff0c\u6216\u8005\u60a8\u5e0c\u671b\u81ea\u5b9a\u4e49Python\u5b89\u88c5\uff0c\u60a8\u53ef\u4ee5\u9009\u62e9\u4ece\u6e90\u4ee3\u7801\u7f16\u8bd1\u5b89\u88c5Python 3.6\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4e0b\u8f7dPython 3.6\u6e90\u4ee3\u7801<\/strong><\/p>\n<\/p>\n<p><p>\u8bbf\u95eePython\u7684\u5b98\u65b9\u7f51\u7ad9\uff0c\u4e0b\u8f7dPython 3.6\u7684\u6e90\u4ee3\u7801\u538b\u7f29\u5305\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528wget\u547d\u4ee4\u4e0b\u8f7d\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">wget https:\/\/www.python.org\/ftp\/python\/3.6.15\/Python-3.6.15.tgz<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u89e3\u538b\u548c\u7f16\u8bd1\u5b89\u88c5<\/strong><\/p>\n<\/p>\n<p><p>\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u89e3\u538b\u538b\u7f29\u5305\u5e76\u8fdb\u5165\u89e3\u538b\u76ee\u5f55\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">tar -xvf Python-3.6.15.tgz<\/p>\n<p>cd Python-3.6.15<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u7f16\u8bd1\u548c\u5b89\u88c5Python\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">.\/configure<\/p>\n<p>make<\/p>\n<p>sudo make install<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u5728\u9ed8\u8ba4\u5b89\u88c5\u76ee\u5f55\uff08\u901a\u5e38\u662f<code>\/usr\/local\/bin<\/code>\uff09\u4e2d\u5b89\u88c5Python 3.6\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u7ba1\u7406PATH\u73af\u5883\u53d8\u91cf<\/p>\n<\/p>\n<p><p>\u5b89\u88c5\u591a\u4e2aPython\u7248\u672c\u540e\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u7ba1\u7406\u7cfb\u7edf\u7684PATH\u73af\u5883\u53d8\u91cf\uff0c\u4ee5\u4fbf\u8f7b\u677e\u5207\u6362\u4e0d\u540c\u7684Python\u7248\u672c\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u67e5\u770b\u5f53\u524dPython\u7248\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd0\u884c<code>python --version<\/code>\u548c<code>python3 --version<\/code>\u547d\u4ee4\uff0c\u60a8\u53ef\u4ee5\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u9ed8\u8ba4\u7684Python\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4fee\u6539PATH\u53d8\u91cf<\/strong><\/p>\n<\/p>\n<p><p>\u60a8\u53ef\u4ee5\u5728shell\u914d\u7f6e\u6587\u4ef6\uff08\u5982<code>.bashrc<\/code>\u6216<code>.bash_profile<\/code>\uff09\u4e2d\u4fee\u6539PATH\u53d8\u91cf\uff0c\u4ee5\u4f18\u5148\u4f7f\u7528\u67d0\u4e2aPython\u7248\u672c\u3002\u4f8b\u5982\uff0c\u8981\u4f18\u5148\u4f7f\u7528Python 3.6\uff0c\u60a8\u53ef\u4ee5\u5728<code>.bashrc<\/code>\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u884c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">export PATH=&quot;\/usr\/local\/bin\/python3.6:$PATH&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4fdd\u5b58\u6587\u4ef6\u540e\uff0c\u8fd0\u884c<code>source ~\/.bashrc<\/code>\u547d\u4ee4\u4f7f\u66f4\u6539\u751f\u6548\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528\u522b\u540d\u5207\u6362Python\u7248\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u60a8\u8fd8\u53ef\u4ee5\u4f7f\u7528\u522b\u540d\u6765\u5feb\u901f\u5207\u6362Python\u7248\u672c\u3002\u5728<code>.bashrc<\/code>\u6587\u4ef6\u4e2d\uff0c\u6dfb\u52a0\u4ee5\u4e0b\u884c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">alias python2=&#39;\/usr\/bin\/python2.7&#39;<\/p>\n<p>alias python3=&#39;\/usr\/local\/bin\/python3.6&#39;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4fdd\u5b58\u6587\u4ef6\u540e\uff0c\u8fd0\u884c<code>source ~\/.bashrc<\/code>\u547d\u4ee4\u4f7f\u66f4\u6539\u751f\u6548\u3002\u73b0\u5728\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u8fd0\u884c<code>python2<\/code>\u548c<code>python3<\/code>\u547d\u4ee4\u6765\u5206\u522b\u542f\u52a8Python 2.7\u548cPython 3.6\u89e3\u91ca\u5668\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u60a8\u53ef\u4ee5\u5728\u7cfb\u7edf\u4e2d\u540c\u65f6\u5b89\u88c5\u548c\u7ba1\u7406Python 2.7\u548cPython 3.6\uff0c\u5e76\u6839\u636e\u9700\u8981\u5207\u6362\u4f7f\u7528\u4e0d\u540c\u7684Python\u7248\u672c\u3002\u8fd9\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u5728\u8fc1\u79fb\u9879\u76ee\u65f6\u786e\u4fdd\u517c\u5bb9\u6027\uff0c\u6216\u8005\u5728\u4e0d\u540c\u7684\u9879\u76ee\u4e2d\u4f7f\u7528\u4e0d\u540c\u7248\u672c\u7684Python\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728\u540c\u4e00\u53f0\u673a\u5668\u4e0a\u5b89\u88c5Python 3.6\u800c\u4e0d\u5f71\u54cd\u73b0\u6709\u7684Python 2.7\uff1f<\/strong><br \/>\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u865a\u62df\u73af\u5883\u7684\u65b9\u5f0f\u6765\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\u3002\u9996\u5148\uff0c\u5b89\u88c5<code>virtualenv<\/code>\u5de5\u5177\uff0c\u7136\u540e\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u865a\u62df\u73af\u5883\u5e76\u6307\u5b9aPython 3.6\u4f5c\u4e3a\u8be5\u73af\u5883\u7684Python\u7248\u672c\u3002\u6fc0\u6d3b\u8be5\u73af\u5883\u540e\uff0c\u60a8\u53ef\u4ee5\u5728\u5176\u4e2d\u5b89\u88c5\u548c\u4f7f\u7528Python 3.6\uff0c\u800c\u4e0d\u5e72\u6270\u7cfb\u7edf\u4e2d\u7684Python 2.7\u3002<\/p>\n<p><strong>\u5b89\u88c5Python 3.6\u540e\uff0c\u5982\u4f55\u9009\u62e9\u4f7f\u7528\u54ea\u4e2a\u7248\u672c\u7684Python\uff1f<\/strong><br \/>\u5728\u547d\u4ee4\u884c\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528<code>python<\/code>\u6216<code>python3<\/code>\u547d\u4ee4\u6765\u9009\u62e9\u4e0d\u540c\u7684Python\u7248\u672c\u3002\u5982\u679c\u60a8\u5728\u521b\u5efa\u865a\u62df\u73af\u5883\u65f6\u4e3a\u5176\u6307\u5b9a\u4e86Python 3.6\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u6fc0\u6d3b\u8be5\u865a\u62df\u73af\u5883\u540e\u4f7f\u7528<code>python<\/code>\u547d\u4ee4\u6765\u8fd0\u884cPython 3.6\u3002\u6b64\u5916\uff0c\u8bb8\u591a\u64cd\u4f5c\u7cfb\u7edf\u4e5f\u652f\u6301\u4f7f\u7528<code>python2<\/code>\u548c<code>python3<\/code>\u547d\u4ee4\u6765\u533a\u5206\u4e0d\u540c\u7684\u7248\u672c\u3002<\/p>\n<p><strong>\u5728Python 3.6\u4e2d\uff0c\u5982\u4f55\u8fc1\u79fb\u6211\u7684Python 2.7\u4ee3\u7801\uff1f<\/strong><br \/>\u8fc1\u79fb\u4ee3\u7801\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528<code>2to3<\/code>\u5de5\u5177\u6765\u5b8c\u6210\uff0c\u8be5\u5de5\u5177\u53ef\u4ee5\u81ea\u52a8\u5c06Python 2\u4ee3\u7801\u8f6c\u6362\u4e3aPython 3\u4ee3\u7801\u3002\u867d\u7136\u8fd9\u4e2a\u5de5\u5177\u53ef\u4ee5\u5904\u7406\u8bb8\u591a\u5e38\u89c1\u7684\u8bed\u6cd5\u548c\u5e93\u5dee\u5f02\uff0c\u4f46\u5bf9\u4e8e\u590d\u6742\u7684\u4ee3\u7801\uff0c\u624b\u52a8\u68c0\u67e5\u548c\u4fee\u6539\u4ecd\u7136\u662f\u5fc5\u8981\u7684\u3002\u786e\u4fdd\u5728\u8fc1\u79fb\u540e\u8fdb\u884c\u5145\u5206\u7684\u6d4b\u8bd5\uff0c\u4ee5\u786e\u4fdd\u4ee3\u7801\u5728Python 3.6\u4e2d\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728\u7cfb\u7edf\u4e2d\u540c\u65f6\u5b89\u88c5Python 2.7\u548cPython 3.6\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u3001\u865a\u62df\u73af\u5883\u6216\u76f4\u63a5\u4ece\u6e90\u4ee3\u7801\u7f16\u8bd1 [&hellip;]","protected":false},"author":3,"featured_media":956734,"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\/956729"}],"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=956729"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/956729\/revisions"}],"predecessor-version":[{"id":956735,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/956729\/revisions\/956735"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/956734"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=956729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=956729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=956729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}