{"id":57,"date":"2026-04-16T15:00:50","date_gmt":"2026-04-16T07:00:50","guid":{"rendered":"https:\/\/yuting.xin\/?p=57"},"modified":"2026-04-16T15:01:40","modified_gmt":"2026-04-16T07:01:40","slug":"pycharm-5","status":"publish","type":"post","link":"https:\/\/yuting.xin\/index.php\/2026\/04\/16\/pycharm-5\/","title":{"rendered":"Pycharm"},"content":{"rendered":"<h1>\u4e0b\u8f7d<\/h1>\n<p>\u4e0b\u8f7d\u5730\u5740\uff1ahttps:\/\/www.jetbrains.com\/zh-cn\/pycharm\/download\/?section=windows<\/p>\n<blockquote>\n<p>\u5176\u4e2d\u6709\u4e24\u4e2a\u4e0b\u8f7d\u9009\u9879\uff1a<\/p>\n<\/blockquote>\n<p>PyCharm <strong>\u666e\u901a\u7248<\/strong> (Windows .exe)\u548cPyCharm <strong>ARM64 \u7248<\/strong> (Windows ARM64 .exe)<br \/>\n\u533a\u522b\u5728\u4e8e\u5904\u7406\u5668\u4e0d\u4e00\u6837\u3002\u4e00\u822c\u7684\u7535\u8111\u5e94\u8be5\u90fd\u662f\u666e\u901a\u7248\u672c<\/p>\n<table>\n<thead>\n<tr>\n<th>\u5bf9\u6bd4\u7ef4\u5ea6<\/th>\n<th><strong>PyCharm \u666e\u901a\u7248<\/strong> (Windows .exe)<\/th>\n<th><strong>PyCharm ARM64 \u7248<\/strong> (Windows ARM64 .exe)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>\u9002\u7528CPU\u67b6\u6784<\/strong><\/td>\n<td><strong>x86 \/ x64 \u67b6\u6784<\/strong> (Intel \u9177\u777f\u7cfb\u5217 \/ AMD \u9510\u9f99\u7cfb\u5217\u7b49)<a href=\"https:\/\/ask.csdn.net\/questions\/8569259\"><\/a><\/td>\n<td><strong>ARM64 \u67b6\u6784<\/strong> (\u9ad8\u901a\u9a81\u9f99 \/ Apple M\u7cfb\u5217\u82af\u7247\u7b49)<a href=\"https:\/\/ask.csdn.net\/questions\/8569259\"><\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>\u5e38\u89c1\u7535\u8111\u7c7b\u578b<\/strong><\/td>\n<td>\u7edd\u5927\u591a\u6570\u7684\u7b14\u8bb0\u672c\u7535\u8111\u3001\u53f0\u5f0f\u673a\u3001\u5de5\u4f5c\u7ad9<\/td>\n<td>\u5c11\u6570\u91c7\u7528ARM\u82af\u7247\u7684Windows\u8bbe\u5907\uff0c\u5982Surface Pro X\u3001\u90e8\u5206\u65b0\u6b3e\u534e\u4e3aMateBook E\u7b49<a href=\"https:\/\/jishuzhan.net\/article\/1891401502681993218\"><\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>\u6027\u80fd\u4e0e\u517c\u5bb9\u6027<\/strong><\/td>\n<td>\u5728x86\/x64\u8bbe\u5907\u4e0a<strong>\u539f\u751f\u8fd0\u884c\uff0c\u6027\u80fd\u6700\u4f73<\/strong><a href=\"https:\/\/blog.csdn.net\/xioayanran123\/article\/details\/146376643\"><\/a>\u3002  &lt;br&gt;\u5728ARM\u8bbe\u5907\u4e0a\u9700\u901a\u8fc7\u7cfb\u7edf\u6a21\u62df\u5c42\u8fd0\u884c\uff0c<strong>\u6027\u80fd\u4f1a\u4e0b\u964d20%-30%<\/strong><a href=\"https:\/\/jishuzhan.net\/article\/1891401502681993218\"><\/a>\u3002<\/td>\n<td>\u5728ARM\u8bbe\u5907\u4e0a<strong>\u539f\u751f\u8fd0\u884c\uff0c\u6027\u80fd\u6700\u4f73\uff0c\u7eed\u822a\u66f4\u597d<\/strong><a href=\"https:\/\/ask.csdn.net\/questions\/8569259\"><\/a><a href=\"https:\/\/jishuzhan.net\/article\/1891401502681993218\"><\/a>\u3002  &lt;br&gt;<strong>\u65e0\u6cd5\u5728x86\/x64\u8bbe\u5907\u4e0a\u8fd0\u884c<\/strong><a href=\"https:\/\/blog.csdn.net\/xioayanran123\/article\/details\/146376643\"><\/a>\u3002<\/td>\n<\/tr>\n<tr>\n<td><strong>\u6f5c\u5728\u98ce\u9669<\/strong><\/td>\n<td>\u5728ARM\u8bbe\u5907\u4e0a\u8fd0\u884c\u65f6\uff0c\u6a21\u62df\u8fd0\u884c\u53ef\u80fd\u5bfc\u81f4\u542f\u52a8\u53d8\u6162\u3001\u8fd0\u884c\u65f6\u5361\u987f\u3002<\/td>\n<td>\u5728x86\/x64\u8bbe\u5907\u4e0a\u4f1a<strong>\u76f4\u63a5\u62a5\u9519<\/strong>\uff0c\u63d0\u793a\u201c\u6b64\u5e94\u7528\u65e0\u6cd5\u5728\u4f60\u7684\u7535\u8111\u4e0a\u8fd0\u884c\u201c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<blockquote>\n<p>\u600e\u4e48\u8bc6\u522b\u7528\u54ea\u4e2a\u7248\u672c\uff1f<\/p>\n<\/blockquote>\n<ul>\n<li>\u4f7f\u7528\u5feb\u6377\u952e <code>Win + R<\/code> \u6253\u5f00\u201c\u8fd0\u884c\u201d\u7a97\u53e3\u3002<\/li>\n<li>\u8f93\u5165 <code>msinfo32<\/code> \u5e76\u70b9\u51fb\u201c\u786e\u5b9a\u201d\uff0c\u6253\u5f00\u201c\u7cfb\u7edf\u4fe1\u606f\u201d\u7a97\u53e3&quot;\u3002<\/li>\n<li>\u5728\u53f3\u4fa7\u7684\u201c\u7cfb\u7edf\u6458\u8981\u201d\u4e2d\uff0c\u627e\u5230\u201c<strong>\u5904\u7406\u5668<\/strong>\u201d\u4e00\u9879\u3002\n<ul>\n<li>\u5982\u679c\u663e\u793a <strong>Intel<\/strong> \u6216 <strong>AMD<\/strong>\uff0c\u5c31\u4e0b\u8f7d<strong>\u666e\u901a\u7248<\/strong>\u3002<\/li>\n<li>\u5982\u679c\u663e\u793a <strong>Qualcomm<\/strong> \u6216 <strong>ARM<\/strong>\uff0c\u5c31\u4e0b\u8f7d <strong>ARM64 \u7248<\/strong>\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h1>\u5b89\u88c5<\/h1>\n<blockquote>\n<p>\u5b89\u88c5\u9009\u9879\uff1a<\/p>\n<\/blockquote>\n<p>\u2705 <strong>Create Desktop Shortcut<\/strong>\uff1a\u521b\u5efa\u684c\u9762\u5feb\u6377\u65b9\u5f0f\uff0c\u65b9\u4fbf\u4f60\u5feb\u901f\u542f\u52a8PyCharm\u3002<\/p>\n<p>\u2705 <strong>Add &quot;bin&quot; folder to the PATH<\/strong>\uff1a<strong>\uff08\u5f3a\u70c8\u63a8\u8350\uff09<\/strong> \u5c06PyCharm\u7684\u542f\u52a8\u8def\u5f84\u6dfb\u52a0\u5230\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u4e2d\u3002\u52fe\u9009\u540e\uff0c\u4f60\u53ef\u4ee5\u5728\u547d\u4ee4\u63d0\u793a\u7b26\uff08CMD\uff09\u6216PowerShell\u4e2d\u76f4\u63a5\u8f93\u5165 <code>pycharm<\/code> \u547d\u4ee4\u6765\u542f\u52a8\u5b83\u3002<\/p>\n<p>\u2705 <strong>Add &quot;Open Folder as Project&quot;<\/strong>\uff1a\u5728\u6587\u4ef6\u5939\u7684\u53f3\u952e\u83dc\u5355\u4e2d\u6dfb\u52a0\u201c\u4f5c\u4e3aPyCharm\u9879\u76ee\u6253\u5f00\u201d\u7684\u9009\u9879\uff0c\u65b9\u4fbf\u5feb\u901f\u5bfc\u5165\u9879\u76ee\u3002<\/p>\n<p>\u2705 <strong>Associate .py files<\/strong>\uff1a\u5c06\u6240\u6709 <code>.py<\/code> \u540e\u7f00\u7684Python\u811a\u672c\u6587\u4ef6\u5173\u8054\u5230PyCharm\uff0c\u8fd9\u6837\u53cc\u51fb <code>.py<\/code> \u6587\u4ef6\u5c31\u80fd\u76f4\u63a5\u7528PyCharm\u6253\u5f00\u5e76\u7f16\u8f91\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/yuting.xin\/wp-content\/uploads\/2026\/04\/Pasted-image-20260416122245.png\" alt=\"Pasted image 20260416122245.png\"><\/p>\n<h1>\u7834\u89e3<\/h1>\n<ul>\n<li>\u767b\u5f55\u7f51\u7ad9\uff1a https:\/\/3.jetbra.in\/<\/li>\n<li>\u4e0b\u8f7d\u8f6f\u4ef6zip\u5305\uff1a\u70b9\u51fbjetbra.zip,\u89e3\u538b\u3002\u4e0d\u8981\u89e3\u538b\u5230\u5b89\u88c5\u76ee\u5f55\uff0c\u653e\u5230\u522b\u7684\u5730\u65b9<\/li>\n<li>\u6253\u5f00readme.txt.\n<ul>\n<li>\u9605\u8bfb\u6587\u4ef6\u4e2d\u7684\u6b65\u9aa4\u6309\u8981\u6c42\u64cd\u4f5c<\/li>\n<li>\u5c06-javaagent:\/path\/to\/ja-netfilter.jar=jetbrains\n<ul>\n<li>\/path\/to\/ja-netfilter.jar\u8981\u66ff\u6362\u4e3a\u5b9e\u9645\u7684netfilter.jar\u6587\u4ef6\u7684\u7edd\u5bf9\u8def\u5f84<\/li>\n<li>\u4f8b\u5982\uff1a-javaagent:D:\\ruanjian\\jetbra\\ja-netfilter.jar=jetbrains<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u56de\u5230\u7f51\u9875\u4e0a\u83b7\u53d6\u7834\u89e3\u7801\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/yuting.xin\/wp-content\/uploads\/2026\/04\/Pasted-image-20260416140109.png\" alt=\"Pasted image 20260416140109.png\"><\/li>\n<\/ul>\n<h1>pip<\/h1>\n<h2>\u73af\u5883\u4e2d\u5b89\u88c5\u4e86\u54ea\u4e9b\u7a0b\u5e8f<\/h2>\n<pre><code class=\"language-python\"># \u5728\u63a7\u5236\u53f0\u5c55\u793a\u51fa\u6765\npip list \n# \u5bfc\u51fa\u5230requirements.txt\npip freeze &gt; requirements.txt \n# \u5c06\u4e4b\u524d\u5bfc\u51fa\u7684\u76f4\u63a5\u5b89\u88c5\u3002\u5c31\u4e0d\u7528\u4e00\u4e2a\u4e00\u4e2ainstall\u4e86\npip install -r requirements.txt \n<\/code><\/pre>\n<h1>\u865a\u62df\u73af\u5883<\/h1>\n<pre><code class=\"language-python\">#\u521b\u5efa\u865a\u62df\u73af\u5883\nvirtualenv .venv --python=python3.9\n#\u521b\u5efa\u4e86\u4e4b\u540e\u9700\u8981\u548c\u9879\u76ee\u8fdb\u884c\u5173\u8054\uff0c\u8bbe\u7f6e\u91cc\u3002\n#\u9000\u51fa\u865a\u62df\u73af\u5883\ndeactivate\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0b\u8f7d \u4e0b\u8f7d\u5730\u5740\uff1ahttps:\/\/www.jetbrains.com\/zh-cn\/pycharm\/downloa &#8230; <a title=\"Pycharm\" class=\"read-more\" href=\"https:\/\/yuting.xin\/index.php\/2026\/04\/16\/pycharm-5\/\" aria-label=\"\u9605\u8bfb Pycharm\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-57","post","type-post","status-publish","format-standard","hentry","category-ide"],"_links":{"self":[{"href":"https:\/\/yuting.xin\/index.php\/wp-json\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yuting.xin\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yuting.xin\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yuting.xin\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yuting.xin\/index.php\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":2,"href":"https:\/\/yuting.xin\/index.php\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"predecessor-version":[{"id":59,"href":"https:\/\/yuting.xin\/index.php\/wp-json\/wp\/v2\/posts\/57\/revisions\/59"}],"wp:attachment":[{"href":"https:\/\/yuting.xin\/index.php\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yuting.xin\/index.php\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yuting.xin\/index.php\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}