{"id":1132556,"date":"2025-01-08T20:58:25","date_gmt":"2025-01-08T12:58:25","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1132556.html"},"modified":"2025-01-08T20:58:28","modified_gmt":"2025-01-08T12:58:28","slug":"%e5%a6%82%e4%bd%95%e8%ae%a9python%e7%a8%8b%e5%ba%8f%e5%8f%98%e6%88%90%e5%8f%af%e6%89%a7%e8%a1%8c%e6%96%87%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1132556.html","title":{"rendered":"\u5982\u4f55\u8ba9python\u7a0b\u5e8f\u53d8\u6210\u53ef\u6267\u884c\u6587\u4ef6"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25102050\/2f195ea4-6e83-46a5-a0ba-9d1ba6a30eb4.webp\" alt=\"\u5982\u4f55\u8ba9python\u7a0b\u5e8f\u53d8\u6210\u53ef\u6267\u884c\u6587\u4ef6\" \/><\/p>\n<p><p> <strong>\u8981\u5c06Python\u7a0b\u5e8f\u53d8\u6210\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u6838\u5fc3\u6b65\u9aa4\u5305\u62ec\uff1a\u4f7f\u7528\u5de5\u5177\u5982PyInstaller\u6216cx_Freeze\u3001\u914d\u7f6e\u6253\u5305\u811a\u672c\u3001\u5904\u7406\u4f9d\u8d56\u5e93\u3001\u4f18\u5316\u6587\u4ef6\u5927\u5c0f\u3002<\/strong> \u5176\u4e2d\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528PyInstaller\uff0c\u56e0\u4e3a\u5b83\u63d0\u4f9b\u4e86\u76f8\u5bf9\u7b80\u5355\u7684\u547d\u4ee4\u884c\u63a5\u53e3\uff0c\u652f\u6301\u5927\u591a\u6570\u7684\u4f9d\u8d56\u5e93\uff0c\u5e76\u4e14\u8de8\u5e73\u53f0\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528PyInstaller\u6253\u5305<\/h3>\n<\/p>\n<p><h4>1. \u5b89\u88c5PyInstaller<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5728\u4f60\u7684Python\u73af\u5883\u4e2d\u5b89\u88c5PyInstaller\u3002\u53ef\u4ee5\u901a\u8fc7pip\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pyinstaller<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u57fa\u672c\u6253\u5305\u8fc7\u7a0b<\/h4>\n<\/p>\n<p><p>\u5047\u8bbe\u4f60\u7684Python\u811a\u672c\u540d\u4e3a<code>m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n.py<\/code>\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5c06\u5176\u6253\u5305\u4e3a\u53ef\u6267\u884c\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyinstaller --onefile main.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u5728\u5f53\u524d\u76ee\u5f55\u4e0b\u751f\u6210\u4e00\u4e2a<code>dist<\/code>\u76ee\u5f55\uff0c\u91cc\u9762\u5305\u542b\u4e00\u4e2a\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6<code>main.exe<\/code>\uff08Windows\uff09\u6216<code>main<\/code>\uff08Linux\u3001Mac\uff09\u3002<\/p>\n<\/p>\n<p><h4>3. \u914d\u7f6e\u9ad8\u7ea7\u9009\u9879<\/h4>\n<\/p>\n<p><p>PyInstaller\u63d0\u4f9b\u4e86\u8bb8\u591a\u9ad8\u7ea7\u9009\u9879\uff0c\u53ef\u4ee5\u5b9a\u5236\u6253\u5305\u8fc7\u7a0b\u3002\u4f8b\u5982\uff0c\u4f60\u53ef\u4ee5\u6307\u5b9a\u56fe\u6807\u6587\u4ef6\u3001\u6dfb\u52a0\u989d\u5916\u6570\u636e\u6587\u4ef6\u3001\u9690\u85cf\u63a7\u5236\u53f0\u7a97\u53e3\u7b49\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyinstaller --onefile --windowed --icon=myicon.ico main.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5176\u4e2d\uff0c<code>--windowed<\/code>\u9009\u9879\u7528\u4e8e\u521b\u5efa\u65e0\u63a7\u5236\u53f0\u7a97\u53e3\u7684GUI\u5e94\u7528\uff0c<code>--icon<\/code>\u9009\u9879\u7528\u4e8e\u6307\u5b9a\u5e94\u7528\u7a0b\u5e8f\u7684\u56fe\u6807\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u5904\u7406\u4f9d\u8d56\u5e93<\/h3>\n<\/p>\n<p><h4>1. \u81ea\u52a8\u5904\u7406\u4f9d\u8d56<\/h4>\n<\/p>\n<p><p>PyInstaller\u4f1a\u81ea\u52a8\u68c0\u6d4b\u5e76\u5305\u542b\u4f60\u7684Python\u811a\u672c\u6240\u9700\u7684\u6240\u6709\u4f9d\u8d56\u5e93\u3002\u7136\u800c\uff0c\u6709\u4e9b\u60c5\u51b5\u4e0b\uff0c\u67d0\u4e9b\u5e93\u53ef\u80fd\u6ca1\u6709\u88ab\u6b63\u786e\u68c0\u6d4b\u5230\u3002\u4f60\u53ef\u4ee5\u624b\u52a8\u6307\u5b9a\u9700\u8981\u5305\u542b\u7684\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyinstaller --onefile --hidden-import=module_name main.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u6253\u5305\u672c\u5730\u6570\u636e\u6587\u4ef6<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u7684\u7a0b\u5e8f\u4f9d\u8d56\u4e8e\u4e00\u4e9b\u672c\u5730\u6570\u636e\u6587\u4ef6\uff08\u4f8b\u5982\u914d\u7f6e\u6587\u4ef6\u3001\u56fe\u50cf\u6587\u4ef6\u7b49\uff09\uff0c\u4f60\u9700\u8981\u5728\u6253\u5305\u65f6\u624b\u52a8\u6307\u5b9a\u8fd9\u4e9b\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyinstaller --onefile --add-data &#39;data_file.txt;.&#39; main.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u547d\u4ee4\u4e2d\uff0c<code>data_file.txt<\/code>\u662f\u9700\u8981\u5305\u542b\u7684\u6587\u4ef6\uff0c<code>;.<\/code>\u8868\u793a\u6587\u4ef6\u5c06\u88ab\u653e\u7f6e\u5728\u53ef\u6267\u884c\u6587\u4ef6\u7684\u5f53\u524d\u76ee\u5f55\u4e0b\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f18\u5316\u6587\u4ef6\u5927\u5c0f<\/h3>\n<\/p>\n<p><h4>1. \u53bb\u9664\u672a\u4f7f\u7528\u7684\u5e93<\/h4>\n<\/p>\n<p><p>\u5728\u6253\u5305\u4e4b\u524d\uff0c\u68c0\u67e5\u5e76\u79fb\u9664\u4f60\u9879\u76ee\u4e2d\u672a\u4f7f\u7528\u7684\u5e93\u548c\u6a21\u5757\u3002\u8fd9\u53ef\u4ee5\u663e\u8457\u51cf\u5c11\u6700\u7ec8\u53ef\u6267\u884c\u6587\u4ef6\u7684\u5927\u5c0f\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528UPX\u538b\u7f29<\/h4>\n<\/p>\n<p><p>PyInstaller\u652f\u6301\u4f7f\u7528UPX\uff08Ultimate Packer for eXecutables\uff09\u538b\u7f29\u53ef\u6267\u884c\u6587\u4ef6\u3002\u4f60\u9700\u8981\u5148\u5b89\u88c5UPX\uff0c\u7136\u540e\u5728\u6253\u5305\u65f6\u4f7f\u7528<code>--upx-dir<\/code>\u9009\u9879\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyinstaller --onefile --upx-dir=\/path\/to\/upx main.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>UPX\u53ef\u4ee5\u663e\u8457\u51cf\u5c0f\u53ef\u6267\u884c\u6587\u4ef6\u7684\u5927\u5c0f\uff0c\u4f46\u53ef\u80fd\u4f1a\u589e\u52a0\u52a0\u8f7d\u65f6\u95f4\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u8de8\u5e73\u53f0\u6253\u5305<\/h3>\n<\/p>\n<p><h4>1. \u5728\u4e0d\u540c\u5e73\u53f0\u6253\u5305<\/h4>\n<\/p>\n<p><p>\u867d\u7136PyInstaller\u652f\u6301\u8de8\u5e73\u53f0\uff0c\u4f46\u4f60\u9700\u8981\u5728\u76ee\u6807\u5e73\u53f0\u4e0a\u8fdb\u884c\u6253\u5305\u3002\u4f8b\u5982\uff0c\u8981\u751f\u6210Windows\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u6700\u597d\u5728Windows\u7cfb\u7edf\u4e0a\u8fd0\u884cPyInstaller\u3002<\/p>\n<\/p>\n<p><h4>2. \u4f7f\u7528\u865a\u62df\u673a\u6216Docker<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u53ea\u6709\u4e00\u4e2a\u5f00\u53d1\u5e73\u53f0\uff0c\u53ef\u4ee5\u4f7f\u7528\u865a\u62df\u673a\u6216Docker\u6765\u6a21\u62df\u5176\u4ed6\u64cd\u4f5c\u7cfb\u7edf\u73af\u5883\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528VirtualBox\u521b\u5efa\u4e00\u4e2aWindows\u865a\u62df\u673a\uff0c\u6216\u5728Linux\u4e0a\u4f7f\u7528Wine\u6765\u6253\u5305Windows\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u6d4b\u8bd5\u548c\u53d1\u5e03<\/h3>\n<\/p>\n<p><h4>1. \u6d4b\u8bd5\u53ef\u6267\u884c\u6587\u4ef6<\/h4>\n<\/p>\n<p><p>\u5728\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\u540e\uff0c\u52a1\u5fc5\u5728\u591a\u4e2a\u73af\u5883\u4e2d\u8fdb\u884c\u6d4b\u8bd5\uff0c\u786e\u4fdd\u5176\u5728\u76ee\u6807\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u6b63\u5e38\u8fd0\u884c\uff0c\u5e76\u4e14\u6240\u6709\u4f9d\u8d56\u5e93\u548c\u6570\u636e\u6587\u4ef6\u90fd\u88ab\u6b63\u786e\u5305\u542b\u3002<\/p>\n<\/p>\n<p><h4>2. \u53d1\u5e03\u548c\u66f4\u65b0<\/h4>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u901a\u8fc7\u5404\u79cd\u65b9\u5f0f\u53d1\u5e03\u4f60\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u4f8b\u5982\u76f4\u63a5\u5206\u53d1\u3001\u4e0a\u4f20\u5230GitHub\u7b49\u3002\u8003\u8651\u4f7f\u7528\u81ea\u52a8\u5316\u5de5\u5177\uff08\u5982GitHub Actions\uff09\u6765\u5b9e\u73b0\u6301\u7eed\u96c6\u6210\u548c\u81ea\u52a8\u5316\u53d1\u5e03\u3002<\/p>\n<\/p>\n<p><h3>\u5b9e\u9645\u6848\u4f8b\u5206\u6790<\/h3>\n<\/p>\n<p><h4>\u6848\u4f8b\u4e00\uff1a\u6253\u5305\u4e00\u4e2a\u7b80\u5355\u7684\u547d\u4ee4\u884c\u5de5\u5177<\/h4>\n<\/p>\n<p><p>\u5047\u8bbe\u4f60\u6709\u4e00\u4e2a\u7b80\u5355\u7684Python\u811a\u672c<code>cli_tool.py<\/code>\uff0c\u5b83\u662f\u4e00\u4e2a\u547d\u4ee4\u884c\u5de5\u5177\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u6b65\u9aa4\u5c06\u5176\u6253\u5305\u4e3a\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p>\u5b89\u88c5PyInstaller\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pyinstaller<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u8fd0\u884cPyInstaller\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyinstaller --onefile cli_tool.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u68c0\u67e5\u751f\u6210\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff1a<\/p>\n<p>\u5728<code>dist<\/code>\u76ee\u5f55\u4e0b\uff0c\u4f60\u4f1a\u627e\u5230<code>cli_tool.exe<\/code>\uff08Windows\uff09\u6216<code>cli_tool<\/code>\uff08Linux\u3001Mac\uff09\uff0c\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\u5b83\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h4>\u6848\u4f8b\u4e8c\uff1a\u6253\u5305\u4e00\u4e2a\u590d\u6742\u7684GUI\u5e94\u7528<\/h4>\n<\/p>\n<p><p>\u5047\u8bbe\u4f60\u6709\u4e00\u4e2a\u590d\u6742\u7684Python GUI\u5e94\u7528<code>gui_app.py<\/code>\uff0c\u5e76\u4e14\u5b83\u4f9d\u8d56\u4e8e\u591a\u4e2a\u5916\u90e8\u5e93\u548c\u6570\u636e\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p>\u5b89\u88c5PyInstaller\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pyinstaller<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u8fd0\u884cPyInstaller\uff0c\u6307\u5b9a\u56fe\u6807\u548c\u9690\u85cf\u63a7\u5236\u53f0\u7a97\u53e3\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyinstaller --onefile --windowed --icon=app_icon.ico --add-data &#39;config.json;.&#39; gui_app.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>\u68c0\u67e5\u751f\u6210\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff1a<\/p>\n<p>\u5728<code>dist<\/code>\u76ee\u5f55\u4e0b\uff0c\u4f60\u4f1a\u627e\u5230<code>gui_app.exe<\/code>\uff08Windows\uff09\u6216<code>gui_app<\/code>\uff08Linux\u3001Mac\uff09\uff0c\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\u5b83\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u5730\u5c06Python\u7a0b\u5e8f\u6253\u5305\u4e3a\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u65b9\u4fbf\u5206\u53d1\u548c\u8fd0\u884c\u3002PyInstaller\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u4e14\u7075\u6d3b\u7684\u5de5\u5177\uff0c\u9002\u7528\u4e8e\u5404\u79cd\u7c7b\u578b\u7684Python\u5e94\u7528\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5c06Python\u811a\u672c\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u6587\u4ef6\uff1f<\/strong><br \/>\u5c06Python\u811a\u672c\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u6587\u4ef6\u901a\u5e38\u4f7f\u7528\u5de5\u5177\u5982PyInstaller\u3001cx_Freeze\u6216py2exe\u3002\u4ee5PyInstaller\u4e3a\u4f8b\uff0c\u60a8\u9700\u8981\u5148\u5b89\u88c5\u5b83\uff08\u4f7f\u7528<code>pip install pyinstaller<\/code>\uff09\uff0c\u7136\u540e\u5728\u547d\u4ee4\u884c\u4e2d\u8fd0\u884c\u547d\u4ee4<code>pyinstaller --onefile your_script.py<\/code>\uff0c\u8fd9\u5c06\u751f\u6210\u4e00\u4e2a\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u60a8\u53ef\u4ee5\u5728dist\u76ee\u5f55\u4e2d\u627e\u5230\u5b83\u3002<\/p>\n<p><strong>\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u6587\u4ef6\u540e\uff0c\u662f\u5426\u53ef\u4ee5\u5728\u6ca1\u6709Python\u73af\u5883\u7684\u673a\u5668\u4e0a\u8fd0\u884c\uff1f<\/strong><br \/>\u662f\u7684\uff0c\u4f7f\u7528PyInstaller\u7b49\u5de5\u5177\u751f\u6210\u7684\u53ef\u6267\u884c\u6587\u4ef6\u662f\u72ec\u7acb\u7684\uff0c\u4e0d\u9700\u8981\u76ee\u6807\u673a\u5668\u4e0a\u5b89\u88c5Python\u73af\u5883\u3002\u8fd9\u4f7f\u5f97\u5206\u53d1\u5e94\u7528\u7a0b\u5e8f\u53d8\u5f97\u66f4\u52a0\u7b80\u5355\uff0c\u7528\u6237\u53ea\u9700\u4e0b\u8f7d\u5e76\u8fd0\u884c\u53ef\u6267\u884c\u6587\u4ef6\u5373\u53ef\u3002<\/p>\n<p><strong>\u5728\u8f6c\u6362\u8fc7\u7a0b\u4e2d\u4f1a\u9047\u5230\u54ea\u4e9b\u5e38\u89c1\u95ee\u9898\uff1f<\/strong><br \/>\u5e38\u89c1\u95ee\u9898\u5305\u62ec\u7f3a\u5c11\u5e93\u6216\u6a21\u5757\u7684\u9519\u8bef\u3001\u6587\u4ef6\u8def\u5f84\u95ee\u9898\u4ee5\u53ca\u64cd\u4f5c\u7cfb\u7edf\u517c\u5bb9\u6027\u3002\u786e\u4fdd\u5728\u8f6c\u6362\u524d\u6d4b\u8bd5\u60a8\u7684Python\u811a\u672c\uff0c\u786e\u4fdd\u6240\u6709\u4f9d\u8d56\u9879\u90fd\u5df2\u6b63\u786e\u5b89\u88c5\u3002\u6b64\u5916\uff0c\u68c0\u67e5\u751f\u6210\u7684\u53ef\u6267\u884c\u6587\u4ef6\u662f\u5426\u5728\u76ee\u6807\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884c\u826f\u597d\uff0c\u4ee5\u907f\u514d\u517c\u5bb9\u6027\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5c06Python\u7a0b\u5e8f\u53d8\u6210\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u6838\u5fc3\u6b65\u9aa4\u5305\u62ec\uff1a\u4f7f\u7528\u5de5\u5177\u5982PyInstaller\u6216cx_Freeze\u3001\u914d\u7f6e\u6253 [&hellip;]","protected":false},"author":3,"featured_media":1132566,"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\/1132556"}],"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=1132556"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1132556\/revisions"}],"predecessor-version":[{"id":1132567,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1132556\/revisions\/1132567"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1132566"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1132556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1132556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1132556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}