{"id":987938,"date":"2024-12-27T07:57:51","date_gmt":"2024-12-26T23:57:51","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/987938.html"},"modified":"2024-12-27T07:57:53","modified_gmt":"2024-12-26T23:57:53","slug":"python%e6%96%87%e4%bb%b6%e5%a6%82%e4%bd%95%e5%ad%98%e4%b8%baexe","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/987938.html","title":{"rendered":"python\u6587\u4ef6\u5982\u4f55\u5b58\u4e3aexe"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25063820\/bb1bd9a9-c037-4db6-b19a-23ab04b70b57.webp\" alt=\"python\u6587\u4ef6\u5982\u4f55\u5b58\u4e3aexe\" \/><\/p>\n<p><p> \u5c06Python\u6587\u4ef6\u8f6c\u6362\u4e3a.exe\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5176\u4e2d\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u5305\u62ec<strong>\u4f7f\u7528PyInstaller\u3001\u4f7f\u7528cx_Freeze\u3001\u4f7f\u7528py2exe<\/strong>\u3002\u63a8\u8350\u4f7f\u7528PyInstaller\uff0c\u56e0\u4e3a\u5b83\u7b80\u5355\u6613\u7528\uff0c\u5e76\u4e14\u652f\u6301\u5927\u591a\u6570Python\u6a21\u5757\u3002\u4e0b\u9762\u5c06\u5bf9\u5176\u4e2d\u4e00\u79cd\u65b9\u6cd5\u8fdb\u884c\u8be6\u7ec6\u63cf\u8ff0\u3002<\/p>\n<\/p>\n<p><p>\u4f7f\u7528<strong>PyInstaller<\/strong>\u53ef\u4ee5\u5feb\u901f\u5c06Python\u811a\u672c\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u6587\u4ef6\u3002PyInstaller\u662f\u4e00\u4e2a\u652f\u6301\u591a\u5e73\u53f0\u7684\u5de5\u5177\uff0c\u5b83\u80fd\u591f\u5c06Python\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002\u9996\u5148\uff0c\u4f60\u9700\u8981\u901a\u8fc7pip\u5b89\u88c5PyInstaller\u3002\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>pip install pyinstaller<\/code>\u8fdb\u884c\u5b89\u88c5\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u5728\u547d\u4ee4\u884c\u4e2d\u5bfc\u822a\u5230\u4f60\u7684Python\u6587\u4ef6\u6240\u5728\u7684\u76ee\u5f55\uff0c\u7136\u540e\u8fd0\u884c\u547d\u4ee4<code>pyinstaller --onefile your_script.py<\/code>\u3002\u6b64\u547d\u4ee4\u5c06\u751f\u6210\u4e00\u4e2a\u5728dist\u6587\u4ef6\u5939\u4e2d\u7684\u5355\u4e00.exe\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\u7684\u4f7f\u7528\u6b65\u9aa4\u548c\u6ce8\u610f\u4e8b\u9879\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001PYINSTALLER<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5\u4e0e\u57fa\u672c\u4f7f\u7528<\/strong><\/p>\n<\/p>\n<p><p>PyInstaller\u662f\u4e00\u4e2a\u975e\u5e38\u6d41\u884c\u7684\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u5c06Python\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u4e3a\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u9002\u7528\u4e8eWindows\u3001Linux\u548cmacOS\u7b49\u5e73\u53f0\u3002\u9996\u5148\uff0c\u4f60\u9700\u8981\u5b89\u88c5PyInstaller\u3002\u53ef\u4ee5\u901a\u8fc7\u5728\u547d\u4ee4\u884c\u4e2d\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5b8c\u6210\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><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u8fdb\u5165\u4f60\u7684Python\u811a\u672c\u6240\u5728\u7684\u76ee\u5f55\uff0c\u7136\u540e\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyinstaller --onefile your_script.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u91cc\uff0c<code>--onefile<\/code>\u9009\u9879\u8868\u793a\u5c06\u6240\u6709\u5185\u5bb9\u6253\u5305\u6210\u5355\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9ad8\u7ea7\u9009\u9879<\/strong><\/p>\n<\/p>\n<p><p>PyInstaller\u63d0\u4f9b\u4e86\u8bb8\u591a\u9ad8\u7ea7\u9009\u9879\uff0c\u53ef\u4ee5\u6ee1\u8db3\u4e0d\u540c\u7684\u9700\u6c42\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u56fe\u6807\u8bbe\u7f6e<\/strong>\uff1a\u53ef\u4ee5\u4f7f\u7528<code>--icon<\/code>\u9009\u9879\u6765\u6307\u5b9a\u5e94\u7528\u7a0b\u5e8f\u7684\u56fe\u6807\u3002\u4f8b\u5982\uff0c<code>pyinstaller --onefile --icon=myicon.ico your_script.py<\/code>\u3002<\/li>\n<li><strong>\u4e0d\u5305\u542b\u63a7\u5236\u53f0<\/strong>\uff1a\u5982\u679c\u4e0d\u5e0c\u671b\u663e\u793a\u63a7\u5236\u53f0\u7a97\u53e3\uff0c\u53ef\u4ee5\u4f7f\u7528<code>--noconsole<\/code>\u9009\u9879\u3002\u4f8b\u5982\uff0c<code>pyinstaller --onefile --noconsole your_script.py<\/code>\u3002<\/li>\n<li><strong>\u989d\u5916\u6570\u636e\u6587\u4ef6<\/strong>\uff1a\u5982\u679c\u4f60\u7684\u7a0b\u5e8f\u9700\u8981\u989d\u5916\u7684\u6570\u636e\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>--add-data<\/code>\u9009\u9879\u3002\u4f8b\u5982\uff0c<code>pyinstaller --onefile --add-data &#39;data.txt;.&#39; your_script.py<\/code>\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u5e38\u89c1\u95ee\u9898<\/strong><\/p>\n<\/p>\n<ul>\n<li><strong>\u7f3a\u5c11\u6a21\u5757<\/strong>\uff1a\u6709\u65f6\u6253\u5305\u540e\u8fd0\u884c\u4f1a\u63d0\u793a\u7f3a\u5c11\u67d0\u4e9b\u6a21\u5757\u3002\u53ef\u4ee5\u901a\u8fc7\u5728<code>your_script.spec<\/code>\u6587\u4ef6\u4e2d\u624b\u52a8\u6dfb\u52a0\u6240\u9700\u7684\u6a21\u5757\u6765\u89e3\u51b3\u3002<\/li>\n<li><strong>\u542f\u52a8\u6162<\/strong>\uff1a\u6253\u5305\u6210\u4e00\u4e2a\u6587\u4ef6\u540e\uff0c\u542f\u52a8\u901f\u5ea6\u53ef\u80fd\u4f1a\u53d8\u6162\u3002\u8fd9\u662f\u56e0\u4e3a\u9700\u8981\u5148\u89e3\u538b\u6240\u6709\u5185\u5bb9\u3002\u53ef\u4ee5\u8003\u8651\u4e0d\u4f7f\u7528<code>--onefile<\/code>\u9009\u9879\u6765\u63d0\u9ad8\u542f\u52a8\u901f\u5ea6\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001CX_FREEZE<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5\u4e0e\u57fa\u672c\u4f7f\u7528<\/strong><\/p>\n<\/p>\n<p><p>cx_Freeze\u662f\u53e6\u4e00\u4e2a\u5e38\u7528\u7684\u5de5\u5177\uff0c\u5b83\u4e5f\u53ef\u4ee5\u5c06Python\u811a\u672c\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\u3002\u9996\u5148\uff0c\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5cx_Freeze\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install cx_Freeze<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u7f16\u5199\u4e00\u4e2asetup\u811a\u672c<code>setup.py<\/code>\uff0c\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from cx_Freeze import setup, Executable<\/p>\n<p>setup(<\/p>\n<p>    name = &quot;your_application&quot;,<\/p>\n<p>    version = &quot;1.0&quot;,<\/p>\n<p>    description = &quot;My Python application&quot;,<\/p>\n<p>    executables = [Executable(&quot;your_script.py&quot;)]<\/p>\n<p>)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python setup.py build<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9ad8\u7ea7\u914d\u7f6e<\/strong><\/p>\n<\/p>\n<p><p>cx_Freeze\u4e5f\u63d0\u4f9b\u4e86\u4e00\u4e9b\u9ad8\u7ea7\u914d\u7f6e\u9009\u9879\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u56fe\u6807\u8bbe\u7f6e<\/strong>\uff1a\u53ef\u4ee5\u5728<code>Executable<\/code>\u5bf9\u8c61\u4e2d\u4f7f\u7528<code>icon<\/code>\u53c2\u6570\u6307\u5b9a\u56fe\u6807\u3002<\/li>\n<li><strong>\u9644\u52a0\u6a21\u5757<\/strong>\uff1a\u53ef\u4ee5\u5728setup\u51fd\u6570\u4e2d\u4f7f\u7528<code>options<\/code>\u53c2\u6570\u6307\u5b9a\u989d\u5916\u7684\u6a21\u5757\u548c\u5305\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u5e38\u89c1\u95ee\u9898<\/strong><\/p>\n<\/p>\n<ul>\n<li><strong>\u517c\u5bb9\u6027\u95ee\u9898<\/strong>\uff1acx_Freeze\u5728Windows\u4e0a\u7684\u8868\u73b0\u901a\u5e38\u4f18\u4e8e\u5176\u4ed6\u5e73\u53f0\uff0c\u53ef\u80fd\u4f1a\u5728Linux\u548cmacOS\u4e0a\u9047\u5230\u4e00\u4e9b\u517c\u5bb9\u6027\u95ee\u9898\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001PY2EXE<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5\u4e0e\u57fa\u672c\u4f7f\u7528<\/strong><\/p>\n<\/p>\n<p><p>py2exe\u662f\u4e00\u4e2a\u4e13\u95e8\u7528\u4e8e\u5c06Python\u811a\u672c\u8f6c\u6362\u4e3aWindows\u53ef\u6267\u884c\u6587\u4ef6\u7684\u5de5\u5177\u3002\u9996\u5148\uff0c\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5py2exe\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install py2exe<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u7f16\u5199\u4e00\u4e2asetup\u811a\u672c<code>setup.py<\/code>\uff0c\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from distutils.core import setup<\/p>\n<p>import py2exe<\/p>\n<p>setup(console=[&#39;your_script.py&#39;])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python setup.py py2exe<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9ad8\u7ea7\u914d\u7f6e<\/strong><\/p>\n<\/p>\n<ul>\n<li><strong>\u56fe\u6807\u8bbe\u7f6e<\/strong>\uff1a\u53ef\u4ee5\u5728setup\u51fd\u6570\u4e2d\u4f7f\u7528<code>icon_resources<\/code>\u53c2\u6570\u6307\u5b9a\u56fe\u6807\u3002<\/li>\n<li><strong>\u9690\u85cf\u63a7\u5236\u53f0<\/strong>\uff1a\u53ef\u4ee5\u5c06<code>console<\/code>\u53c2\u6570\u66ff\u6362\u4e3a<code>windows<\/code>\u6765\u9690\u85cf\u63a7\u5236\u53f0\u7a97\u53e3\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u5e38\u89c1\u95ee\u9898<\/strong><\/p>\n<\/p>\n<ul>\n<li><strong>Python\u7248\u672c<\/strong>\uff1apy2exe\u4e3b\u8981\u652f\u6301Python 2.x\u7248\u672c\uff0c\u5bf9\u4e8ePython 3.x\u7248\u672c\u7684\u652f\u6301\u6709\u9650\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u5176\u4ed6\u5de5\u5177<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u4e0a\u8ff0\u5de5\u5177\u5916\uff0c\u8fd8\u6709\u5176\u4ed6\u4e00\u4e9b\u5de5\u5177\u53ef\u4ee5\u9009\u62e9\uff0c\u5982Nuitka\u3001PyOxidizer\u7b49\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Nuitka<\/strong><\/p>\n<\/p>\n<p><p>Nuitka\u662f\u4e00\u4e2aPython\u5230C\u7684\u7f16\u8bd1\u5668\uff0c\u5b83\u4e0d\u4ec5\u53ef\u4ee5\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u8fd8\u53ef\u4ee5\u4f18\u5316\u4ee3\u7801\u6027\u80fd\u3002Nuitka\u7684\u4e00\u4e2a\u663e\u8457\u4f18\u52bf\u662f\u751f\u6210\u7684\u53ef\u6267\u884c\u6587\u4ef6\u901a\u5e38\u6bd4\u4f7f\u7528\u5176\u4ed6\u5de5\u5177\u751f\u6210\u7684\u66f4\u5c0f\u3001\u66f4\u5feb\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>PyOxidizer<\/strong><\/p>\n<\/p>\n<p><p>PyOxidizer\u662f\u4e00\u6b3e\u65b0\u5174\u7684\u6253\u5305\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u5c06Python\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210\u4e00\u4e2a\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u652f\u6301\u591a\u5e73\u53f0\u3002PyOxidizer\u7684\u4e00\u4e2a\u663e\u8457\u7279\u70b9\u662f\u5b83\u53ef\u4ee5\u5c06Python\u89e3\u91ca\u5668\u548c\u6240\u6709\u4f9d\u8d56\u9879\u6253\u5305\u5728\u4e00\u8d77\uff0c\u751f\u6210\u7684\u53ef\u6267\u884c\u6587\u4ef6\u65e0\u9700Python\u73af\u5883\u5373\u53ef\u8fd0\u884c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6cd5\uff0c\u4f60\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\uff0c\u5c06Python\u6587\u4ef6\u6210\u529f\u8f6c\u6362\u4e3a.exe\u53ef\u6267\u884c\u6587\u4ef6\u3002\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u95ee\u9898\uff0c\u53ef\u4ee5\u53c2\u8003\u5de5\u5177\u7684\u6587\u6863\u6216\u793e\u533a\u652f\u6301\u6765\u89e3\u51b3\u3002\u65e0\u8bba\u662f\u5f00\u53d1\u8005\u8fd8\u662f\u6700\u7ec8\u7528\u6237\uff0c\u8fd9\u4e9b\u5de5\u5177\u90fd\u80fd\u4e3aPython\u5e94\u7528\u7a0b\u5e8f\u7684\u5206\u53d1\u548c\u4f7f\u7528\u63d0\u4f9b\u6781\u5927\u7684\u4fbf\u5229\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\uff08exe\uff09\uff1f<\/strong><br \/>\u8981\u5c06Python\u6587\u4ef6\u8f6c\u6362\u4e3aexe\u683c\u5f0f\uff0c\u53ef\u4ee5\u4f7f\u7528\u50cfPyInstaller\u3001cx_Freeze\u6216py2exe\u7b49\u5de5\u5177\u3002\u8fd9\u4e9b\u5de5\u5177\u53ef\u4ee5\u5c06\u60a8\u7684Python\u4ee3\u7801\u548c\u76f8\u5173\u4f9d\u8d56\u6253\u5305\u6210\u4e00\u4e2a\u72ec\u7acb\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u65b9\u4fbf\u5728\u6ca1\u6709Python\u73af\u5883\u7684\u8ba1\u7b97\u673a\u4e0a\u8fd0\u884c\u3002<\/p>\n<p><strong>\u4f7f\u7528PyInstaller\u65f6\u9700\u8981\u6ce8\u610f\u54ea\u4e9b\u4e8b\u9879\uff1f<\/strong><br \/>\u4f7f\u7528PyInstaller\u65f6\uff0c\u786e\u4fdd\u60a8\u5df2\u7ecf\u5b89\u88c5\u4e86\u6240\u6709\u6240\u9700\u7684\u5e93\u548c\u4f9d\u8d56\u9879\u3002\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528<code>pyinstaller your_script.py<\/code>\u547d\u4ee4\u65f6\uff0c\u53ef\u4ee5\u6dfb\u52a0\u4e0d\u540c\u7684\u9009\u9879\uff0c\u4f8b\u5982<code>--onefile<\/code>\u6765\u521b\u5efa\u5355\u4e2aexe\u6587\u4ef6\uff0c\u6216<code>--windowed<\/code>\u6765\u907f\u514d\u5728\u8fd0\u884c\u65f6\u663e\u793a\u547d\u4ee4\u884c\u7a97\u53e3\u3002\u8fd8\u8981\u6ce8\u610f\uff0c\u6253\u5305\u540e\u7684\u6587\u4ef6\u53ef\u80fd\u8f83\u5927\uff0c\u56e0\u5176\u5305\u542b\u4e86Python\u89e3\u91ca\u5668\u548c\u6240\u6709\u4f9d\u8d56\u3002<\/p>\n<p><strong>\u8f6c\u6362\u540e\u7684exe\u6587\u4ef6\u5982\u4f55\u8fdb\u884c\u6d4b\u8bd5\u548c\u8c03\u8bd5\uff1f<\/strong><br \/>\u5728\u5c06Python\u811a\u672c\u8f6c\u6362\u4e3aexe\u540e\uff0c\u5efa\u8bae\u5728\u4e0d\u540c\u7684\u73af\u5883\u4e2d\u8fdb\u884c\u6d4b\u8bd5\uff0c\u786e\u4fdd\u5176\u6b63\u5e38\u8fd0\u884c\u3002\u53ef\u4ee5\u5728\u6ca1\u6709\u5b89\u88c5Python\u7684\u8ba1\u7b97\u673a\u4e0a\u8fdb\u884c\u6d4b\u8bd5\uff0c\u89c2\u5bdf\u662f\u5426\u6709\u4efb\u4f55\u4f9d\u8d56\u7f3a\u5931\u6216\u8fd0\u884c\u9519\u8bef\u3002\u5982\u679c\u51fa\u73b0\u95ee\u9898\uff0c\u53ef\u4ee5\u901a\u8fc7\u68c0\u67e5PyInstaller\u751f\u6210\u7684\u65e5\u5fd7\u6587\u4ef6\u6216\u4f7f\u7528<code>--debug<\/code>\u9009\u9879\u6765\u5e2e\u52a9\u8c03\u8bd5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5c06Python\u6587\u4ef6\u8f6c\u6362\u4e3a.exe\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5176\u4e2d\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528PyInstalle [&hellip;]","protected":false},"author":3,"featured_media":987942,"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\/987938"}],"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=987938"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/987938\/revisions"}],"predecessor-version":[{"id":987944,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/987938\/revisions\/987944"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/987942"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=987938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=987938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=987938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}