{"id":179264,"date":"2024-05-08T20:09:23","date_gmt":"2024-05-08T12:09:23","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/179264.html"},"modified":"2024-05-08T20:09:36","modified_gmt":"2024-05-08T12:09:36","slug":"macbookpro%ef%bc%8c%e5%af%92%e5%81%87%e6%83%b3%e5%ad%a6%e4%b8%8bpython%ef%bc%8c%e7%94%a8%e4%bb%80%e4%b9%88%e8%bd%af%e4%bb%b6%e5%a5%bd%e4%b8%80%e7%82%b9","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/179264.html","title":{"rendered":"MacbookPro\uff0c\u5bd2\u5047\u60f3\u5b66\u4e0bPython\uff0c\u7528\u4ec0\u4e48\u8f6f\u4ef6\u597d\u4e00\u70b9"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27064051\/8fda7a56-0c67-4751-98a2-f7221bf662d1.webp\" alt=\"MacbookPro\uff0c\u5bd2\u5047\u60f3\u5b66\u4e0bPython\uff0c\u7528\u4ec0\u4e48\u8f6f\u4ef6\u597d\u4e00\u70b9\" \/><\/p>\n<p><p>\u5bf9\u4e8e\u5bd2\u5047\u671f\u95f4\u60f3\u5b66\u4e60 Python \u7684 Macbook Pro \u7528\u6237\u6765\u8bf4\uff0c\u6700\u597d\u7684\u8f6f\u4ef6\u9009\u62e9\u5305\u62ec <strong>PyCharm\u3001Jupyter Notebook\u3001Visual Studio Code\uff08VS Code\uff09<\/strong>\u3002\u8fd9\u4e9b\u5de5\u5177\u5404\u6709\u4f18\u52bf\uff0c\u6839\u636e\u4e2a\u4eba\u9700\u6c42\u548c\u5b66\u4e60\u9636\u6bb5\u7684\u4e0d\u540c\uff0c\u9009\u62e9\u6700\u9002\u5408\u81ea\u5df1\u7684\u5f00\u53d1\u73af\u5883\u81f3\u5173\u91cd\u8981\u3002<strong>PyCharm<\/strong> \u662f\u4e13\u4e3a Python \u5f00\u53d1\u8bbe\u8ba1\u7684\u4e00\u6b3e\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\uff0c\u5b83\u63d0\u4f9b\u4e86\u4ee3\u7801\u5206\u6790\u3001\u56fe\u5f62\u5316\u8c03\u8bd5\u5668\u3001\u96c6\u6210\u6d4b\u8bd5\u5668\u4ee5\u53ca\u7248\u672c\u63a7\u5236\u7cfb\u7edf\u7684\u96c6\u6210\uff0c\u9002\u5408\u90a3\u4e9b\u770b\u91cd\u5f00\u53d1\u6548\u7387\u548c\u4e13\u4e1a\u529f\u80fd\u7684\u7528\u6237\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u8ba8\u8bba\u6bcf\u4e2a\u8f6f\u4ef6\u7684\u7279\u70b9\u4ee5\u53ca\u4e3a\u4ec0\u4e48\u5b83\u4eec\u662f\u5b66\u4e60 Python \u7684\u597d\u9009\u62e9\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001PYCHARM<\/h3>\n<\/p>\n<p><p><strong>PyCharm<\/strong> \u662f JetBr<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>ns \u5f00\u53d1\u7684\u4e00\u6b3e\u5f3a\u5927\u7684 Python IDE\uff0c\u5b83\u63d0\u4f9b\u4e86\u5bf9 Python \u5f00\u53d1\u5168\u65b9\u4f4d\u7684\u652f\u6301\u3002<strong>\u9996\u5148\uff0cPyCharm \u662f\u4e2a\u201c\u4e07\u80fd\u201d\u7684\u5de5\u5177\u7bb1\uff0c<\/strong> \u5b83\u96c6\u6210\u4e86\u4ee3\u7801\u7f16\u5199\u3001\u8c03\u8bd5\u3001\u6d4b\u8bd5\u3001\u7248\u672c\u63a7\u5236\u7b49\u591a\u9879\u529f\u80fd\uff0c\u8ba9\u5f00\u53d1\u8005\u53ef\u4ee5\u5728\u4e00\u4e2a\u7edf\u4e00\u7684\u73af\u5883\u4e2d\u5b8c\u6210\u51e0\u4e4e\u6240\u6709\u7684\u5f00\u53d1\u4efb\u52a1\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u4ee3\u7801\u8865\u5168\u548c\u63d0\u793a\u529f\u80fd<\/strong>\uff1aPyCharm \u63d0\u4f9b\u9ad8\u6548\u7684\u4ee3\u7801\u8865\u5168\u529f\u80fd\uff0c\u80fd\u6839\u636e\u4e0a\u4e0b\u6587\u81ea\u52a8\u63d0\u4f9b\u4ee3\u7801\u8865\u5168\u5efa\u8bae\u3002\u8fd9\u5728\u5b66\u4e60\u9636\u6bb5\u7279\u522b\u6709\u7528\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5b66\u4e60\u8005\u8fc5\u901f\u638c\u63e1\u51fd\u6570\u548c\u5e93\u7684\u7528\u6cd5\uff0c\u51cf\u5c11\u67e5\u627e\u6587\u6863\u7684\u65f6\u95f4\u3002<\/li>\n<li><strong>\u8c03\u8bd5\u548c\u6d4b\u8bd5\u5de5\u5177<\/strong>\uff1a\u96c6\u6210\u7684\u8c03\u8bd5\u548c\u6d4b\u8bd5\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5feb\u901f\u5b9a\u4f4d\u95ee\u9898\u548c\u7f3a\u9677\uff0c\u8fd9\u5bf9\u4e8e\u7f16\u7a0b\u65b0\u624b\u6765\u8bf4\u5c24\u4e3a\u91cd\u8981\u3002\u5f53\u9047\u5230\u4ee3\u7801\u95ee\u9898\u65f6\uff0c\u80fd\u591f\u4f7f\u7528\u56fe\u5f62\u5316\u754c\u9762\u9010\u6b65\u8ddf\u8e2a\u7a0b\u5e8f\u7684\u6267\u884c\uff0c\u8fd9\u4e0d\u4ec5\u6709\u52a9\u4e8e\u9519\u8bef\u53d1\u73b0\uff0c\u4e5f\u662f\u5b66\u4e60\u7a0b\u5e8f\u5185\u90e8\u5de5\u4f5c\u673a\u5236\u7684\u597d\u673a\u4f1a\u3002<\/li>\n<\/ul>\n<p><h3>\u4e8c\u3001JUPYTER NOTEBOOK<\/h3>\n<\/p>\n<p><p><strong>Jupyter Notebook<\/strong> \u662f\u4e00\u4e2a\u5f00\u6e90\u7684 Web \u5e94\u7528\u7a0b\u5e8f\uff0c\u5141\u8bb8\u4f60\u521b\u5efa\u548c\u5171\u4eab\u5305\u542b\u4ee3\u7801\u3001\u65b9\u7a0b\u5f0f\u3001\u53ef\u89c6\u5316\u4ee5\u53ca\u6587\u672c\u7684\u6587\u6863\u3002\u5b83\u4e3b\u8981\u9762\u5411\u6570\u636e\u79d1\u5b66\u548c<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u9886\u57df\uff0c\u4f46\u5bf9\u4e8e\u521d\u5b66\u8005\u5b66\u4e60 Python \u4e5f\u975e\u5e38\u53cb\u597d\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u4ea4\u4e92\u5f0f\u5b66\u4e60\u4f53\u9a8c<\/strong>\uff1a\u5728 Jupyter Notebook \u4e2d\uff0c\u4ee3\u7801\u53ef\u4ee5\u9010\u5757\u8fd0\u884c\uff0c\u8ba9\u5b66\u4e60\u8005\u53ef\u4ee5\u5373\u65f6\u770b\u5230\u6bcf\u6bb5\u4ee3\u7801\u7684\u6267\u884c\u7ed3\u679c\uff0c\u8fd9\u79cd\u4ea4\u4e92\u5f0f\u5b66\u4e60\u65b9\u5f0f\u975e\u5e38\u9002\u5408\u63a2\u7d22\u6027\u5b66\u4e60\u548c\u5b9e\u9a8c\u3002<\/li>\n<li><strong>\u6587\u6863\u548c\u4ee3\u7801\u96c6\u6210<\/strong>\uff1aJupyter Notebook \u5141\u8bb8\u7528\u6237\u5728\u540c\u4e00\u4e2a\u6587\u6863\u4e2d\u540c\u65f6\u7f16\u5199\u4ee3\u7801\u548c\u7b14\u8bb0\uff0c\u8fd9\u5bf9\u4e8e\u521d\u5b66\u8005\u7406\u89e3\u548c\u8bb0\u5fc6\u65b0\u6982\u5ff5\u975e\u5e38\u6709\u5e2e\u52a9\u3002<\/li>\n<\/ul>\n<p><h3>\u4e09\u3001VISUAL STUDIO CODE\uff08VS CODE\uff09<\/h3>\n<\/p>\n<p><p><strong>Visual Studio Code<\/strong> \u662f\u4e00\u6b3e\u8f7b\u91cf\u7ea7\u4f46\u529f\u80fd\u5f3a\u5927\u7684\u7f16\u8f91\u5668\uff0c\u5b83\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u5305\u62ec Python\u3002\u901a\u8fc7\u5b89\u88c5 Python \u63d2\u4ef6\uff0cVS Code \u53ef\u4ee5\u4e3a Python \u5f00\u53d1\u63d0\u4f9b\u4e30\u5bcc\u7684\u652f\u6301\uff0c\u9002\u5408\u90a3\u4e9b\u559c\u6b22\u9ad8\u5ea6\u53ef\u5b9a\u5236\u5316\u5f00\u53d1\u73af\u5883\u7684\u7528\u6237\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u9ad8\u5ea6\u53ef\u5b9a\u5236\u5316<\/strong>\uff1aVS Code \u7684\u7528\u6237\u754c\u9762\u548c\u529f\u80fd\u90fd\u975e\u5e38\u53ef\u5b9a\u5236\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u559c\u597d\u548c\u9700\u8981\u5b89\u88c5\u63d2\u4ef6\u548c\u4e3b\u9898\uff0c\u6253\u9020\u4e2a\u6027\u5316\u7684\u7f16\u7a0b\u73af\u5883\u3002<\/li>\n<li><strong>\u5e7f\u6cdb\u7684\u63d2\u4ef6\u751f\u6001<\/strong>\uff1aVS Code \u62e5\u6709\u4e00\u4e2a\u5e9e\u5927\u7684\u63d2\u4ef6\u751f\u6001\u7cfb\u7edf\uff0c\u5176\u4e2d\u4e0d\u4e4f\u4f18\u79c0\u7684 Python \u5f00\u53d1\u5de5\u5177\u3002\u4f8b\u5982\uff0cPython \u63d2\u4ef6\u5c31\u63d0\u4f9b\u4e86\u667a\u80fd\u63d0\u793a\u3001\u4ee3\u7801\u81ea\u52a8\u5b8c\u6210\u3001\u4ee3\u7801\u5bfc\u822a\u3001\u8c03\u8bd5\u5de5\u5177\u7b49\u529f\u80fd\u3002<\/li>\n<\/ul>\n<p><p>\u5728\u9009\u62e9\u9002\u5408\u81ea\u5df1\u7684\u5de5\u5177\u65f6\uff0c\u5982\u679c\u4f60\u662f Python \u7f16\u7a0b\u7684\u521d\u5b66\u8005\uff0c<strong>Jupyter Notebook<\/strong> \u56e0\u5176\u4e92\u52a8\u6027\u5f3a\u3001\u9002\u5408\u9010\u6b65\u5b66\u4e60\u7684\u7279\u70b9\u53ef\u80fd\u66f4\u52a0\u5408\u9002\u3002\u5982\u679c\u4f60\u5e0c\u671b\u5728\u5b66\u4e60 Python \u7684\u540c\u65f6\uff0c\u57f9\u517b\u66f4\u52a0\u4e13\u4e1a\u7684\u8f6f\u4ef6\u5f00\u53d1\u4e60\u60ef\uff0c<strong>PyCharm<\/strong> \u6216 <strong>VS Code<\/strong> \u5219\u53ef\u80fd\u66f4\u9002\u5408\u4f60\uff0c\u7279\u522b\u662f PyCharm\uff0c\u5b83\u4e3a\u4e13\u4e1a\u7684 Python \u5f00\u53d1\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u652f\u6301\u3002\u6bcf\u79cd\u5de5\u5177\u90fd\u6709\u5176\u72ec\u7279\u4f18\u52bf\uff0c\u6700\u7ec8\u9009\u62e9\u5e94\u57fa\u4e8e\u4e2a\u4eba\u7684\u5b66\u4e60\u76ee\u6807\u548c\u504f\u597d\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u54ea\u4e9b\u8f6f\u4ef6\u9002\u5408\u521d\u5b66\u8005\u5b66\u4e60Python\uff1f<\/strong><\/p>\n<p>\u5bf9\u4e8e\u521d\u5b66\u8005\u5b66\u4e60Python\u6765\u8bf4\uff0c\u6709\u51e0\u6b3e\u8f6f\u4ef6\u7279\u522b\u9002\u5408\u4f7f\u7528\u3002\u9996\u5148\u662fAnaconda\uff0c\u5b83\u662f\u4e00\u4e2a\u6570\u636e\u79d1\u5b66\u5e73\u53f0\uff0c\u5185\u7f6e\u4e86Python\u548c\u4e30\u5bcc\u7684\u6570\u636e\u79d1\u5b66\u5de5\u5177\u5305\uff0c\u975e\u5e38\u9002\u5408\u5b66\u4e60Python\u7f16\u7a0b\u548c\u6570\u636e\u5206\u6790\u3002\u5176\u6b21\u662fPyCharm\uff0c\u5b83\u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u7684Python\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff0c\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u4ee3\u7801\u7f16\u8f91\u548c\u8c03\u8bd5\u5de5\u5177\uff0c\u9002\u5408\u5b66\u4e60\u548c\u5f00\u53d1Python\u9879\u76ee\u3002\u53e6\u5916\uff0cJupyter Notebook\u4e5f\u662f\u4e00\u4e2a\u5f88\u53d7\u6b22\u8fce\u7684\u5b66\u4e60\u5de5\u5177\uff0c\u5b83\u80fd\u591f\u5c06\u4ee3\u7801\u548c\u53ef\u89c6\u5316\u7ed3\u679c\u7ed3\u5408\u5728\u4e00\u8d77\uff0c\u4fbf\u4e8e\u5b66\u4e60\u548c\u5c55\u793a\u3002<\/p>\n<p><strong>2. \u9664\u4e86Anaconda\uff0c\u8fd8\u6709\u54ea\u4e9bPython\u5b66\u4e60\u5de5\u5177\u503c\u5f97\u63a8\u8350\uff1f<\/strong><\/p>\n<p>\u9664\u4e86Anaconda\uff0c\u8fd8\u6709\u4e00\u4e9b\u5176\u4ed6\u7684Python\u5b66\u4e60\u5de5\u5177\u53ef\u4ee5\u63a8\u8350\u3002\u9996\u5148\u662fVisual Studio Code\uff0c\u5b83\u662f\u4e00\u6b3e\u8f7b\u91cf\u7ea7\u7684\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u5185\u7f6e\u4e86\u4e30\u5bcc\u7684Python\u6269\u5c55\uff0c\u652f\u6301\u4ee3\u7801\u81ea\u52a8\u8865\u5168\u3001\u8c03\u8bd5\u7b49\u529f\u80fd\uff0c\u9002\u5408\u5b66\u4e60\u548c\u5f00\u53d1Python\u7a0b\u5e8f\u3002\u53e6\u5916\uff0cSublime Text\u4e5f\u662f\u4e00\u6b3e\u975e\u5e38\u53d7\u6b22\u8fce\u7684\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u5b83\u5177\u6709\u7b80\u6d01\u7684\u754c\u9762\u548c\u5f3a\u5927\u7684\u63d2\u4ef6\u7cfb\u7edf\uff0c\u80fd\u591f\u6ee1\u8db3\u5404\u79cd\u7f16\u7a0b\u9700\u6c42\u3002\u6b64\u5916\uff0cAtom\u548cSpyder\u4e5f\u662f\u4e00\u4e9b\u5907\u53d7\u63a8\u5d07\u7684Python\u5b66\u4e60\u5de5\u5177\uff0c\u5177\u6709\u5404\u81ea\u7279\u70b9\uff0c\u9002\u5408\u4e0d\u540c\u7684\u5b66\u4e60\u9700\u6c42\u3002<\/p>\n<p><strong>3. \u6211\u542c\u8bf4\u8fc7Jupyter Notebook\uff0c\u5b83\u9002\u5408\u5b66\u4e60Python\u5417\uff1f\u4e3a\u4ec0\u4e48\uff1f<\/strong><\/p>\n<p>\u662f\u7684\uff0cJupyter Notebook\u975e\u5e38\u9002\u5408\u5b66\u4e60Python\u3002\u5b83\u63d0\u4f9b\u4e86\u4e00\u4e2a\u4e92\u52a8\u5f0f\u7684\u7f16\u7a0b\u73af\u5883\uff0c\u80fd\u591f\u5c06\u4ee3\u7801\u3001\u6587\u6863\u548c\u53ef\u89c6\u5316\u7ed3\u679c\u7ed3\u5408\u5728\u4e00\u8d77\uff0c\u975e\u5e38\u65b9\u4fbf\u8fdb\u884c\u4ee3\u7801\u7684\u7f16\u5199\u548c\u5b66\u4e60\u8fc7\u7a0b\u7684\u8bb0\u5f55\u3002\u901a\u8fc7Jupyter Notebook\uff0c\u4f60\u53ef\u4ee5\u9010\u6b65\u8fd0\u884c\u4ee3\u7801\uff0c\u5e76\u53ca\u65f6\u67e5\u770b\u5b83\u4eec\u7684\u8f93\u51fa\u7ed3\u679c\uff0c\u8fd9\u6709\u52a9\u4e8e\u66f4\u597d\u5730\u7406\u89e3\u548c\u5b66\u4e60Python\u8bed\u8a00\u3002\u6b64\u5916\uff0cJupyter Notebook\u8fd8\u652f\u6301Markdown\u8bed\u6cd5\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u6dfb\u52a0\u6ce8\u91ca\u548c\u8bf4\u660e\uff0c\u63d0\u9ad8\u5b66\u4e60\u6548\u679c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5bf9\u4e8e\u5bd2\u5047\u671f\u95f4\u60f3\u5b66\u4e60 Python \u7684 Macbook Pro \u7528\u6237\u6765\u8bf4\uff0c\u6700\u597d\u7684\u8f6f\u4ef6\u9009\u62e9\u5305\u62ec PyCharm\u3001J [&hellip;]","protected":false},"author":3,"featured_media":179285,"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\/179264"}],"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=179264"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/179264\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/179285"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=179264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=179264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=179264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}