{"id":9962,"date":"2025-02-23T06:31:43","date_gmt":"2025-02-23T05:31:43","guid":{"rendered":"https:\/\/myoceane.fr\/?p=9962"},"modified":"2025-02-23T06:38:45","modified_gmt":"2025-02-23T05:38:45","slug":"python-python-on-mac-cpu-architecture-x86-or-arm","status":"publish","type":"post","link":"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/","title":{"rendered":"[Python] Python on which CPU Arch x86 or arm ?"},"content":{"rendered":"<div id=\"fb-root\"><\/div>\n\n<p style=\"text-align: justify;\">\u6ab8\u6aac\u7238\u4eba\u751f\u4e2d\u958b\u59cb\u4f7f\u7528 Apple Macbook \u662f\u5728 2014 \u5e74\u7684\u6642\u5019\uff0c\u8ddd\u4eca\u4e5f\u5df2\u7d93 10 \u5e74\u4ee5\u4e0a\u4e86\uff0c\u90a3\u6642\u5019 Macbook \u7684\u6676\u7247\u67b6\u69cb\u4e3b\u8981\u662f Intel x86\uff0c\u4e00\u76f4\u4ee5\u4f86\u90fd\u662f\u5229\u7528 Apple \u7684\u5099\u4efd\u5de5\u5177\u8f49\u63db\u4e86\u597d\u5e7e\u53f0\u96fb\u8166\uff0c\u76f4\u5230\u53bb\u5e74\u958b\u59cb\u4f7f\u7528 Apple M1 \u7684\u6676\u7247\uff0c\u5207\u63db\u5230\u4e86 arm \u7684\u67b6\u69cb\uff0c\u6162\u6162\u5730\u9047\u5230\u4e86\u4e00\u4e9b Python \u7a0b\u5f0f\u4e0d\u80fd\u8dd1\u5728 arm \u67b6\u69cb\u4e0a\u7684\u554f\u984c\uff0c\u7531\u65bc\u4ee5\u524d\u9810\u8a2d\u662f x86 \u7684\u74b0\u5883\uff0c\u6240\u4ee5\u81ea\u7136\u800c\u7136 homebrew \u5b89\u88dd\u7684\u76f8\u95dc\u7a0b\u5f0f\u90fd\u662f x86 \u7684\u7248\u672c\uff0c\u4f8b\u5982\u773e\u591a\u7684 Python \u7248\u672c\uff0c\u672c\u7bc7\u7d00\u9304\u5982\u4f55\u8abf\u6574 Macbook \u4f7f\u5176\u80fd\u5920\u5171\u5b58\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<h3 class=\"wp-block-heading\">\u4f60\u7684 Python \u8dd1\u5728\u54ea\u4e00\u500b\u67b6\u69cb\u4e0a\u5462\uff1f<a href=\"https:\/\/stackoverflow.com\/questions\/71548156\/how-to-get-architecture-of-running-python-interpreter-on-macos-with-apple-silico\">\u53c3\u8003<\/a><\/h3>\n<cite>\u57f7\u884c\u6307\u4ee4 python3 -c &#8216;import platform; print(platform.processor())&#8217; \u7684\u56de\u50b3\u503c\uff0ci386 \u4ee3\u8868 python \u57f7\u884c\u5728 x86 \u67b6\u69cb\uff0c\u56de\u50b3 arm \u5247\u4ee3\u8868 python \u662f\u5728 arm \u67b6\u69cb\u3002<\/cite><\/blockquote>\n\n\n\n<h3><strong>\u9996\u5148\u5148\u78ba\u5b9a Homebrew \u7248\u672c<\/strong><\/h3>\n<p>\u4e00\u822c\u4f86\u8aaa\u6700\u7c21\u55ae\u7684 python \u5b89\u88dd\u65b9\u5f0f\u5c31\u662f<a href=\"https:\/\/docs.brew.sh\/Homebrew-and-Python\">\u900f\u904e Homebrew<\/a>\uff0c\u6240\u4ee5\u4f60\u7684 Homebrew \u5f88\u5927\u7a0b\u5ea6\u5730\u5f71\u97ff\u4f60\u7684 python \u57f7\u884c\u67b6\u69cb\u3002<\/p>\n<p style=\"text-align: justify;\">\u900f\u904e\u4ee5\u4e0b\u6307\u4ee4\u6211\u5011\u767c\u73fe\u9810\u8a2d\u7684 brew \u7684\u5be6\u969b\u8def\u5f91\u8207 homebrew \u7684\u7248\u672c\uff0c\u9019\u908a\u53ef\u4ee5\u6e05\u695a\u7684\u89c0\u5bdf\u5230\u820a\u7684 homebrew \u7a0b\u5f0f\u662f macOS:14.6-x86_64 \u7248\u672c\uff0c\u4e26\u4e14\u6709\u555f\u52d5 Rosetta\uff0c\u95dc\u65bc Rosetta \u53ef\u4ee5\u53c3\u8003 <a href=\"https:\/\/support.apple.com\/en-us\/102527\">Apple \u5b98\u7db2\u4e0a\u7684\u89e3\u91cb<\/a>\uff0c\u4ed6\u6700\u8457\u8981\u7684\u76ee\u7684\u5c31\u662f\uff1a<strong>Rosetta 2 enables a Mac with Apple silicon to use apps that were built for a Mac with an Intel processor.<\/strong><\/p>\n<pre class=\"lang:bash\">% which brew\n\/usr\/local\/bin\/brew\n\n% brew config\nHOMEBREW_VERSION: 4.4.21\nORIGIN: https:\/\/github.com\/Homebrew\/brew\nHEAD: 2e57f8f794af60804dcc185d1807c6d6ca10418c\nLast commit: 6 days ago\nBranch: stable\nCore tap JSON: 23 Feb 00:05 UTC\nCore cask tap JSON: 23 Feb 00:05 UTC\nHOMEBREW_PREFIX: \/usr\/local\nHOMEBREW_REPOSITORY: \/usr\/local\/Homebrew\nHOMEBREW_CELLAR: \/usr\/local\/Cellar\nHOMEBREW_CASK_OPTS: []\nHOMEBREW_MAKE_JOBS: 10\nHomebrew Ruby: 3.3.7 =&gt; \/usr\/local\/Homebrew\/Library\/Homebrew\/vendor\/portable-ruby\/3.3.7\/bin\/ruby\nCPU: deca-core 64-bit westmere\nClang: 14.0.0 build 1400\nGit: 2.31.1 =&gt; \/usr\/local\/bin\/git\nCurl: 8.7.1 =&gt; \/usr\/bin\/curl\nmacOS: 14.6-x86_64\nCLT: 15.0.3.9.4\nXcode: 14.0.1\nRosetta 2: true<\/pre>\n<p>\u6240\u4ee5\u57fa\u672c\u4e0a\u5982\u679c\u4f60\u7e7c\u7e8c\u4f7f\u7528 homebrew \u5b89\u88dd\u7684\u6240\u6709\u6771\u897f\uff0c\u90fd\u6703\u7528 x86 \u7684\u67b6\u69cb\u53bb\u7de8\u8b6f\u7684\uff0c\u5982\u679c\u60f3\u8981\u76f4\u63a5\u5b89\u88dd arm \u67b6\u69cb\u7de8\u8b6f\u7684 App \u9019\u6642\u5019\u4f60\u5c31\u8981\u53e6\u5916\u5b89\u88dd\u4e00\u500b homebrew <a href=\"https:\/\/brew.sh\/\">\u5b89\u88dd\u53c3\u8003<\/a>\uff0c\u6b64\u6642\u4f60\u7684\u96fb\u8166\u88e1\u6703\u51fa\u73fe\u5169\u500b homebrew \u7684\u8def\u5f91 <code class=\"language-plaintext highlighter-rouge\">\/opt\/homebrew<\/code>\u00a0for Apple Silicon,\u00a0<code class=\"language-plaintext highlighter-rouge\">\/usr\/local<\/code> for macOS Intel\uff0c\u4f60\u6703\u89c0\u5bdf\u5230\u5169\u500b\u8a2d\u5b9a\u4e0d\u4e00\u6a23\u3002<\/p>\n<pre class=\"lang:bash\">% \/opt\/homebrew\/bin\/brew config\nHOMEBREW_VERSION: 4.4.17\nORIGIN: https:\/\/github.com\/Homebrew\/brew\nHEAD: 55f399c10dc7e6cc07497bdfccdecc96329e3b57\nLast commit: 5 weeks ago\nBranch: stable\nCore tap JSON: 23 Feb 00:05 UTC\nCore cask tap JSON: 23 Feb 00:05 UTC\nHOMEBREW_PREFIX: \/opt\/homebrew\nHOMEBREW_CASK_OPTS: []\nHOMEBREW_MAKE_JOBS: 10\nHomebrew Ruby: 3.3.7 =&gt; \/opt\/homebrew\/Library\/Homebrew\/vendor\/portable-ruby\/3.3.7\/bin\/ruby\nCPU: deca-core 64-bit arm_firestorm_icestorm\nClang: 14.0.0 build 1400\nGit: 2.37.0 =&gt; \/Applications\/Xcode.app\/Contents\/Developer\/usr\/bin\/git\nCurl: 8.7.1 =&gt; \/usr\/bin\/curl\nmacOS: 14.6-arm64\nCLT: 15.0.3.9.4\nXcode: 14.0.1\nRosetta 2: false<\/pre>\n<h3>\u5b89\u88dd python<\/h3>\n<p>\u6839\u64da\u4f60\u7684\u9700\u8981\u57f7\u884c\u76f8\u5c0d\u61c9\u7684\u6307\u4ee4\u53ef\u4ee5\u5b89\u88dd\u4e0d\u540c\u67b6\u69cb\u7684 Python \u7a0b\u5f0f\u3002<\/p>\n<pre class=\"lang:bash\">\/usr\/local\/bin\/brew install python@3.13 \n\/opt\/homebrew\/bin\/brew install python@3.13<\/pre>\n<p>\u5099\u8a3b\uff1a\u5e38\u898b\u7684 Python virtualenv \u7684\u7ba1\u7406\u5957\u4ef6\u4f8b\u5982\uff1aconda, pipenv \u7b49\u7b49\u4e5f\u5fc5\u9808\u8981\u8ddf\u8457\u4e0d\u540c\u7684 homebrew \u5b89\u88dd\u5426\u5247\u5275\u5efa\u51fa\u4f86\u7684 python \u74b0\u5883\u4ecd\u7136\u6703\u662f homebrew \u4f7f\u7528\u7684\u67b6\u69cb\u3002<\/p>\n\n\n\n<h3>\u8a2d\u5b9a\u5408\u9069\u7684 python3 \u9023\u7d50<\/h3>\n<p>\u7576\u5b89\u88dd\u597d\u5408\u9069\u7684 python \u7248\u672c\u4e4b\u5f8c\uff0c\u8a18\u5f97\u8981\u8abf\u6574 python \u7b49\u7b49\u6307\u4ee4\u7684\u771f\u5be6\u8def\u5f91\uff0c\u5982\u4e0b\u6240\u793a\uff1a\u6211\u5011\u53ef\u4ee5\u56e0\u6b64\u53bb\u5207\u63db\u8abf\u7528\u5e38\u7528\u7684 python3.13 \u5728 arm \u7684\u67b6\u69cb\u4e4b\u4e0a\u3002<\/p>\n<pre class=\"lang:bash\">% ls -l \/usr\/local\/bin | grep python3\n-rwxr-xr-x   1 admin  admin    247  6 15  2023 ipython3\nlrwxr-xr-x   1 admin  admin     44  9 16 10:36 python3.10 -&gt; ..\/Cellar\/python@3.10\/3.10.15\/bin\/python3.10\nlrwxr-xr-x   1 admin  admin     51  9 16 10:36 python3.10-config -&gt; ..\/Cellar\/python@3.10\/3.10.15\/bin\/python3.10-config\nlrwxr-xr-x   1 admin  admin     44  9 16 10:37 python3.11 -&gt; ..\/Cellar\/python@3.11\/3.11.10\/bin\/python3.11\nlrwxr-xr-x   1 admin  admin     51  9 16 10:37 python3.11-config -&gt; ..\/Cellar\/python@3.11\/3.11.10\/bin\/python3.11-config\nlrwxr-xr-x   1 admin  admin     43  9 16 10:44 python3.12 -&gt; ..\/Cellar\/python@3.12\/3.12.6\/bin\/python3.12\nlrwxr-xr-x   1 admin  admin     50  9 16 10:45 python3.12-config -&gt; ..\/Cellar\/python@3.12\/3.12.6\/bin\/python3.12-config\nlrwxr-xr-x   1 admin  admin     54  1 26 15:13 python3.13 -&gt; \/opt\/homebrew\/Cellar\/python@3.13\/3.13.1\/bin\/python3.13\nlrwxr-xr-x   1 admin  admin     61  1 26 15:13 python3.13-config -&gt; \/opt\/homebrew\/Cellar\/python@3.13\/3.13.1\/bin\/python3.13-config\nlrwxr-xr-x   1 admin  admin     41  2 23 08:12 python3.7 -&gt; ..\/Cellar\/python@3.7\/3.7.17\/bin\/python3.7\nlrwxr-xr-x   1 admin  admin     48  2 23 08:12 python3.7-config -&gt; ..\/Cellar\/python@3.7\/3.7.17\/bin\/python3.7-config\nlrwxr-xr-x   1 admin  admin     42  2 23 08:12 python3.7m -&gt; ..\/Cellar\/python@3.7\/3.7.17\/bin\/python3.7m\nlrwxr-xr-x   1 admin  admin     49  2 23 08:12 python3.7m-config -&gt; ..\/Cellar\/python@3.7\/3.7.17\/bin\/python3.7m-config\nlrwxr-xr-x   1 admin  admin     41  2 23 08:12 python3.8 -&gt; ..\/Cellar\/python@3.8\/3.8.20\/bin\/python3.8\nlrwxr-xr-x   1 admin  admin     48  2 23 08:12 python3.8-config -&gt; ..\/Cellar\/python@3.8\/3.8.20\/bin\/python3.8-config\nlrwxr-xr-x   1 admin  admin     41  9 16 10:35 python3.9 -&gt; ..\/Cellar\/python@3.9\/3.9.20\/bin\/python3.9\nlrwxr-xr-x   1 admin  admin     48  9 16 10:35 python3.9-config -&gt; ..\/Cellar\/python@3.9\/3.9.20\/bin\/python3.9-config<\/pre>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6ab8\u6aac\u7238\u4eba\u751f\u4e2d\u958b\u59cb\u4f7f\u7528 Apple Macbook \u662f\u5728 2014 \u5e74\u7684\u6642\u5019\uff0c\u8ddd\u4eca\u4e5f\u5df2\u7d93 10 \u5e74\u4ee5\u4e0a\u4e86\uff0c\u90a3\u6642\u5019 Macbook \u7684\u6676\u7247\u67b6\u69cb\u4e3b\u8981\u662f Intel x86\uff0c\u4e00\u76f4\u4ee5\u4f86\u90fd\u662f\u5229\u7528 Apple \u7684\u5099\u4efd\u5de5\u5177\u8f49\u63db\u4e86\u597d\u5e7e\u53f0\u96fb\u8166\uff0c\u76f4\u5230\u53bb\u5e74\u958b\u59cb\u4f7f\u7528 Apple M1 \u7684\u6676\u7247\uff0c\u5207\u63db\u5230\u4e86 arm \u7684\u67b6\u69cb\uff0c\u6162\u6162\u5730\u9047\u5230\u4e86\u4e00\u4e9b Python \u7a0b\u5f0f\u4e0d\u80fd\u8dd1\u5728 arm \u67b6\u69cb\u4e0a\u7684\u554f\u984c\uff0c\u7531\u65bc\u4ee5\u524d\u9810\u8a2d\u662f x86 \u7684\u74b0\u5883\uff0c\u6240\u4ee5\u81ea\u7136\u800c\u7136 homebrew \u5b89\u88dd\u7684\u76f8\u95dc\u7a0b\u5f0f\u90fd\u662f x86 \u7684\u7248\u672c\uff0c\u4f8b\u5982\u773e\u591a\u7684 Python \u7248\u672c\uff0c\u672c\u7bc7\u7d00\u9304\u5982\u4f55\u8abf\u6574 Macbook \u4f7f\u5176\u80fd\u5920\u5171\u5b58\u3002<\/p>\n","protected":false},"author":1,"featured_media":9967,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[176],"tags":[1845,1847,19],"class_list":["post-9962","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-arch","tag-arm","tag-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Python] Python on which CPU Arch x86 or arm ? - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Python] Python on which CPU Arch x86 or arm ? - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\" \/>\n<meta property=\"og:description\" content=\"\u6ab8\u6aac\u7238\u4eba\u751f\u4e2d\u958b\u59cb\u4f7f\u7528 Apple Macbook \u662f\u5728 2014 \u5e74\u7684\u6642\u5019\uff0c\u8ddd\u4eca\u4e5f\u5df2\u7d93 10 \u5e74\u4ee5\u4e0a\u4e86\uff0c\u90a3\u6642\u5019 Macbook \u7684\u6676\u7247\u67b6\u69cb\u4e3b\u8981\u662f Intel x86\uff0c\u4e00\u76f4\u4ee5\u4f86\u90fd\u662f\u5229\u7528 Apple \u7684\u5099\u4efd\u5de5\u5177\u8f49\u63db\u4e86\u597d\u5e7e\u53f0\u96fb\u8166\uff0c\u76f4\u5230\u53bb\u5e74\u958b\u59cb\u4f7f\u7528 Apple M1 \u7684\u6676\u7247\uff0c\u5207\u63db\u5230\u4e86 arm \u7684\u67b6\u69cb\uff0c\u6162\u6162\u5730\u9047\u5230\u4e86\u4e00\u4e9b Python \u7a0b\u5f0f\u4e0d\u80fd\u8dd1\u5728 arm \u67b6\u69cb\u4e0a\u7684\u554f\u984c\uff0c\u7531\u65bc\u4ee5\u524d\u9810\u8a2d\u662f x86 \u7684\u74b0\u5883\uff0c\u6240\u4ee5\u81ea\u7136\u800c\u7136 homebrew \u5b89\u88dd\u7684\u76f8\u95dc\u7a0b\u5f0f\u90fd\u662f x86 \u7684\u7248\u672c\uff0c\u4f8b\u5982\u773e\u591a\u7684 Python \u7248\u672c\uff0c\u672c\u7bc7\u7d00\u9304\u5982\u4f55\u8abf\u6574 Macbook \u4f7f\u5176\u80fd\u5920\u5171\u5b58\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/\" \/>\n<meta property=\"og:site_name\" content=\"\u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-23T05:31:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-23T05:38:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/myoceane.fr\/wp-content\/uploads\/2025\/02\/arm_x86.png\" \/>\n\t<meta property=\"og:image:width\" content=\"840\" \/>\n\t<meta property=\"og:image:height\" content=\"472\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u6ab8\u6aac\u7238\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6ab8\u6aac\u7238\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/\"},\"author\":{\"name\":\"\u6ab8\u6aac\u7238\",\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"headline\":\"[Python] Python on which CPU Arch x86 or arm ?\",\"datePublished\":\"2025-02-23T05:31:43+00:00\",\"dateModified\":\"2025-02-23T05:38:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/\"},\"wordCount\":98,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"image\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2025\/02\/arm_x86.png\",\"keywords\":[\"arch\",\"arm\",\"Python\"],\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/\",\"url\":\"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/\",\"name\":\"[Python] Python on which CPU Arch x86 or arm ? - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane\",\"isPartOf\":{\"@id\":\"https:\/\/myoceane.fr\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2025\/02\/arm_x86.png\",\"datePublished\":\"2025-02-23T05:31:43+00:00\",\"dateModified\":\"2025-02-23T05:38:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/#primaryimage\",\"url\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2025\/02\/arm_x86.png\",\"contentUrl\":\"https:\/\/myoceane.fr\/wp-content\/uploads\/2025\/02\/arm_x86.png\",\"width\":840,\"height\":472},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/myoceane.fr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Python] Python on which CPU Arch x86 or arm ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/myoceane.fr\/#website\",\"url\":\"https:\/\/myoceane.fr\/\",\"name\":\"M-Y-Oceane \u60f3\u65b9\u6d89\u6cd5\u3002\u91cf\u74f6\u5916\u7684\u5929\u7a7a\",\"description\":\"\u60f3\u65b9\u6d89\u6cd5, France, Taiwan, Health, Information Technology\",\"publisher\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/myoceane.fr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b\",\"name\":\"\u6ab8\u6aac\u7238\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g\",\"caption\":\"\u6ab8\u6aac\u7238\"},\"logo\":{\"@id\":\"https:\/\/myoceane.fr\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/myoceane.fr\/index.php\/author\/johnny5584767gmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Python] Python on which CPU Arch x86 or arm ? - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/","og_locale":"en_US","og_type":"article","og_title":"[Python] Python on which CPU Arch x86 or arm ? - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","og_description":"\u6ab8\u6aac\u7238\u4eba\u751f\u4e2d\u958b\u59cb\u4f7f\u7528 Apple Macbook \u662f\u5728 2014 \u5e74\u7684\u6642\u5019\uff0c\u8ddd\u4eca\u4e5f\u5df2\u7d93 10 \u5e74\u4ee5\u4e0a\u4e86\uff0c\u90a3\u6642\u5019 Macbook \u7684\u6676\u7247\u67b6\u69cb\u4e3b\u8981\u662f Intel x86\uff0c\u4e00\u76f4\u4ee5\u4f86\u90fd\u662f\u5229\u7528 Apple \u7684\u5099\u4efd\u5de5\u5177\u8f49\u63db\u4e86\u597d\u5e7e\u53f0\u96fb\u8166\uff0c\u76f4\u5230\u53bb\u5e74\u958b\u59cb\u4f7f\u7528 Apple M1 \u7684\u6676\u7247\uff0c\u5207\u63db\u5230\u4e86 arm \u7684\u67b6\u69cb\uff0c\u6162\u6162\u5730\u9047\u5230\u4e86\u4e00\u4e9b Python \u7a0b\u5f0f\u4e0d\u80fd\u8dd1\u5728 arm \u67b6\u69cb\u4e0a\u7684\u554f\u984c\uff0c\u7531\u65bc\u4ee5\u524d\u9810\u8a2d\u662f x86 \u7684\u74b0\u5883\uff0c\u6240\u4ee5\u81ea\u7136\u800c\u7136 homebrew \u5b89\u88dd\u7684\u76f8\u95dc\u7a0b\u5f0f\u90fd\u662f x86 \u7684\u7248\u672c\uff0c\u4f8b\u5982\u773e\u591a\u7684 Python \u7248\u672c\uff0c\u672c\u7bc7\u7d00\u9304\u5982\u4f55\u8abf\u6574 Macbook \u4f7f\u5176\u80fd\u5920\u5171\u5b58\u3002","og_url":"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/","og_site_name":"\u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","article_published_time":"2025-02-23T05:31:43+00:00","article_modified_time":"2025-02-23T05:38:45+00:00","og_image":[{"width":840,"height":472,"url":"https:\/\/myoceane.fr\/wp-content\/uploads\/2025\/02\/arm_x86.png","type":"image\/png"}],"author":"\u6ab8\u6aac\u7238","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\u6ab8\u6aac\u7238","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/#article","isPartOf":{"@id":"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/"},"author":{"name":"\u6ab8\u6aac\u7238","@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"headline":"[Python] Python on which CPU Arch x86 or arm ?","datePublished":"2025-02-23T05:31:43+00:00","dateModified":"2025-02-23T05:38:45+00:00","mainEntityOfPage":{"@id":"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/"},"wordCount":98,"commentCount":0,"publisher":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"image":{"@id":"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/#primaryimage"},"thumbnailUrl":"https:\/\/myoceane.fr\/wp-content\/uploads\/2025\/02\/arm_x86.png","keywords":["arch","arm","Python"],"articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/","url":"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/","name":"[Python] Python on which CPU Arch x86 or arm ? - \u60f3\u65b9\u6d89\u6cd5 - \u91cf\u74f6\u5916\u7684\u5929\u7a7a M-Y-Oceane","isPartOf":{"@id":"https:\/\/myoceane.fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/#primaryimage"},"image":{"@id":"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/#primaryimage"},"thumbnailUrl":"https:\/\/myoceane.fr\/wp-content\/uploads\/2025\/02\/arm_x86.png","datePublished":"2025-02-23T05:31:43+00:00","dateModified":"2025-02-23T05:38:45+00:00","breadcrumb":{"@id":"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/#primaryimage","url":"https:\/\/myoceane.fr\/wp-content\/uploads\/2025\/02\/arm_x86.png","contentUrl":"https:\/\/myoceane.fr\/wp-content\/uploads\/2025\/02\/arm_x86.png","width":840,"height":472},{"@type":"BreadcrumbList","@id":"https:\/\/myoceane.fr\/index.php\/python-python-on-mac-cpu-architecture-x86-or-arm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/myoceane.fr\/"},{"@type":"ListItem","position":2,"name":"[Python] Python on which CPU Arch x86 or arm ?"}]},{"@type":"WebSite","@id":"https:\/\/myoceane.fr\/#website","url":"https:\/\/myoceane.fr\/","name":"M-Y-Oceane \u60f3\u65b9\u6d89\u6cd5\u3002\u91cf\u74f6\u5916\u7684\u5929\u7a7a","description":"\u60f3\u65b9\u6d89\u6cd5, France, Taiwan, Health, Information Technology","publisher":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/myoceane.fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/4a4552fb8c27693083d465e12db7658b","name":"\u6ab8\u6aac\u7238","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/myoceane.fr\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6cc678684664f8ad45a8d56a6630b183?s=96&d=mm&r=g","caption":"\u6ab8\u6aac\u7238"},"logo":{"@id":"https:\/\/myoceane.fr\/#\/schema\/person\/image\/"},"url":"https:\/\/myoceane.fr\/index.php\/author\/johnny5584767gmail-com\/"}]}},"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/9962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/comments?post=9962"}],"version-history":[{"count":11,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/9962\/revisions"}],"predecessor-version":[{"id":9975,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/posts\/9962\/revisions\/9975"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/media\/9967"}],"wp:attachment":[{"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/media?parent=9962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/categories?post=9962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myoceane.fr\/index.php\/wp-json\/wp\/v2\/tags?post=9962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}