{"id":7872,"date":"2023-09-18T17:50:31","date_gmt":"2023-09-18T09:50:31","guid":{"rendered":"https:\/\/h5app.yimenapp.cn\/h5app\/?p=7872"},"modified":"2023-09-18T17:50:31","modified_gmt":"2023-09-18T09:50:31","slug":"pycharm%e6%89%93%e5%8c%85apk%e6%a0%bc%e5%bc%8f%e7%9a%84%e6%96%87%e4%bb%b6%e4%bd%9c%e7%94%a8%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"https:\/\/h5app.yimenapp.cn\/h5app\/2023\/sjapp\/7872\/","title":{"rendered":"pycharm\u6253\u5305apk\u683c\u5f0f\u7684\u6587\u4ef6\u4f5c\u7528\u4ecb\u7ecd"},"content":{"rendered":"<p>PyCharm\u662f\u4e00\u6b3ePython\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9Python\u5f00\u53d1\u8005\u66f4\u52a0\u9ad8\u6548\u5730\u5f00\u53d1Python\u5e94\u7528\u7a0b\u5e8f\u3002\u5728PyCharm\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e9b\u63d2\u4ef6\u6765\u6253\u5305Python\u5e94\u7528\u7a0b\u5e8f\uff0c\u5176\u4e2d\u6700\u5e38\u7528\u7684\u5c31\u662fPyInstaller\u3002<\/p>\n<p>PyInstaller\u662f\u4e00\u4e2aPython\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u5c06Python\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u4ece\u800c\u65b9\u4fbf\u7528\u6237\u5728\u6ca1\u6709Python\u73af\u5883\u7684\u673a\u5668\u4e0a\u8fd0\u884cPython\u5e94\u7528\u7a0b\u5e8f\u3002\u5728PyInstaller\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u7684\u65b9\u5f0f\u6765\u6253\u5305Python\u5e94\u7528\u7a0b\u5e8f\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7Py<a href=\"https:\/\/appdabao.yimenapp.com\/jiage-268.html\">\u524d\u7aefapp\u6253\u5305\u4e0a\u7ebf\u6d41\u7a0b<\/a>Charm\u4e2d\u7684\u63d2\u4ef6\u6765\u6253\u5305Python\u5e94\u7528\u7a0b\u5e8f\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528PyCharm\u4e2d\u7684\u63d2\u4ef6\u6765\u6253\u5305Python\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>\u9996\u5148\uff0c\u5728PyCharm\u4e2d\u5b89\u88c5PyInstaller\u63d2\u4ef6\u3002\u5728PyCh<a href=\"https:\/\/appdabao.yimenapp.com\/jiage-2002.html\">\u624b\u673a\u5c06py\u6587\u4ef6\u6253\u5305\u6210apk<\/a>arm\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u6253\u5f00\u201cSettings\u201d-&gt;\u201cPlugins\u201d-&gt;\u201cMarketplace\u201d\u6765\u641c\u7d22\u5e76\u5b89\u88c5PyInstaller\u63d2\u4ef6\u3002<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u4f7f\u7528PyInstaller\u63d2\u4ef6\u6765\u6253\u5305Python\u5e94\u7528\u7a0b\u5e8f\u4e86\u3002\u6253\u5305Python\u5e94\u7528\u7a0b\u5e8f\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<p>1. \u5728PyCharm\u4e2d\u6253\u5f00Python\u5e94\u7528\u7a0b\u5e8f\u7684\u9879\u76ee\u3002<\/p>\n<p>2. \u5728\u9879\u76ee\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\u5939\uff0c\u7528\u6765\u5b58\u653e\u6253\u5305\u540e\u7684\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>3. \u5728PyCharm\u7684<\/p>\n<p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.cdn.yimenapp.com\/2023-03\/20\/13\/25814470639.jpg\" \/><\/figure>\n<\/p>\n<p>\u53f3\u4fa7\u680f\u4e2d\uff0c\u627e\u5230\u201cPyInstaller\u201d\u63d2\u4ef6\uff0c\u7136\u540e\u53f3\u952e\u70b9\u51fb\u5b83\uff0c\u9009\u62e9\u201cEdit Configurations\u201d\u3002<\/p>\n<p>4. \u5728\u201cEdit Configurations\u201d\u5bf9\u8bdd\u6846\u4e2d\uff0c\u70b9\u51fb\u201c+\u201d\u6309\u94ae\uff0c\u9009\u62e9\u201cPyInstaller\u201d\u3002<\/p>\n<p>5. \u5728\u201cPyInstaller\u201d\u914d\u7f6e\u5bf9\u8bdd\u6846\u4e2d\uff0c\u586b\u5199\u4ee5\u4e0b\u4fe1\u606f\uff1a<\/p>\n<p>    &#8211; Script path\uff1aPython\u5e94\u7528\u7a0b\u5e8f\u7684\u5165\u53e3\u6587\u4ef6\u3002<\/p>\n<p>    &#8211; Additional arguments\uff1a\u6253\u5305\u5e94\u7528\u7a0b\u5e8f\u65f6\u9700\u8981\u6dfb\u52a0\u7684\u53c2\u6570\u3002<\/p>\n<p>    &#8211; Dist path\uff1a\u6253\u5305\u540e\u5e94\u7528\u7a0b\u5e8f\u6240\u5728\u7684\u76ee\u5f55\u3002<\/p>\n<p>    &#8211; Work path\uff1a\u6253\u5305\u65f6\u7684\u4e34\u65f6\u76ee\u5f55\u3002<\/p>\n<p>6. \u70b9\u51fb\u201cOK\u201d\u6309\u94ae\u4fdd\u5b58\u914d\u7f6e\u3002<\/p>\n<p>7. \u5728PyCharm\u7684\u53f3\u4fa7\u680f\u4e2d\uff0c\u627e\u5230\u201cPyInstaller\u201d\u63d2\u4ef6\uff0c\u7136\u540e\u53f3\u952e\u70b9\u51fb\u5b83\uff0c\u9009\u62e9\u201cRun\u201d\u3002<\/p>\n<p>8. \u7b49\u5f85\u6253\u5305\u5b8c\u6210\u540e\uff0c\u5728\u201cDist path\u201d\u4e2d\u627e\u5230\u6253\u5305\u540e\u7684\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u4f7f\u7528PyCharm\u4e2d\u7684PyInstaller\u63d2\u4ef6\u6253\u5305Python\u5e94\u7528\u7a0b\u5e8f\u7684\u6b65\u9aa4\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5728\u6253\u5305\u5e94\u7528\u7a0b\u5e8f\u65f6\uff0c\u6211\u4eec\u9700\u8981\u6307\u5b9aPython\u5e94\u7528\u7a0b\u5e8f\u7684\u5165\u53e3\u6587\u4ef6\uff0c\u4e5f\u5c31\u662f\u5e94\u7528\u7a0b\u5e8f\u7684\u4e3b\u7a0b\u5e8f\u6587\u4ef6\u3002\u53e6\u5916\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u5728\u201cAdditional arguments\u201d\u4e2d\u6dfb\u52a0\u4e00\u4e9b\u53c2\u6570\uff0c\u6bd4\u5982\u201c&#8211;onefile\u201d\u53c2\u6570\uff0c\u8868\u793a\u5c06\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210\u5355\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/p>\n<p>\u603b\u7684\u6765\u8bf4\uff0cPyCharm\u662f\u4e00\u6b3e\u975e\u5e38\u597d\u7528\u7684Python\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u63d2\u4ef6\uff0c\u53ef\u4ee5\u5e2e\u52a9Python\u5f00\u53d1\u8005\u66f4\u52a0\u9ad8\u6548\u5730\u5f00\u53d1Python\u5e94\u7528\u7a0b\u5e8f\u3002\u4f7f\u7528PyCharm\u7684PyInstaller\u63d2\u4ef6\uff0c\u6211\u4eec\u53ef\u4ee5\u975e\u5e38\u65b9\u4fbf\u5730\u5c06Python\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u4ece\u800c\u65b9\u4fbf\u7528\u6237\u5728\u6ca1\u6709Python\u73af\u5883\u7684\u673a\u5668\u4e0a\u8fd0\u884cPython\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PyCharm\u662f\u4e00\u6b3ePython\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9Python\u5f00\u53d1\u8005\u66f4\u52a0\u9ad8\u6548\u5730\u5f00\u53d1Python\u5e94\u7528\u7a0b\u5e8f\u3002\u5728PyCharm\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e9b\u63d2\u4ef6\u6765\u6253\u5305Python\u5e94\u7528\u7a0b\u5e8f\uff0c\u5176\u4e2d\u6700\u5e38\u7528\u7684\u5c31\u662fPy<\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[13841,13840,982,11,226],"topic":[],"class_list":["post-7872","post","type-post","status-publish","format-standard","hentry","category-sjapp","tag-h5app","tag-sblapp","tag-982","tag-11","tag-226"],"_links":{"self":[{"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/posts\/7872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/comments?post=7872"}],"version-history":[{"count":0,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/posts\/7872\/revisions"}],"wp:attachment":[{"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/media?parent=7872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/categories?post=7872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/tags?post=7872"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/topic?post=7872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}