{"id":1014576,"date":"2024-12-27T11:57:23","date_gmt":"2024-12-27T03:57:23","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1014576.html"},"modified":"2024-12-27T11:57:25","modified_gmt":"2024-12-27T03:57:25","slug":"matlab%e5%a6%82%e4%bd%95%e6%9f%a5%e7%9c%8bpython%e7%89%88%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1014576.html","title":{"rendered":"matlab\u5982\u4f55\u67e5\u770bpython\u7248\u672c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25094643\/f19e4786-d87d-4822-bb35-df6c37596b14.webp\" alt=\"matlab\u5982\u4f55\u67e5\u770bpython\u7248\u672c\" \/><\/p>\n<p><p> <strong>\u5728MATLAB\u4e2d\u67e5\u770bPython\u7248\u672c\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u4f7f\u7528<code>pyenv<\/code>\u51fd\u6570\u3001<code>system<\/code>\u547d\u4ee4\u3001\u4ee5\u53ca\u901a\u8fc7\u8c03\u7528Python\u811a\u672c\u7b49\u3002\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528MATLAB\u5185\u7f6e\u7684<code>pyenv<\/code>\u51fd\u6570\u3002<\/strong><\/p>\n<\/p>\n<p><p><strong>pyenv<\/strong>\u51fd\u6570\u662fMATLAB\u4e2d\u7528\u4e8e\u7ba1\u7406Python\u73af\u5883\u7684\u4e00\u4e2a\u51fd\u6570\u3002\u901a\u8fc7\u8c03\u7528\u8fd9\u4e2a\u51fd\u6570\uff0c\u53ef\u4ee5\u83b7\u53d6\u5f53\u524d\u914d\u7f6e\u7684Python\u7248\u672c\u3001\u8def\u5f84\u7b49\u4fe1\u606f\u3002\u5177\u4f53\u64cd\u4f5c\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u5728MATLAB\u547d\u4ee4\u7a97\u53e3\u4e2d\u8f93\u5165<code>pyenv<\/code>\uff0c\u7136\u540e\u6309\u4e0b\u56de\u8f66\u952e\u3002<\/li>\n<li>MATLAB\u4f1a\u8fd4\u56de\u4e00\u4e2a\u5305\u542bPython\u73af\u5883\u4fe1\u606f\u7684\u7ed3\u6784\u4f53\uff0c\u5176\u4e2d\u5305\u62ec<code>Version<\/code>\u5b57\u6bb5\uff0c\u663e\u793a\u5f53\u524dPython\u7248\u672c\u4fe1\u606f\u3002<\/li>\n<\/ol>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u8ba8\u8bbaMATLAB\u4e2d\u67e5\u770bPython\u7248\u672c\u7684\u4e0d\u540c\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528PYENV\u51fd\u6570<\/p>\n<\/p>\n<p><p><code>pyenv<\/code>\u51fd\u6570\u662fMATLAB\u4e2d\u4e13\u95e8\u7528\u4e8e\u914d\u7f6e\u548c\u7ba1\u7406Python\u73af\u5883\u7684\u3002\u901a\u8fc7\u8c03\u7528\u6b64\u51fd\u6570\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u83b7\u53d6\u5f53\u524d\u4f7f\u7528\u7684Python\u7248\u672c\u4fe1\u606f\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u83b7\u53d6Python\u7248\u672c\u4fe1\u606f<\/strong><\/p>\n<\/p>\n<p><p>\u5728MATLAB\u547d\u4ee4\u7a97\u53e3\u4e2d\u8f93\u5165\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-matlab\">pyInfo = pyenv;<\/p>\n<p>disp(pyInfo.Version);<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4ee5\u4e0a\u4ee3\u7801\u4f1a\u8fd4\u56de\u5f53\u524dMATLAB\u914d\u7f6e\u7684Python\u7248\u672c\u4fe1\u606f\u3002<code>pyInfo<\/code>\u662f\u4e00\u4e2a\u7ed3\u6784\u4f53\uff0c\u5176\u4e2d<code>Version<\/code>\u5b57\u6bb5\u663e\u793a\u5f53\u524d\u4f7f\u7528\u7684Python\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u68c0\u67e5\u5176\u4ed6Python\u73af\u5883\u4fe1\u606f<\/strong><\/p>\n<\/p>\n<p><p>\u9664\u4e86\u7248\u672c\u4fe1\u606f\uff0c<code>pyenv<\/code>\u8fd4\u56de\u7684\u7ed3\u6784\u4f53\u8fd8\u5305\u62ecPython\u7684\u5b89\u88c5\u8def\u5f84\u3001\u53ef\u6267\u884c\u6587\u4ef6\u8def\u5f84\u7b49\u4fe1\u606f\u3002\u53ef\u4ee5\u901a\u8fc7\u8bbf\u95ee\u7ed3\u6784\u4f53\u7684\u5176\u4ed6\u5b57\u6bb5\u6765\u83b7\u53d6\u66f4\u591a\u4fe1\u606f\uff0c\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-matlab\">disp(pyInfo.Executable);<\/p>\n<p>disp(pyInfo.Home);<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u4f7f\u7528SYSTEM\u547d\u4ee4<\/p>\n<\/p>\n<p><p>MATLAB\u7684<code>system<\/code>\u547d\u4ee4\u5141\u8bb8\u4f60\u5728MATLAB\u4e2d\u8fd0\u884c\u64cd\u4f5c\u7cfb\u7edf\u547d\u4ee4\u3002\u901a\u8fc7\u8c03\u7528Python\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u4f60\u4e5f\u53ef\u4ee5\u83b7\u53d6Python\u7248\u672c\u4fe1\u606f\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u8fd0\u884cPython\u547d\u4ee4\u884c\u83b7\u53d6\u7248\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u5728MATLAB\u547d\u4ee4\u7a97\u53e3\u4e2d\u8f93\u5165\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-matlab\">[status, cmdout] = system(&#39;python --version&#39;);<\/p>\n<p>disp(cmdout);<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u4f1a\u8c03\u7528\u7cfb\u7edf\u7684Python\u89e3\u91ca\u5668\uff0c\u5e76\u8fd4\u56dePython\u7248\u672c\u4fe1\u606f\u3002\u5982\u679c\u7cfb\u7edf\u4e2d\u6709\u591a\u4e2aPython\u7248\u672c\u5b89\u88c5\uff0c\u786e\u4fdd\u4f7f\u7528\u7684\u662fMATLAB\u4e2d\u914d\u7f6e\u7684\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u89e3\u6790\u8f93\u51fa\u4fe1\u606f<\/strong><\/p>\n<\/p>\n<p><p><code>system<\/code>\u547d\u4ee4\u7684\u8f93\u51fa\u53ef\u4ee5\u8fdb\u4e00\u6b65\u5904\u7406\uff0c\u4ee5\u4fbf\u5728MATLAB\u4e2d\u4f7f\u7528\u3002\u6bd4\u5982\uff0c\u4f7f\u7528\u5b57\u7b26\u4e32\u5904\u7406\u51fd\u6570\u63d0\u53d6\u7248\u672c\u53f7\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u8c03\u7528Python\u811a\u672c<\/p>\n<\/p>\n<p><p>MATLAB\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528Python\u811a\u672c\uff0c\u901a\u8fc7Python\u4ee3\u7801\u83b7\u53d6\u7248\u672c\u4fe1\u606f\u5e76\u8fd4\u56de\u7ed9MATLAB\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u7f16\u5199Python\u811a\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u521b\u5efa\u4e00\u4e2aPython\u811a\u672c\u6587\u4ef6<code>get_python_version.py<\/code>\uff0c\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sys<\/p>\n<p>print(sys.version)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5728MATLAB\u4e2d\u8c03\u7528Python\u811a\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u5728MATLAB\u547d\u4ee4\u7a97\u53e3\u4e2d\u8f93\u5165\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-matlab\">version_info = pyrunfile(&#39;get_python_version.py&#39;);<\/p>\n<p>disp(version_info);<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u5c06\u8fd0\u884cPython\u811a\u672c\uff0c\u5e76\u8fd4\u56dePython\u7248\u672c\u4fe1\u606f\u3002\u786e\u4fdd\u811a\u672c\u8def\u5f84\u6b63\u786e\uff0c\u5e76\u4e14MATLAB\u5df2\u6b63\u786e\u914d\u7f6ePython\u73af\u5883\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u4f7f\u7528MATLAB PYTHON\u63a5\u53e3\u51fd\u6570<\/p>\n<\/p>\n<p><p>MATLAB\u63d0\u4f9b\u4e86\u4e00\u4e9b\u63a5\u53e3\u51fd\u6570\uff0c\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528Python\u51fd\u6570\u83b7\u53d6\u7248\u672c\u4fe1\u606f\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528PY.SYS.MODULES<\/strong><\/p>\n<\/p>\n<p><p>MATLAB\u5141\u8bb8\u4f60\u76f4\u63a5\u8bbf\u95eePython\u6a21\u5757\uff0c\u5e76\u83b7\u53d6\u76f8\u5173\u4fe1\u606f\u3002\u83b7\u53d6Python\u7248\u672c\u4fe1\u606f\u7684\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-matlab\">version_info = py.sys.version;<\/p>\n<p>disp(version_info);<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u76f4\u63a5\u8c03\u7528Python\u7684<code>sys<\/code>\u6a21\u5757\uff0c\u83b7\u53d6\u5e76\u663e\u793aPython\u7248\u672c\u4fe1\u606f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5904\u7406\u7248\u672c\u4fe1\u606f<\/strong><\/p>\n<\/p>\n<p><p>\u901a\u8fc7MATLAB\u7684\u5b57\u7b26\u4e32\u5904\u7406\u51fd\u6570\uff0c\u53ef\u4ee5\u8fdb\u4e00\u6b65\u89e3\u6790\u548c\u5904\u7406Python\u7248\u672c\u4fe1\u606f\uff0c\u4ee5\u6ee1\u8db3\u4e0d\u540c\u9700\u6c42\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001MATLAB\u4e0ePython\u7248\u672c\u517c\u5bb9\u6027<\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528MATLAB\u4e0ePython\u4ea4\u4e92\u65f6\uff0c\u7248\u672c\u517c\u5bb9\u6027\u662f\u4e00\u4e2a\u9700\u8981\u6ce8\u610f\u7684\u95ee\u9898\u3002\u786e\u4fddMATLAB\u652f\u6301\u7684Python\u7248\u672c\u4e0e\u4f60\u4f7f\u7528\u7684Python\u7248\u672c\u5339\u914d\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u67e5\u627eMATLAB\u652f\u6301\u7684Python\u7248\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u5728MathWorks\u5b98\u65b9\u7f51\u7ad9\u4e0a\u53ef\u4ee5\u627e\u5230\u5173\u4e8e\u4e0d\u540cMATLAB\u7248\u672c\u652f\u6301\u7684Python\u7248\u672c\u7684\u8be6\u7ec6\u4fe1\u606f\u3002\u786e\u4fdd\u4f60\u7684Python\u7248\u672c\u5728\u652f\u6301\u5217\u8868\u4e2d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6d4b\u8bd5\u517c\u5bb9\u6027<\/strong><\/p>\n<\/p>\n<p><p>\u5728MATLAB\u4e2d\u6267\u884c\u4e00\u4e9b\u7b80\u5355\u7684Python\u4ee3\u7801\uff0c\u786e\u4fddMATLAB\u4e0ePython\u4e4b\u95f4\u7684\u63a5\u53e3\u5de5\u4f5c\u6b63\u5e38\u3002\u4f8b\u5982\uff0c\u8fd0\u884c\u4e00\u4e9b\u7b80\u5355\u7684Python\u8bed\u53e5\uff0c\u68c0\u67e5\u8fd4\u56de\u7ed3\u679c\u662f\u5426\u7b26\u5408\u9884\u671f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u516d\u3001\u5e38\u89c1\u95ee\u9898\u4e0e\u89e3\u51b3\u65b9\u6848<\/p>\n<\/p>\n<p><p>\u5728MATLAB\u4e2d\u67e5\u770bPython\u7248\u672c\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u95ee\u9898\u53ca\u5176\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Python\u7248\u672c\u4fe1\u606f\u4e0d\u6b63\u786e<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u8fd4\u56de\u7684Python\u7248\u672c\u4fe1\u606f\u4e0d\u6b63\u786e\uff0c\u68c0\u67e5MATLAB\u7684Python\u8def\u5f84\u914d\u7f6e\u3002\u786e\u4fddMATLAB\u4e2d\u914d\u7f6e\u7684Python\u8def\u5f84\u6307\u5411\u6b63\u786e\u7684Python\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>MATLAB\u65e0\u6cd5\u8bc6\u522bPython\u73af\u5883<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679cMATLAB\u65e0\u6cd5\u8bc6\u522bPython\u73af\u5883\uff0c\u53ef\u80fd\u662f\u56e0\u4e3aPython\u672a\u6b63\u786e\u5b89\u88c5\uff0c\u6216\u73af\u5883\u53d8\u91cf\u672a\u6b63\u786e\u914d\u7f6e\u3002\u5c1d\u8bd5\u91cd\u65b0\u5b89\u88c5Python\uff0c\u5e76\u786e\u4fdd\u73af\u5883\u53d8\u91cf\u914d\u7f6e\u6b63\u786e\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u591a\u7248\u672cPython\u51b2\u7a81<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u7cfb\u7edf\u4e2d\u5b89\u88c5\u4e86\u591a\u4e2aPython\u7248\u672c\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u51b2\u7a81\u3002\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6eMATLAB\u7684<code>pyenv<\/code>\u51fd\u6570\uff0c\u660e\u786e\u6307\u5b9a\u4f7f\u7528\u7684Python\u7248\u672c\u548c\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u603b\u7ed3\uff0cMATLAB\u63d0\u4f9b\u4e86\u591a\u79cd\u67e5\u770bPython\u7248\u672c\u4fe1\u606f\u7684\u65b9\u6cd5\uff0c\u5305\u62ec\u5185\u7f6e\u51fd\u6570\u3001\u7cfb\u7edf\u547d\u4ee4\u3001\u8c03\u7528Python\u811a\u672c\u7b49\u3002\u5728\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u65f6\uff0c\u9700\u8981\u786e\u4fddMATLAB\u548cPython\u7684\u7248\u672c\u517c\u5bb9\uff0c\u4ee5\u4fbf\u6b63\u5e38\u8fdb\u884cMATLAB\u4e0ePython\u7684\u4ea4\u4e92\u3002\u901a\u8fc7\u6b63\u786e\u914d\u7f6e\u548c\u4f7f\u7528\u8fd9\u4e9b\u5de5\u5177\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u7ba1\u7406\u548c\u5229\u7528Python\u4e0eMATLAB\u4e4b\u95f4\u7684\u4ea4\u4e92\u529f\u80fd\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728MATLAB\u4e2d\u68c0\u67e5Python\u7248\u672c\uff1f<\/strong><br \/>\u5728MATLAB\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528<code>py.version<\/code>\u547d\u4ee4\u6765\u67e5\u770b\u5f53\u524d\u4f7f\u7528\u7684Python\u7248\u672c\u3002\u5728MATLAB\u547d\u4ee4\u7a97\u53e3\u4e2d\u8f93\u5165<code>py.version<\/code>\uff0c\u7cfb\u7edf\u5c06\u8fd4\u56dePython\u7684\u7248\u672c\u4fe1\u606f\uff0c\u5305\u62ec\u4e3b\u7248\u672c\u53f7\u3001\u6b21\u7248\u672c\u53f7\u548c\u4fee\u8ba2\u53f7\u3002<\/p>\n<p><strong>MATLAB\u652f\u6301\u54ea\u4e9bPython\u7248\u672c\uff1f<\/strong><br \/>MATLAB\u901a\u5e38\u652f\u6301\u591a\u4e2a\u7248\u672c\u7684Python\uff0c\u4f46\u5177\u4f53\u652f\u6301\u7684\u7248\u672c\u53ef\u80fd\u4f1a\u56e0\u4e0d\u540c\u7684MATLAB\u7248\u672c\u800c\u5f02\u3002\u4e00\u822c\u6765\u8bf4\uff0cMATLAB R2019a\u53ca\u4ee5\u540e\u7684\u7248\u672c\u652f\u6301Python 2.7\u548c3.5\u52303.9\u3002\u5982\u679c\u60a8\u4e0d\u786e\u5b9a\u81ea\u5df1\u7684MATLAB\u7248\u672c\u652f\u6301\u54ea\u4e9bPython\u7248\u672c\uff0c\u53ef\u4ee5\u67e5\u9605MathWorks\u5b98\u65b9\u7f51\u7ad9\u4e0a\u7684\u5b98\u65b9\u6587\u6863\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728MATLAB\u4e2d\u66f4\u6539\u4f7f\u7528\u7684Python\u7248\u672c\uff1f<\/strong><br \/>\u5982\u679c\u60a8\u5e0c\u671b\u66f4\u6539MATLAB\u4f7f\u7528\u7684Python\u7248\u672c\uff0c\u53ef\u4ee5\u901a\u8fc7<code>pyenv<\/code>\u51fd\u6570\u6765\u5b9e\u73b0\u3002\u5728MATLAB\u547d\u4ee4\u7a97\u53e3\u4e2d\uff0c\u8f93\u5165<code>pyenv(&#39;Version&#39;, &#39;\u60a8\u7684Python\u8def\u5f84&#39;)<\/code>\uff0c\u5c06<code>\u60a8\u7684Python\u8def\u5f84<\/code>\u66ff\u6362\u4e3a\u60a8\u60f3\u8981\u4f7f\u7528\u7684Python\u53ef\u6267\u884c\u6587\u4ef6\u7684\u5b8c\u6574\u8def\u5f84\u3002\u6267\u884c\u6b64\u547d\u4ee4\u540e\uff0cMATLAB\u5c06\u4f1a\u4f7f\u7528\u6307\u5b9a\u7684Python\u7248\u672c\u3002\u786e\u4fdd\u5728\u66f4\u6539\u4e4b\u524d\u5df2\u7ecf\u5b89\u88c5\u4e86\u6240\u9700\u7684Python\u7248\u672c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728MATLAB\u4e2d\u67e5\u770bPython\u7248\u672c\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u4f7f\u7528pyenv\u51fd\u6570\u3001system\u547d\u4ee4\u3001\u4ee5\u53ca\u901a\u8fc7\u8c03\u7528Pyt [&hellip;]","protected":false},"author":3,"featured_media":1014587,"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\/1014576"}],"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=1014576"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1014576\/revisions"}],"predecessor-version":[{"id":1014590,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1014576\/revisions\/1014590"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1014587"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1014576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1014576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1014576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}