{"id":980161,"date":"2024-12-27T06:52:22","date_gmt":"2024-12-26T22:52:22","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/980161.html"},"modified":"2024-12-27T06:52:24","modified_gmt":"2024-12-26T22:52:24","slug":"%e5%a6%82%e4%bd%95%e6%89%93%e5%bc%80python%e5%85%b6%e4%bb%96%e7%89%88%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/980161.html","title":{"rendered":"\u5982\u4f55\u6253\u5f00python\u5176\u4ed6\u7248\u672c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24205655\/3e8c62e7-6551-488f-b881-dd9b9dbe9fd2.webp\" alt=\"\u5982\u4f55\u6253\u5f00python\u5176\u4ed6\u7248\u672c\" \/><\/p>\n<p><p> <strong>\u8981\u6253\u5f00Python\u7684\u5176\u4ed6\u7248\u672c\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a\u4f7f\u7528\u865a\u62df\u73af\u5883\u3001\u4f7f\u7528pyenv\u5de5\u5177\u3001\u76f4\u63a5\u6307\u5b9aPython\u8def\u5f84\u3002\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u91cd\u70b9\u4ecb\u7ecd\u4f7f\u7528pyenv\u5de5\u5177\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528pyenv\u5de5\u5177\u662f\u7ba1\u7406\u548c\u5207\u6362Python\u7248\u672c\u7684\u5e38\u7528\u65b9\u6cd5\u4e4b\u4e00\u3002\u9996\u5148\uff0c\u60a8\u9700\u8981\u5728\u7cfb\u7edf\u4e0a\u5b89\u88c5pyenv\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528pyenv\u547d\u4ee4\u6765\u5b89\u88c5\u4e0d\u540c\u7684Python\u7248\u672c\uff0c\u5e76\u5728\u4e0d\u540c\u7248\u672c\u4e4b\u95f4\u5207\u6362\u3002\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u56e0\u4e0d\u540c\u9879\u76ee\u9700\u8981\u4e0d\u540cPython\u7248\u672c\u800c\u5bfc\u81f4\u7684\u517c\u5bb9\u6027\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7pyenv\u5de5\u5177\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u5730\u5b89\u88c5\u548c\u7ba1\u7406\u591a\u4e2aPython\u7248\u672c\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u5217\u51fa\u53ef\u7528\u7684Python\u7248\u672c\uff1a<code>pyenv install --list<\/code>\u3002\u7136\u540e\uff0c\u4f7f\u7528<code>pyenv install &lt;version&gt;<\/code>\u5b89\u88c5\u6240\u9700\u7684Python\u7248\u672c\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pyenv global &lt;version&gt;<\/code>\u6216<code>pyenv local &lt;version&gt;<\/code>\u6765\u8bbe\u7f6e\u5168\u5c40\u6216\u5c40\u90e8\u7684Python\u7248\u672c\u3002<\/p>\n<\/p>\n<hr>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u865a\u62df\u73af\u5883<\/h3>\n<\/p>\n<p><p>\u865a\u62df\u73af\u5883\u662f\u7ba1\u7406Python\u9879\u76ee\u4f9d\u8d56\u5173\u7cfb\u7684\u4e00\u79cd\u6709\u6548\u65b9\u5f0f\uff0c\u7279\u522b\u662f\u5728\u9700\u8981\u4e0d\u540c\u9879\u76ee\u4f9d\u8d56\u4e0d\u540c\u7248\u672c\u7684Python\u65f6\u3002<\/p>\n<\/p>\n<p><h4>1.1 \u521b\u5efa\u865a\u62df\u73af\u5883<\/h4>\n<\/p>\n<p><p>\u8981\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u865a\u62df\u73af\u5883\uff0c\u53ef\u4ee5\u4f7f\u7528<code>venv<\/code>\u6a21\u5757\uff08Python 3.3\u53ca\u4ee5\u4e0a\u7248\u672c\uff09\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3 -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\u6587\u4ef6\u5939\uff0c\u5176\u4e2d\u5305\u542b\u865a\u62df\u73af\u5883\u3002<\/p>\n<\/p>\n<p><h4>1.2 \u6fc0\u6d3b\u548c\u4f7f\u7528\u865a\u62df\u73af\u5883<\/h4>\n<\/p>\n<p><p>\u521b\u5efa\u865a\u62df\u73af\u5883\u540e\uff0c\u9700\u8981\u6fc0\u6d3b\u5b83\u624d\u80fd\u4f7f\u7528\uff1a<\/p>\n<\/p>\n<ul>\n<li>\n<p>\u5728Windows\u4e0a\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">myenv\\Scripts\\activate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u5728Unix\u6216MacOS\u4e0a\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">source myenv\/bin\/activate<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u6fc0\u6d3b\u540e\uff0c\u60a8\u4f1a\u770b\u5230\u547d\u4ee4\u63d0\u793a\u7b26\u524d\u9762\u6709\u4e00\u4e2a\u62ec\u53f7\u62ec\u8d77\u6765\u7684\u73af\u5883\u540d\u79f0<code>(myenv)<\/code>\uff0c\u8868\u793a\u5f53\u524d\u6b63\u5728\u4f7f\u7528\u7684\u865a\u62df\u73af\u5883\u3002<\/p>\n<\/p>\n<p><h4>1.3 \u5b89\u88c5\u7279\u5b9a\u7248\u672c\u7684Python<\/h4>\n<\/p>\n<p><p>\u5728\u865a\u62df\u73af\u5883\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b89\u88c5\u7279\u5b9a\u7248\u672c\u7684Python\u89e3\u91ca\u5668\u6765\u5207\u6362Python\u7248\u672c\u3002\u53ef\u4ee5\u4f7f\u7528<code>pyenv<\/code>\u6765\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528pyenv\u5de5\u5177<\/h3>\n<\/p>\n<p><p>pyenv\u662f\u4e00\u4e2a\u7528\u4e8e\u7ba1\u7406\u591a\u4e2aPython\u7248\u672c\u7684\u5de5\u5177\uff0c\u5141\u8bb8\u60a8\u8f7b\u677e\u5730\u5728\u4e0d\u540c\u7248\u672c\u4e4b\u95f4\u5207\u6362\u3002<\/p>\n<\/p>\n<p><h4>2.1 \u5b89\u88c5pyenv<\/h4>\n<\/p>\n<p><p>\u5728Unix\u6216MacOS\u7cfb\u7edf\u4e0a\uff0c\u53ef\u4ee5\u4f7f\u7528curl\u6216git\u8fdb\u884c\u5b89\u88c5\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>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u9700\u8981\u5728shell\u914d\u7f6e\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\uff0c\u4ee5\u4fbf\u80fd\u591f\u4f7f\u7528pyenv\u547d\u4ee4\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 virtualenv-init -)&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2.2 \u5b89\u88c5\u548c\u5207\u6362Python\u7248\u672c<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528pyenv\u5b89\u88c5\u65b0\u7684Python\u7248\u672c\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><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5207\u6362Python\u7248\u672c\uff1a<\/p>\n<\/p>\n<ul>\n<li>\n<p>\u8bbe\u7f6e\u5168\u5c40Python\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<\/li>\n<li>\n<p>\u8bbe\u7f6e\u5f53\u524d\u76ee\u5f55\u4e0b\u7684Python\u7248\u672c\uff08\u5c40\u90e8\u8bbe\u7f6e\uff09\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyenv local 3.9.1<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<p><h4>2.3 \u68c0\u67e5\u5f53\u524dPython\u7248\u672c<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5\u5f53\u524d\u6b63\u5728\u4f7f\u7528\u7684Python\u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyenv version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u76f4\u63a5\u6307\u5b9aPython\u8def\u5f84<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u76f4\u63a5\u6307\u5b9aPython\u89e3\u91ca\u5668\u7684\u8def\u5f84\u6765\u8fd0\u884c\u7279\u5b9a\u7248\u672c\u7684Python\u3002<\/p>\n<\/p>\n<p><h4>3.1 \u627e\u5230Python\u89e3\u91ca\u5668\u8def\u5f84<\/h4>\n<\/p>\n<p><p>\u4e0d\u540c\u7684Python\u7248\u672c\u5b89\u88c5\u5728\u7cfb\u7edf\u4e2d\u7684\u4e0d\u540c\u4f4d\u7f6e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u67e5\u627ePython\u8def\u5f84\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">which python3.9<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3.2 \u76f4\u63a5\u8fd0\u884c\u6307\u5b9a\u7248\u672c\u7684Python<\/h4>\n<\/p>\n<p><p>\u627e\u5230Python\u89e3\u91ca\u5668\u8def\u5f84\u540e\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u8def\u5f84\u6765\u8fd0\u884cPython\u811a\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">\/path\/to\/python3.9 script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u60a8\u5df2\u7ecf\u77e5\u9053\u786e\u5207\u7684Python\u7248\u672c\u8def\u5f84\u5e76\u4e14\u53ea\u662f\u5076\u5c14\u9700\u8981\u5207\u6362\u7684\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528Anaconda\u7ba1\u7406Python\u7248\u672c<\/h3>\n<\/p>\n<p><p>Anaconda\u662f\u4e00\u4e2a\u6d41\u884c\u7684Python\u53d1\u884c\u7248\uff0c\u63d0\u4f9b\u4e86\u65b9\u4fbf\u7684\u73af\u5883\u7ba1\u7406\u548c\u5305\u7ba1\u7406\u529f\u80fd\uff0c\u9002\u5408\u9700\u8981\u540c\u65f6\u7ba1\u7406\u591a\u4e2aPython\u7248\u672c\u7684\u7528\u6237\u3002<\/p>\n<\/p>\n<p><h4>4.1 \u521b\u5efa\u65b0\u73af\u5883<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528conda\u547d\u4ee4\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u73af\u5883\uff0c\u5e76\u6307\u5b9aPython\u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">conda create --name myenv python=3.9<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>4.2 \u6fc0\u6d3b\u548c\u4f7f\u7528\u73af\u5883<\/h4>\n<\/p>\n<p><p>\u6fc0\u6d3b\u73af\u5883\u540e\uff0c\u6240\u6709Python\u547d\u4ee4\u90fd\u5c06\u5728\u8be5\u73af\u5883\u4e0b\u6267\u884c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">conda activate myenv<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>4.3 \u5207\u6362\u548c\u7ba1\u7406\u73af\u5883<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5217\u51fa\u6240\u6709\u73af\u5883\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">conda env list<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8981\u5207\u6362\u5230\u4e0d\u540c\u7684\u73af\u5883\uff0c\u53ea\u9700\u6fc0\u6d3b\u76f8\u5e94\u7684\u73af\u5883\u5373\u53ef\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728\u7ba1\u7406\u548c\u5207\u6362Python\u7248\u672c\u65f6\uff0c\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u548c\u65b9\u6cd5\u81f3\u5173\u91cd\u8981\u3002<strong>\u4f7f\u7528\u865a\u62df\u73af\u5883\u3001pyenv\u5de5\u5177\u548cAnaconda\u7b49\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u7ba1\u7406\u591a\u4e2aPython\u7248\u672c\uff0c\u786e\u4fdd\u9879\u76ee\u7684\u517c\u5bb9\u6027\u548c\u53ef\u79fb\u690d\u6027\u3002<\/strong>\u8fd9\u4e9b\u5de5\u5177\u5404\u6709\u4f18\u52a3\uff0c\u5177\u4f53\u9009\u62e9\u53d6\u51b3\u4e8e\u60a8\u7684\u4f7f\u7528\u573a\u666f\u548c\u9700\u6c42\u3002\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u4fdd\u6301Python\u73af\u5883\u7684\u6574\u6d01\u548c\u6709\u5e8f\u90fd\u662f\u786e\u4fdd\u9879\u76ee\u987a\u5229\u8fdb\u884c\u7684\u5173\u952e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728\u540c\u4e00\u53f0\u7535\u8111\u4e0a\u5b89\u88c5\u591a\u4e2aPython\u7248\u672c\uff1f<\/strong><br \/>\u5728\u4e00\u53f0\u7535\u8111\u4e0a\u5b89\u88c5\u591a\u4e2aPython\u7248\u672c\u975e\u5e38\u7b80\u5355\u3002\u53ef\u4ee5\u901a\u8fc7\u4e0b\u8f7d\u4e0d\u540c\u7248\u672c\u7684Python\u5b89\u88c5\u7a0b\u5e8f\u5e76\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9009\u62e9\u4e0d\u540c\u7684\u5b89\u88c5\u76ee\u5f55\u6765\u5b9e\u73b0\u3002Windows\u7528\u6237\u53ef\u4ee5\u5728\u5b89\u88c5\u65f6\u9009\u62e9\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u4ee5\u4fbf\u5728\u547d\u4ee4\u884c\u4e2d\u8f7b\u677e\u8bbf\u95ee\u4e0d\u540c\u7248\u672c\u3002\u5bf9\u4e8emacOS\u7528\u6237\uff0c\u53ef\u4ee5\u4f7f\u7528Homebrew\u6765\u5b89\u88c5\u4e0d\u540c\u7248\u672c\u7684Python\uff0c\u547d\u4ee4\u4e3a<code>brew install python@3.x<\/code>\u3002<\/p>\n<p><strong>\u6253\u5f00\u7279\u5b9aPython\u7248\u672c\u7684\u547d\u4ee4\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u8981\u6253\u5f00\u7279\u5b9a\u7248\u672c\u7684Python\uff0c\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165\u76f8\u5e94\u7248\u672c\u7684\u547d\u4ee4\u3002\u4f8b\u5982\uff0c\u5728Windows\u4e0a\uff0c\u5982\u679c\u5b89\u88c5\u4e86Python 3.8\u548c3.9\uff0c\u53ef\u4ee5\u4f7f\u7528<code>python3.8<\/code>\u6216<code>python3.9<\/code>\u547d\u4ee4\u6765\u542f\u52a8\u5bf9\u5e94\u7248\u672c\u3002\u5728Linux\u6216macOS\u4e0a\uff0c\u540c\u6837\u53ef\u4ee5\u4f7f\u7528\u7c7b\u4f3c\u7684\u547d\u4ee4\uff0c\u786e\u4fdd\u5728PATH\u4e2d\u6b63\u786e\u8bbe\u7f6e\u4e86\u5404\u4e2a\u7248\u672c\u7684\u8def\u5f84\u3002<\/p>\n<p><strong>\u5982\u4f55\u7ba1\u7406Python\u7248\u672c\u4ee5\u907f\u514d\u51b2\u7a81\uff1f<\/strong><br \/>\u7ba1\u7406\u591a\u4e2aPython\u7248\u672c\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u7248\u672c\u7ba1\u7406\u5de5\u5177\u5982pyenv\u3002\u8fd9\u4e2a\u5de5\u5177\u5141\u8bb8\u7528\u6237\u8f7b\u677e\u5207\u6362\u4e0d\u540c\u7248\u672c\u7684Python\uff0c\u5e76\u4e3a\u6bcf\u4e2a\u9879\u76ee\u8bbe\u7f6e\u7279\u5b9a\u7684Python\u7248\u672c\u3002\u5b89\u88c5pyenv\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4<code>pyenv install 3.x.x<\/code>\u6765\u5b89\u88c5\u6240\u9700\u7248\u672c\uff0c\u5e76\u4f7f\u7528<code>pyenv global 3.x.x<\/code>\u6216<code>pyenv local 3.x.x<\/code>\u6765\u8bbe\u7f6e\u5168\u5c40\u6216\u5c40\u90e8\u7248\u672c\u3002\u8fd9\u79cd\u65b9\u5f0f\u80fd\u591f\u6709\u6548\u907f\u514d\u7248\u672c\u51b2\u7a81\uff0c\u786e\u4fdd\u9879\u76ee\u7684\u517c\u5bb9\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u6253\u5f00Python\u7684\u5176\u4ed6\u7248\u672c\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a\u4f7f\u7528\u865a\u62df\u73af\u5883\u3001\u4f7f\u7528pyenv\u5de5\u5177\u3001\u76f4\u63a5\u6307\u5b9aPython\u8def\u5f84 [&hellip;]","protected":false},"author":3,"featured_media":980170,"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\/980161"}],"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=980161"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/980161\/revisions"}],"predecessor-version":[{"id":980172,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/980161\/revisions\/980172"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/980170"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=980161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=980161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=980161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}