{"id":224,"date":"2023-10-18T08:10:46","date_gmt":"2023-10-18T00:10:46","guid":{"rendered":"http:\/\/test.ccwifi.cc\/?p=224"},"modified":"2023-10-18T08:10:46","modified_gmt":"2023-10-18T00:10:46","slug":"vscodepython%e4%be%bf%e6%90%ba%e7%89%88%e7%ae%80%e6%98%93%e5%88%b6%e4%bd%9c%e5%8f%af%e4%bb%a5%e7%9b%b4%e6%8e%a5%e5%a4%8d%e5%88%b6%e5%88%b0u%e7%9b%98","status":"publish","type":"post","link":"https:\/\/www.ccwifi.cc\/blogs\/2023\/10\/18\/vscodepython%e4%be%bf%e6%90%ba%e7%89%88%e7%ae%80%e6%98%93%e5%88%b6%e4%bd%9c%e5%8f%af%e4%bb%a5%e7%9b%b4%e6%8e%a5%e5%a4%8d%e5%88%b6%e5%88%b0u%e7%9b%98\/","title":{"rendered":"vscode+Python\u4fbf\u643a\u7248\u7b80\u6613\u5236\u4f5c\u53ef\u4ee5\u76f4\u63a5\u590d\u5236\u5230u\u76d8"},"content":{"rendered":"<h2 id=\"\">\u5f15\u8a00<\/h2>\n<p>\u5bf9\u4e8eVSCode\u548cPython\u7684\u7231\u597d\u8005\u6765\u8bf4\uff0c\u4e00\u76f4\u4ee5\u6765\u90fd\u88ab\u590d\u6742\u7684\u5f00\u53d1\u73af\u5883\u6240\u56f0\u6270\u3002\u56e0\u6b64\uff0c\u8feb\u5207\u9700\u8981\u4e00\u79cd\u80fd\u591f\u5c06VSCode\u548cPython\u653e\u7f6e\u5728U\u76d8\u4e2d\uff0c\u5e76\u4e14\u4e0d\u53d7\u8fd0\u884c\u73af\u5883\u5f71\u54cd\uff0c\u5728\u4e0d\u540c\u7535\u8111\u4e0a\u4fbf\u643a\u8fd0\u884c\u7684\u89e3\u51b3\u65b9\u6848\u3002\u901a\u8fc7\u521d\u6b65\u7684\u767e\u5ea6\u641c\u7d22\uff0c\u53d1\u73b0\u4e86\u4e24\u79cd\u65b9\u6848\uff1a\u4e00\u79cd\u662f\u4fee\u6539pipe.exe\u6e90\u6587\u4ef6\u7684\u5236\u4f5c\u65b9\u6cd5\uff0c\u53e6\u4e00\u79cd\u662f\u901a\u8fc7\u8bbe\u7f6ebat\u6279\u5904\u7406\u6765\u5b9e\u73b0\u4fbf\u643a\u5316\u3002\u7136\u800c\uff0c\u8fd9\u4e24\u79cd\u65b9\u6848\u64cd\u4f5c\u76f8\u5bf9\u590d\u6742\uff0c\u9700\u8981\u4e00\u5b9a\u7684\u8ba1\u7b97\u673a\u77e5\u8bc6\uff0c\u975e\u5e38\u4e0d\u65b9\u4fbf\u3002\u56e0\u6b64\uff0c\u6211\u63d0\u51fa\u4e86\u4e00\u79cd\u66f4\u52a0\u65b9\u4fbf\u6613\u5b9e\u73b0\u7684\u4fbf\u643a\u5316\u65b9\u6848\u3002<\/p>\n<h2 id=\"-1\">\u51c6\u5907\u5de5\u4f5c<\/h2>\n<ol>\n<li>\u4e0b\u8f7dVSCode\u4fbf\u643a\u7248\uff1a\u5728\u5b98\u7f51\u4e0b\u8f7d\u4efb\u610f\u7248\u672c\u7684VSCode\u4fbf\u643a\u7248\u3002\u8003\u8651\u5230\u517c\u5bb9\u6027\uff0c\u63a8\u8350\u4f7f\u7528\u6700\u65b0\u768432\u4f4d\u7248\u672c\uff08\u6ce8\u610f\uff1a64\u4f4d\u7cfb\u7edf\u4e5f\u53ef\u4ee5\u8fd0\u884c32\u4f4d\u7684VSCode\u7a0b\u5e8f\uff09\u3002\u5177\u4f53\u4e0b\u8f7d\u65b9\u6cd5\u5982\u4e0b\uff1a<\/li>\n<\/ol>\n<ul>\n<li>\u8fdb\u5165\u4fbf\u643a\u7248\u4e0b\u8f7d\u7f51\u5740\u3002<\/li>\n<li>\u6eda\u52a8\u5230\u9875\u9762\u5e95\u90e8\uff0c\u627e\u5230\u5e76\u4e0b\u8f7d32\u4f4d\u7684\u4fbf\u643a\u7248\uff08.zip 32bit\uff09\u3002<\/li>\n<\/ul>\n<ol>\n<li>\u4e0b\u8f7dWinPython\u7b80\u6613\u7248\uff1a\u9009\u62e9WinPython\u7684\u539f\u56e0\u662f\u5b83\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528\u81ea\u5e26\u7684\u7ec8\u7aefcmd\uff0c\u5e76\u4e14\u53ef\u4ee5\u5c06Python\u7684\u7b2c\u4e09\u65b9\u5e93\u5b89\u88c5\u5728WinPython\u7684\u6587\u4ef6\u5939\u4e0b\uff0c\u4e0d\u53d7\u7535\u8111\u7cfb\u7edf\u73af\u5883\u7684\u5f71\u54cd\u3002\u8fd9\u6837\u5c31\u53ef\u4ee5\u65b9\u4fbf\u5730\u5728U\u76d8\u4e0a\u6253\u5f00cmd\uff0c\u5e76\u8fdb\u884c\u7b2c\u4e09\u65b9\u5e93\u7684\u5b89\u88c5\uff08\u5b89\u88c5\u65b9\u6cd5\u53ef\u4ee5\u81ea\u884c\u5b66\u4e60\uff09\u3002\u5177\u4f53\u4e0b\u8f7d\u65b9\u6cd5\u5982\u4e0b\uff1a<\/li>\n<\/ol>\n<ul>\n<li>\u524d\u5f80WinPython\u7684\u5b98\u7f51\u4e0b\u8f7d\u6240\u9700\u768432\u4f4d\u7248\u672c\uff08\u63a8\u835032\u4f4d\u7248\u672c\uff0c\u56e0\u4e3a\u517c\u5bb9\u6027\u66f4\u5f3a\uff09\u3002<\/li>\n<\/ul>\n<h2 id=\"-2\">\u914d\u7f6e\u5de5\u4f5c<\/h2>\n<h3 id=\"winpython\">WinPython\u7684\u914d\u7f6e<\/h3>\n<p>\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u8bbe\u7f6epip\u5b89\u88c5\u6e90\uff1a<br \/>\n&#8220;`bash<\/p>\n<p><!-- \u6587\u7ae0\u6765\u6e90:https:\/\/blog.csdn.net\/woaidianqian\/article\/details\/115351621 --><\/p>\n<p>\u53ef\u4ee5\u770b\u5230\uff0c\u5b89\u88c5\u6e90\u88ab\u76f4\u63a5\u5199\u5728C\u76d8\u7684\u7cfb\u7edf\u6587\u4ef6\u5939\u4e0b\u3002\u56e0\u6b64\uff0c\u6bcf\u6b21\u9700\u8981\u66f4\u65b0\u7b2c\u4e09\u65b9\u5e93\u65f6\uff0c\u6700\u597d\u8f93\u5165\u6b64pip\u5b89\u88c5\u6e90\u8bbe\u7f6e\u547d\u4ee4\u3002\u7136\u540e\uff0c\u5c31\u53ef\u4ee5\u901a\u8fc7<code>pip install<\/code>\u547d\u4ee4\u76f4\u63a5\u5b89\u88c5\u6240\u9700\u7684\u5305\uff0c\u5b89\u88c5\u8def\u5f84\u5c31\u5728\u8fd9\u4e2a\u6587\u4ef6\u5939\u4e0b\u7684Python\u6587\u4ef6\u5939\u4e2d\uff0c\u53ef\u4ee5\u76f4\u63a5\u653e\u5728U\u76d8\u4e2d\u5e26\u8d70\u3002<\/p>\n<h3 id=\"vscode\">VSCode\u7684\u914d\u7f6e<\/h3>\n<p>\u4fbf\u643a\u7248\u672c\u5236\u4f5c\u6709\u4e24\u4e2a\u91cd\u8981\u7684\u6b65\u9aa4\uff1a<\/p>\n<ol>\n<li>\u5728<code>code.exe<\/code>\u76f8\u540c\u76ee\u5f55\u4e0b\uff0c\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>data<\/code>\u7684\u6587\u4ef6\u5939\u3002<\/li>\n<li>\u5728<code>data<\/code>\u6587\u4ef6\u5939\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>tmp<\/code>\u7684\u6587\u4ef6\u5939\u3002<\/li>\n<\/ol>\n<p>\u5176\u4e2d\uff0cVSCode\u7684\u6269\u5c55\uff08extensions\uff09\u53ef\u4ee5\u76f4\u63a5\u4ece\u672c\u673a\u6216\u5176\u4ed6\u673a\u5668\u590d\u5236\u8fc7\u6765\uff0c\u8fd9\u6837\u5c31\u65e0\u9700\u91cd\u65b0\u5b89\u88c5\u63d2\u4ef6\u3002<\/p>\n<p>\u81f3\u6b64\uff0cVSCode\u7684\u4fbf\u643a\u7248\u672c\u5236\u4f5c\u5b8c\u6210\u3002<\/p>\n<p>\u5177\u4f53\u64cd\u4f5c\u5305\u62ec\u5b89\u88c5Python\u63d2\u4ef6\u4ee5\u53ca\u5176\u4ed6\u76f8\u5173\u63d2\u4ef6\uff0c\u5e76\u9009\u62e9WinPython\u4f5c\u4e3aPython\u7684\u4fbf\u643a\u7248\u672c\u3002\u7136\u540e\uff0c\u9009\u62e9VSCode\u7684\u89e3\u91ca\u5668\u8def\u5f84\u4e3aWinPython\u5373\u53ef\u3002<\/p>\n<h2 id=\"\">\u603b\u7ed3<\/h2>\n<p>\u603b\u4e4b\uff0c\u5236\u4f5c\u4fbf\u643a\u7248\u7684VSCode\u7684\u65b9\u6cd5\u662f\u9009\u62e9WinPython\u4f5c\u4e3aPython\u7684\u4fbf\u643a\u7248\u672c\uff0c\u5e76\u5c06VSCode\u7684\u89e3\u91ca\u5668\u8def\u5f84\u8bbe\u7f6e\u4e3aWinPython\u3002\u8fd9\u6837\u5c31\u80fd\u591f\u65b9\u4fbf\u5730\u5728\u4e0d\u540c\u7535\u8111\u4e0a\u8fd0\u884cVSCode\u548cPython\uff0c\u800c\u4e0d\u53d7\u8fd0\u884c\u73af\u5883\u7684\u5f71\u54cd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>vscode+Python\u4fbf\u643a\u7248\u7b80\u6613\u5236\u4f5c\u53ef\u4ee5\u76f4\u63a5\u590d\u5236\u5230u\u76d8\u5f15\u8a00\u5bf9\u4e8evscode\u548cPython\u7684\u7231\u597d\u8005\uff0c\u4e00\u76f4\u88ab\u590d\u6742\u7684\u5f00\u53d1\u73af\u5883\u6240\u56f0\u6270\uff0c\u4e8e\u662f\u8feb\u5207\u9700\u8981\u4e00\u4e2a\u53ef\u4ee5\u5c06vscode\u548cPython\u653e\u7f6e\u5728u\u76d8\u4e2d\u53ef\u4ee5\u4e0d\u53d7\u8fd0\u884c\u73af\u5883\u7684\u5f71\u54cd\u8fd0\u884c\u5728\u4e0d\u540c\u7535\u8111\u7684\u4fbf\u643a\u65b9\u6848\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-224","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/posts\/224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/comments?post=224"}],"version-history":[{"count":0,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/posts\/224\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/media?parent=224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/categories?post=224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/tags?post=224"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/topic?post=224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}