{"id":1064198,"date":"2024-12-31T16:07:01","date_gmt":"2024-12-31T08:07:01","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1064198.html"},"modified":"2024-12-31T16:07:03","modified_gmt":"2024-12-31T08:07:03","slug":"%e5%a6%82%e4%bd%95%e7%94%a8%e5%91%bd%e4%bb%a4%e8%a1%8c%e4%b8%8b%e8%bd%bdpython","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1064198.html","title":{"rendered":"\u5982\u4f55\u7528\u547d\u4ee4\u884c\u4e0b\u8f7dpython"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/61ea8646-2950-4e51-bc13-0b6b752baafa.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"\u5982\u4f55\u7528\u547d\u4ee4\u884c\u4e0b\u8f7dpython\" \/><\/p>\n<p><p> <strong>\u4f7f\u7528\u547d\u4ee4\u884c\u4e0b\u8f7dPython\u7684\u6b65\u9aa4\u5305\u62ec\uff1a\u5b89\u88c5\u5305\u7ba1\u7406\u5de5\u5177\u3001\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u4e0b\u8f7dPython\u3001\u9a8c\u8bc1\u5b89\u88c5\u3002<\/strong> \u5176\u4e2d\uff0c\u901a\u8fc7\u5305\u7ba1\u7406\u5de5\u5177\u5982Homebrew\u3001apt-get\u6216yum\u7b49\uff0c\u53ef\u4ee5\u5feb\u901f\u4e0b\u8f7d\u5e76\u5b89\u88c5Python\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b89\u88c5\u5305\u7ba1\u7406\u5de5\u5177<\/h3>\n<\/p>\n<p><p>\u5728\u591a\u6570\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u5305\u7ba1\u7406\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u66f4\u65b9\u4fbf\u5730\u5b89\u88c5\u548c\u7ba1\u7406\u8f6f\u4ef6\u5305\u3002\u5e38\u89c1\u7684\u5305\u7ba1\u7406\u5de5\u5177\u6709\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>Homebrew<\/strong>\uff08\u9002\u7528\u4e8emacOS\uff09<\/li>\n<li><strong>apt-get<\/strong>\uff08\u9002\u7528\u4e8eDebian\/Ubuntu\uff09<\/li>\n<li><strong>yum<\/strong>\uff08\u9002\u7528\u4e8eCentOS\/Fedora\uff09<\/li>\n<\/ol>\n<p><h4>\u5b89\u88c5Homebrew<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662fmacOS\uff0c\u63a8\u8350\u4f7f\u7528Homebrew\u3002Homebrew\u662f\u4e00\u4e2a\u975e\u5e38\u6d41\u884c\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u7b80\u5316\u8f6f\u4ef6\u5305\u7684\u5b89\u88c5\u8fc7\u7a0b\u3002<\/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><h4>\u4f7f\u7528apt-get<\/h4>\n<\/p>\n<p><p>Debian\u548cUbuntu\u7cfb\u7edf\u901a\u5e38\u9884\u88c5\u4e86apt-get\uff0c\u56e0\u6b64\u65e0\u9700\u989d\u5916\u5b89\u88c5\u3002\u4f60\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u5b83\u6765\u5b89\u88c5Python\u3002<\/p>\n<\/p>\n<p><h4>\u4f7f\u7528yum<\/h4>\n<\/p>\n<p><p>CentOS\u548cFedora\u7cfb\u7edf\u901a\u5e38\u9884\u88c5\u4e86yum\uff0c\u540c\u6837\u65e0\u9700\u989d\u5916\u5b89\u88c5\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u4e0b\u8f7dPython<\/h3>\n<\/p>\n<p><h4>\u4f7f\u7528Homebrew\u4e0b\u8f7dPython<\/h4>\n<\/p>\n<p><p>\u5728\u5b89\u88c5\u597dHomebrew\u4e4b\u540e\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Python\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">brew install python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u4f7f\u7528apt-get\u4e0b\u8f7dPython<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8eDebian\/Ubuntu\u7528\u6237\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Python\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo apt-get update<\/p>\n<p>sudo apt-get install python3<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u4f7f\u7528yum\u4e0b\u8f7dPython<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8eCentOS\/Fedora\u7528\u6237\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Python\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo yum install python3<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u9a8c\u8bc1\u5b89\u88c5<\/h3>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u9a8c\u8bc1Python\u662f\u5426\u5b89\u88c5\u6210\u529f\uff0c\u5e76\u67e5\u770b\u5176\u7248\u672c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f60\u5e94\u8be5\u4f1a\u770b\u5230\u7c7b\u4f3c\u4ee5\u4e0b\u7684\u8f93\u51fa\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">Python 3.x.x<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u8868\u660ePython\u5df2\u7ecf\u6210\u529f\u5b89\u88c5\u5728\u4f60\u7684\u7cfb\u7edf\u4e2d\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h3>\n<\/p>\n<p><p>\u6709\u65f6\u5019\uff0c\u5b89\u88c5\u5b8cPython\u540e\uff0c\u9700\u8981\u914d\u7f6e\u73af\u5883\u53d8\u91cf\uff0c\u4ee5\u4fbf\u5728\u547d\u4ee4\u884c\u4e2d\u5168\u5c40\u8bbf\u95eePython\u3002<\/p>\n<\/p>\n<p><h4>Windows\u7cfb\u7edf\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h4>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u63a7\u5236\u9762\u677f\uff0c\u9009\u62e9\u201c\u7cfb\u7edf\u548c\u5b89\u5168\u201d\u3002<\/li>\n<li>\u9009\u62e9\u201c\u7cfb\u7edf\u201d\uff0c\u7136\u540e\u70b9\u51fb\u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d\u3002<\/li>\n<li>\u5728\u201c\u7cfb\u7edf\u5c5e\u6027\u201d\u7a97\u53e3\u4e2d\uff0c\u70b9\u51fb\u201c\u73af\u5883\u53d8\u91cf\u201d\u6309\u94ae\u3002<\/li>\n<li>\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u90e8\u5206\uff0c\u627e\u5230\u5e76\u9009\u62e9\u201cPath\u201d\uff0c\u70b9\u51fb\u201c\u7f16\u8f91\u201d\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u65b0\u5efa\u201d\uff0c\u7136\u540e\u8f93\u5165Python\u7684\u5b89\u88c5\u8def\u5f84\uff0c\u6bd4\u5982<code>C:\\Python39<\/code>\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u786e\u5b9a\u201d\u4fdd\u5b58\u66f4\u6539\u3002<\/li>\n<\/ol>\n<p><h4>macOS\u548cLinux\u7cfb\u7edf\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h4>\n<\/p>\n<ol>\n<li>\u6253\u5f00\u7ec8\u7aef\u3002<\/li>\n<li>\u7f16\u8f91<code>.bash_profile<\/code>\u6216<code>.zshrc<\/code>\u6587\u4ef6\uff08\u53d6\u51b3\u4e8e\u4f60\u4f7f\u7528\u7684shell\uff09\uff0c\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/li>\n<\/ol>\n<p><pre><code class=\"language-bash\">export PATH=&quot;\/usr\/local\/bin\/python3:$PATH&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li>\u4fdd\u5b58\u6587\u4ef6\u5e76\u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e\uff1a<\/li>\n<\/ol>\n<p><pre><code class=\"language-bash\">source ~\/.bash_profile  # \u6216 source ~\/.zshrc<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u5b89\u88c5pip\u548c\u865a\u62df\u73af\u5883<\/h3>\n<\/p>\n<p><h4>\u5b89\u88c5pip<\/h4>\n<\/p>\n<p><p>pip\u662fPython\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u7528\u4e8e\u5b89\u88c5\u548c\u7ba1\u7406Python\u5305\u3002\u901a\u5e38\uff0cPython 3.x\u7248\u672c\u5df2\u7ecf\u81ea\u5e26pip\uff0c\u4f46\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u786e\u8ba4\u5e76\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 -m ensurepip --upgrade<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u521b\u5efa\u865a\u62df\u73af\u5883<\/h4>\n<\/p>\n<p><p>\u865a\u62df\u73af\u5883\u53ef\u4ee5\u5e2e\u52a9\u4f60\u9694\u79bb\u9879\u76ee\u7684\u4f9d\u8d56\uff0c\u907f\u514d\u5168\u5c40\u5b89\u88c5\u5305\u7684\u51b2\u7a81\u3002\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u521b\u5efa\u548c\u6fc0\u6d3b\u865a\u62df\u73af\u5883\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u521b\u5efa\u865a\u62df\u73af\u5883\uff1a<\/li>\n<\/ol>\n<p><pre><code class=\"language-bash\">python3 -m venv myenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>\n<p>\u6fc0\u6d3b\u865a\u62df\u73af\u5883\uff1a<\/p>\n<\/p>\n<ul>\n<li>macOS\/Linux\uff1a<\/li>\n<\/ul>\n<p><pre><code class=\"language-bash\">source myenv\/bin\/activate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ul>\n<li>Windows\uff1a<\/li>\n<\/ul>\n<p><pre><code class=\"language-bash\">.\\myenv\\Scripts\\activate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u5728\u865a\u62df\u73af\u5883\u4e2d\u5b89\u88c5\u6240\u9700\u7684Python\u5305\uff1a<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><pre><code class=\"language-bash\">pip install package_name<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"4\">\n<li>\u5b8c\u6210\u5de5\u4f5c\u540e\uff0c\u9000\u51fa\u865a\u62df\u73af\u5883\uff1a<\/li>\n<\/ol>\n<p><pre><code class=\"language-bash\">deactivate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u65b9\u6848<\/h3>\n<\/p>\n<p><h4>\u627e\u4e0d\u5230Python\u547d\u4ee4<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u5728\u547d\u4ee4\u884c\u4e2d\u65e0\u6cd5\u627e\u5230Python\u547d\u4ee4\uff0c\u53ef\u80fd\u662f\u56e0\u4e3a\u73af\u5883\u53d8\u91cf\u672a\u6b63\u786e\u914d\u7f6e\u3002\u8bf7\u786e\u4fdd\u4f60\u5df2\u6309\u7167\u4e0a\u8ff0\u6b65\u9aa4\u914d\u7f6e\u597d\u73af\u5883\u53d8\u91cf\uff0c\u5e76\u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h4>\u591a\u4e2aPython\u7248\u672c\u51b2\u7a81<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u7cfb\u7edf\u4e2d\u5b58\u5728\u591a\u4e2aPython\u7248\u672c\uff0c\u53ef\u80fd\u4f1a\u53d1\u751f\u51b2\u7a81\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528<code>python3<\/code>\u6216<code>python2<\/code>\u660e\u786e\u6307\u5b9a\u7248\u672c\uff0c\u6216\u8005\u4f7f\u7528\u865a\u62df\u73af\u5883\u6765\u9694\u79bb\u4e0d\u540c\u9879\u76ee\u7684\u4f9d\u8d56\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4\uff0c\u4f60\u53ef\u4ee5\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u4f7f\u7528\u547d\u4ee4\u884c\u4e0b\u8f7d\u5e76\u5b89\u88c5Python\uff0c\u5e76\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u4ee5\u4fbf\u5168\u5c40\u8bbf\u95eePython\u3002<strong>\u5b89\u88c5\u5305\u7ba1\u7406\u5de5\u5177\u3001\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u4e0b\u8f7dPython\u3001\u9a8c\u8bc1\u5b89\u88c5\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u5b89\u88c5pip\u548c\u865a\u62df\u73af\u5883<\/strong>\u7b49\u6b65\u9aa4\u53ef\u4ee5\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7ba1\u7406Python\u73af\u5883\u5e76\u89e3\u51b3\u5e38\u89c1\u95ee\u9898\u3002\u5e0c\u671b\u8fd9\u4e9b\u5185\u5bb9\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff0c\u795d\u4f60\u5728Python\u7f16\u7a0b\u4e4b\u8def\u4e0a\u53d6\u5f97\u6210\u529f\uff01<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728\u547d\u4ee4\u884c\u4e2d\u786e\u8ba4\u662f\u5426\u5df2\u7ecf\u5b89\u88c5Python\uff1f<\/strong><br \/>\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>python --version<\/code>\u6216<code>python3 --version<\/code>\uff0c\u53ef\u4ee5\u67e5\u770bPython\u7684\u7248\u672c\u4fe1\u606f\u3002\u5982\u679c\u7cfb\u7edf\u8fd4\u56de\u4e86Python\u7684\u7248\u672c\u53f7\uff0c\u8bf4\u660e\u5df2\u7ecf\u5b89\u88c5\u4e86Python\u3002\u5982\u679c\u7cfb\u7edf\u63d0\u793a\u627e\u4e0d\u5230\u547d\u4ee4\uff0c\u8bf4\u660e\u9700\u8981\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<p><strong>\u5728Windows\u548cLinux\u7cfb\u7edf\u4e2d\u4e0b\u8f7dPython\u7684\u6b65\u9aa4\u6709\u54ea\u4e9b\uff1f<\/strong><br \/>\u5728Windows\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbf\u95eePython\u5b98\u7f51\uff0c\u4e0b\u8f7d\u9002\u5408\u7684\u5b89\u88c5\u5305\uff0c\u7136\u540e\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528<code>python<\/code>\u547d\u4ee4\u6765\u786e\u8ba4\u5b89\u88c5\u662f\u5426\u6210\u529f\u3002\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5305\u7ba1\u7406\u5668\uff0c\u5982<code>apt<\/code>\u6216<code>yum<\/code>\uff0c\u901a\u8fc7\u547d\u4ee4<code>sudo apt install python3<\/code>\u6216<code>sudo yum install python3<\/code>\u6765\u4e0b\u8f7d\u548c\u5b89\u88c5Python\u3002<\/p>\n<p><strong>\u4e0b\u8f7dPython\u540e\u5982\u4f55\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u4ee5\u4fbf\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528\uff1f<\/strong><br \/>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u5b89\u88c5Python\u65f6\u53ef\u4ee5\u9009\u62e9\u81ea\u52a8\u6dfb\u52a0\u5230\u73af\u5883\u53d8\u91cf\uff0c\u82e5\u672a\u9009\u62e9\uff0c\u5219\u9700\u8981\u624b\u52a8\u6dfb\u52a0\u3002\u53ef\u4ee5\u901a\u8fc7\u201c\u7cfb\u7edf\u5c5e\u6027\u201d\u4e2d\u7684\u201c\u73af\u5883\u53d8\u91cf\u201d\u8bbe\u7f6e\uff0c\u627e\u5230\u201cPath\u201d\u53d8\u91cf\u5e76\u6dfb\u52a0Python\u7684\u5b89\u88c5\u8def\u5f84\u3002\u5728Linux\u4e2d\uff0c\u901a\u5e38\u4e0d\u9700\u8981\u624b\u52a8\u914d\u7f6e\uff0c\u5b89\u88c5\u540e\u5373\u53ef\u76f4\u63a5\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528Python\u547d\u4ee4\u3002<\/p>\n<p><strong>\u5728\u547d\u4ee4\u884c\u4e2d\u4e0b\u8f7dPython\u540e\uff0c\u5982\u4f55\u786e\u8ba4\u5b89\u88c5\u7684\u6a21\u5757\u548c\u5e93\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528<code>pip list<\/code>\u547d\u4ee4\u67e5\u770b\u5f53\u524d\u5b89\u88c5\u7684\u6240\u6709Python\u6a21\u5757\u548c\u5e93\u3002\u82e5\u8981\u68c0\u67e5\u7279\u5b9a\u6a21\u5757\u662f\u5426\u5df2\u5b89\u88c5\uff0c\u53ef\u4ee5\u7528<code>pip show &lt;\u6a21\u5757\u540d&gt;<\/code>\u547d\u4ee4\u6765\u83b7\u53d6\u8be6\u7ec6\u4fe1\u606f\uff0c\u5305\u62ec\u7248\u672c\u53f7\u548c\u5b89\u88c5\u4f4d\u7f6e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528\u547d\u4ee4\u884c\u4e0b\u8f7dPython\u7684\u6b65\u9aa4\u5305\u62ec\uff1a\u5b89\u88c5\u5305\u7ba1\u7406\u5de5\u5177\u3001\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u4e0b\u8f7dPython\u3001\u9a8c\u8bc1\u5b89\u88c5\u3002 \u5176\u4e2d\uff0c\u901a\u8fc7\u5305 [&hellip;]","protected":false},"author":3,"featured_media":1064206,"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\/1064198"}],"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=1064198"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1064198\/revisions"}],"predecessor-version":[{"id":1064208,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1064198\/revisions\/1064208"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1064206"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1064198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1064198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1064198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}