{"id":1175026,"date":"2025-01-15T17:26:12","date_gmt":"2025-01-15T09:26:12","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1175026.html"},"modified":"2025-01-15T17:26:15","modified_gmt":"2025-01-15T09:26:15","slug":"vs2017%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1175026.html","title":{"rendered":"vs2017\u5982\u4f55\u5b89\u88c5python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25110615\/2e755f6e-e4eb-49e6-8643-6c362fdf5dc5.webp\" alt=\"vs2017\u5982\u4f55\u5b89\u88c5python\" \/><\/p>\n<p><p> <strong>VS2017\u5982\u4f55\u5b89\u88c5Python\uff1a\u4f7f\u7528Visual Studio Installer\u3001\u9009\u62e9Python\u5de5\u4f5c\u8d1f\u8f7d\u3001\u5b89\u88c5Python\u73af\u5883\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u8981\u5728VS2017\u4e2d\u5b89\u88c5Python\uff0c\u9996\u5148\u9700\u8981\u4f7f\u7528Visual Studio Installer\u9009\u62e9Python\u5de5\u4f5c\u8d1f\u8f7d\u3002\u63a5\u4e0b\u6765\uff0c\u786e\u4fdd\u9009\u62e9\u5b89\u88c5Python\u73af\u5883\uff0c\u8fd9\u6837\u53ef\u4ee5\u76f4\u63a5\u5728VS2017\u4e2d\u8fdb\u884cPython\u5f00\u53d1\u3002\u8be6\u7ec6\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528Visual Studio Installer<\/h3>\n<\/p>\n<ol>\n<li>\n<p>\u6253\u5f00Visual Studio Installer\uff1a\u5982\u679c\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86Visual Studio 2017\uff0c\u53ef\u4ee5\u901a\u8fc7\u5f00\u59cb\u83dc\u5355\u6216\u641c\u7d22\u529f\u80fd\u627e\u5230\u5e76\u6253\u5f00Visual Studio Installer\u3002\u5982\u679c\u4f60\u8fd8\u6ca1\u6709\u5b89\u88c5Visual Studio 2017\uff0c\u8bf7\u5148\u4ece\u5fae\u8f6f\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5e76\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u4fee\u6539Visual Studio\u5b89\u88c5\uff1a\u5728Visual Studio Installer\u4e2d\uff0c\u627e\u5230\u201c\u5df2\u5b89\u88c5\u201d\u9009\u9879\u5361\uff0c\u7136\u540e\u70b9\u51fb\u201c\u4fee\u6539\u201d\u6309\u94ae\u3002\u8fd9\u5c06\u6253\u5f00\u4e00\u4e2a\u65b0\u7684\u7a97\u53e3\uff0c\u5141\u8bb8\u4f60\u9009\u62e9\u548c\u5b89\u88c5\u4e0d\u540c\u7684\u5de5\u4f5c\u8d1f\u8f7d\u548c\u7ec4\u4ef6\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e8c\u3001\u9009\u62e9Python\u5de5\u4f5c\u8d1f\u8f7d<\/h3>\n<\/p>\n<ol>\n<li>\n<p>\u627e\u5230Python\u5de5\u4f5c\u8d1f\u8f7d\uff1a\u5728\u201c\u4fee\u6539\u201d\u7a97\u53e3\u4e2d\uff0c\u4f60\u5c06\u770b\u5230\u591a\u4e2a\u5de5\u4f5c\u8d1f\u8f7d\u9009\u9879\u3002\u5728\u201c\u5176\u4ed6\u5de5\u5177\u96c6\u201d\u4e0b\u627e\u5230\u5e76\u9009\u62e9\u201cPython\u5f00\u53d1\u201d\u5de5\u4f5c\u8d1f\u8f7d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u9009\u62e9\u7ec4\u4ef6\uff1a\u5728\u9009\u62e9\u5de5\u4f5c\u8d1f\u8f7d\u540e\uff0c\u4f60\u8fd8\u53ef\u4ee5\u5728\u53f3\u4fa7\u9762\u677f\u4e2d\u9009\u62e9\u7279\u5b9a\u7684\u7ec4\u4ef6\u3002\u786e\u4fdd\u9009\u4e2d\u201cPython\u5f00\u53d1\u5de5\u5177\u201d\u548c\u201cPython\u5206\u5e03\u201d\u9009\u9879\uff0c\u8fd9\u5c06\u786e\u4fdd\u4f60\u6709\u4e00\u4e2a\u5b8c\u6574\u7684Python\u5f00\u53d1\u73af\u5883\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u5b89\u88c5Python\u73af\u5883<\/h3>\n<\/p>\n<ol>\n<li>\n<p>\u5b89\u88c5Python\u73af\u5883\uff1a\u5728\u9009\u62e9\u5b8c\u5de5\u4f5c\u8d1f\u8f7d\u548c\u7ec4\u4ef6\u540e\uff0c\u70b9\u51fb\u201c\u4fee\u6539\u201d\u6309\u94ae\u5f00\u59cb\u5b89\u88c5\u3002Visual Studio Installer\u5c06\u4e0b\u8f7d\u5e76\u5b89\u88c5\u6240\u9700\u7684\u6240\u6709\u6587\u4ef6\u3002\u8fd9\u53ef\u80fd\u9700\u8981\u4e00\u4e9b\u65f6\u95f4\uff0c\u5177\u4f53\u53d6\u51b3\u4e8e\u4f60\u7684\u7f51\u7edc\u901f\u5ea6\u548c\u8ba1\u7b97\u673a\u6027\u80fd\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1\u5b89\u88c5\uff1a\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00Visual Studio 2017\uff0c\u9009\u62e9\u201c\u65b0\u5efa\u9879\u76ee\u201d\uff0c\u7136\u540e\u9009\u62e9\u201cPython\u5e94\u7528\u7a0b\u5e8f\u201d\u3002\u8fd9\u5c06\u9a8c\u8bc1Python\u5de5\u4f5c\u8d1f\u8f7d\u548c\u73af\u5883\u662f\u5426\u5df2\u6b63\u786e\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u914d\u7f6e\u548c\u4f7f\u7528Python\u73af\u5883<\/h3>\n<\/p>\n<ol>\n<li>\n<p>\u914d\u7f6ePython\u89e3\u91ca\u5668\uff1a\u5728Visual Studio\u4e2d\uff0c\u4f60\u53ef\u4ee5\u914d\u7f6e\u548c\u9009\u62e9\u4e0d\u540c\u7248\u672c\u7684Python\u89e3\u91ca\u5668\u3002\u70b9\u51fb\u201c\u5de5\u5177\u201d\u83dc\u5355\uff0c\u9009\u62e9\u201c\u9009\u9879\u201d\uff0c\u7136\u540e\u5bfc\u822a\u5230\u201cPython\u201d\u9009\u9879\u5361\u3002\u5728\u8fd9\u91cc\uff0c\u4f60\u53ef\u4ee5\u6dfb\u52a0\u3001\u5220\u9664\u548c\u914d\u7f6e\u4e0d\u540c\u7684Python\u89e3\u91ca\u5668\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528Python\u73af\u5883\uff1a\u73b0\u5728\uff0c\u4f60\u53ef\u4ee5\u5728Visual Studio\u4e2d\u521b\u5efa\u548c\u8fd0\u884cPython\u9879\u76ee\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u719f\u6089\u7684Visual Studio\u8c03\u8bd5\u548c\u5f00\u53d1\u5de5\u5177\u6765\u7f16\u5199\u3001\u8c03\u8bd5\u548c\u8fd0\u884cPython\u4ee3\u7801\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e94\u3001\u521b\u5efa\u548c\u8fd0\u884cPython\u9879\u76ee<\/h3>\n<\/p>\n<ol>\n<li>\n<p>\u521b\u5efaPython\u9879\u76ee\uff1a\u5728Visual Studio\u4e2d\uff0c\u9009\u62e9\u201c\u6587\u4ef6\u201d\u83dc\u5355\uff0c\u9009\u62e9\u201c\u65b0\u5efa\u201d\uff0c\u7136\u540e\u9009\u62e9\u201c\u9879\u76ee\u201d\u3002\u5728\u9879\u76ee\u6a21\u677f\u4e2d\uff0c\u9009\u62e9\u201cPython\u201d\u5e76\u9009\u62e9\u4e00\u4e2a\u5408\u9002\u7684\u9879\u76ee\u6a21\u677f\uff0c\u5982\u201cPython\u5e94\u7528\u7a0b\u5e8f\u201d\u6216\u201cDjango Web \u9879\u76ee\u201d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u7f16\u5199\u4ee3\u7801\uff1a\u5728\u9879\u76ee\u521b\u5efa\u540e\uff0c\u4f60\u53ef\u4ee5\u5728Visual Studio\u4e2d\u7f16\u5199Python\u4ee3\u7801\u3002Visual Studio\u63d0\u4f9b\u4e86\u667a\u80fd\u611f\u77e5\u3001\u4ee3\u7801\u8865\u5168\u548c\u8c03\u8bd5\u5de5\u5177\uff0c\u4f7f\u5f97Python\u5f00\u53d1\u66f4\u52a0\u9ad8\u6548\u548c\u4fbf\u6377\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u8c03\u8bd5\u548c\u8fd0\u884c\uff1a\u4f60\u53ef\u4ee5\u4f7f\u7528Visual Studio\u7684\u8c03\u8bd5\u5de5\u5177\u6765\u8c03\u8bd5Python\u4ee3\u7801\u3002\u8bbe\u7f6e\u65ad\u70b9\uff0c\u8fd0\u884c\u9879\u76ee\uff0c\u5e76\u5728\u8c03\u8bd5\u5668\u4e2d\u67e5\u770b\u53d8\u91cf\u548c\u8f93\u51fa\uff0c\u4ee5\u627e\u5230\u5e76\u4fee\u590d\u4ee3\u7801\u4e2d\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u516d\u3001\u5b89\u88c5\u548c\u7ba1\u7406Python\u5e93<\/h3>\n<\/p>\n<ol>\n<li>\n<p>\u4f7f\u7528Python\u5305\u7ba1\u7406\u5de5\u5177\uff1a\u5728Visual Studio\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528Python\u5305\u7ba1\u7406\u5de5\u5177\uff08\u5982pip\uff09\u6765\u5b89\u88c5\u548c\u7ba1\u7406Python\u5e93\u3002\u6253\u5f00Visual Studio\u7684\u547d\u4ee4\u884c\u5de5\u5177\u6216\u4f7f\u7528\u96c6\u6210\u7ec8\u7aef\uff0c\u8f93\u5165\u547d\u4ee4<code>pip install &lt;\u5e93\u540d&gt;<\/code>\u6765\u5b89\u88c5\u6240\u9700\u7684Python\u5e93\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u7ba1\u7406\u9879\u76ee\u4f9d\u8d56\u9879\uff1a\u5728Visual Studio\u4e2d\uff0c\u4f60\u53ef\u4ee5\u521b\u5efa\u548c\u7ba1\u7406\u9879\u76ee\u7684\u4f9d\u8d56\u9879\u6587\u4ef6\uff08\u5982requirements.txt\uff09\u3002\u5c06\u9879\u76ee\u6240\u9700\u7684\u6240\u6709\u5e93\u548c\u7248\u672c\u8bb0\u5f55\u5728\u8be5\u6587\u4ef6\u4e2d\uff0c\u4ee5\u4fbf\u5728\u4e0d\u540c\u73af\u5883\u4e2d\u91cd\u73b0\u9879\u76ee\u4f9d\u8d56\u9879\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e03\u3001\u96c6\u6210\u5176\u4ed6\u5de5\u5177\u548c\u6269\u5c55<\/h3>\n<\/p>\n<ol>\n<li>\n<p>\u4f7f\u7528Jupyter Notebook\uff1aVisual Studio 2017\u652f\u6301Jupyter Notebook\uff0c\u4f60\u53ef\u4ee5\u5728Visual Studio\u4e2d\u521b\u5efa\u548c\u7f16\u8f91Jupyter Notebook\u6587\u4ef6\u3002\u8fd9\u5bf9\u4e8e\u6570\u636e\u79d1\u5b66\u548c<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u9879\u76ee\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u96c6\u6210Git\uff1a\u5982\u679c\u4f60\u4f7f\u7528\u7248\u672c\u63a7\u5236\u5de5\u5177\uff08\u5982Git\uff09\uff0c\u4f60\u53ef\u4ee5\u5728Visual Studio\u4e2d\u96c6\u6210Git\u5de5\u5177\u3002Visual Studio\u63d0\u4f9b\u4e86\u56fe\u5f62\u5316\u7684Git\u754c\u9762\uff0c\u4f7f\u5f97\u4ee3\u7801\u63d0\u4ea4\u3001\u5206\u652f\u7ba1\u7406\u548c\u5408\u5e76\u66f4\u52a0\u65b9\u4fbf\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u5176\u4ed6\u6269\u5c55\uff1aVisual Studio\u62e5\u6709\u4e30\u5bcc\u7684\u6269\u5c55\u5e93\uff0c\u4f60\u53ef\u4ee5\u6839\u636e\u9700\u8981\u5b89\u88c5\u5176\u4ed6Python\u76f8\u5173\u7684\u6269\u5c55\uff0c\u5982Linting\u5de5\u5177\u3001\u5355\u5143\u6d4b\u8bd5\u5de5\u5177\u548c\u4ee3\u7801\u683c\u5f0f\u5316\u5de5\u5177\uff0c\u4ee5\u63d0\u5347\u5f00\u53d1\u6548\u7387\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u516b\u3001\u4f18\u5316\u5f00\u53d1\u73af\u5883<\/h3>\n<\/p>\n<ol>\n<li>\n<p>\u81ea\u5b9a\u4e49IDE\uff1aVisual Studio\u5141\u8bb8\u4f60\u81ea\u5b9a\u4e49\u5f00\u53d1\u73af\u5883\u7684\u5916\u89c2\u548c\u884c\u4e3a\u3002\u4f60\u53ef\u4ee5\u8c03\u6574\u4e3b\u9898\u3001\u5b57\u4f53\u3001\u5feb\u6377\u952e\u548c\u5de5\u5177\u680f\u5e03\u5c40\uff0c\u4ee5\u521b\u5efa\u4e00\u4e2a\u7b26\u5408\u4f60\u4e2a\u4eba\u4e60\u60ef\u7684\u5f00\u53d1\u73af\u5883\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528\u865a\u62df\u73af\u5883\uff1a\u5728Python\u9879\u76ee\u4e2d\uff0c\u4f7f\u7528\u865a\u62df\u73af\u5883\u53ef\u4ee5\u9694\u79bb\u9879\u76ee\u4f9d\u8d56\u9879\uff0c\u907f\u514d\u4e0d\u540c\u9879\u76ee\u4e4b\u95f4\u7684\u5e93\u7248\u672c\u51b2\u7a81\u3002\u5728Visual Studio\u4e2d\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u521b\u5efa\u548c\u7ba1\u7406\u865a\u62df\u73af\u5883\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u6574\u5408\u6570\u636e\u5e93\u5de5\u5177\uff1a\u5982\u679c\u4f60\u7684Python\u9879\u76ee\u6d89\u53ca\u6570\u636e\u5e93\u64cd\u4f5c\uff0cVisual Studio\u63d0\u4f9b\u4e86\u6570\u636e\u5e93\u5de5\u5177\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u8fde\u63a5\u3001\u67e5\u8be2\u548c\u7ba1\u7406\u6570\u636e\u5e93\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e5d\u3001\u5b66\u4e60\u548c\u652f\u6301<\/h3>\n<\/p>\n<ol>\n<li>\n<p>\u5229\u7528\u5728\u7ebf\u8d44\u6e90\uff1a\u5fae\u8f6f\u548c\u793e\u533a\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5728\u7ebf\u8d44\u6e90\uff0c\u5305\u62ec\u6587\u6863\u3001\u6559\u7a0b\u548c\u793a\u4f8b\u4ee3\u7801\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e9b\u8d44\u6e90\u5b66\u4e60\u5982\u4f55\u4f7f\u7528Visual Studio\u8fdb\u884cPython\u5f00\u53d1\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u53c2\u52a0\u793e\u533a\u6d3b\u52a8\uff1a\u53c2\u4e0ePython\u548cVisual Studio\u793e\u533a\u6d3b\u52a8\uff0c\u5982\u5728\u7ebf\u8bba\u575b\u3001\u7528\u6237\u7ec4\u548c\u4f1a\u8bae\uff0c\u53ef\u4ee5\u83b7\u53d6\u6700\u65b0\u7684\u5f00\u53d1\u6280\u5de7\u548c\u7ecf\u9a8c\uff0c\u89e3\u51b3\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u9047\u5230\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u83b7\u53d6\u6280\u672f\u652f\u6301\uff1a\u5982\u679c\u5728\u4f7f\u7528Visual Studio\u8fdb\u884cPython\u5f00\u53d1\u65f6\u9047\u5230\u95ee\u9898\uff0c\u53ef\u4ee5\u901a\u8fc7\u5fae\u8f6f\u7684\u6280\u672f\u652f\u6301\u6e20\u9053\u5bfb\u6c42\u5e2e\u52a9\u3002\u6b64\u5916\uff0c\u793e\u533a\u8bba\u575b\u548c\u5728\u7ebf\u95ee\u7b54\u5e73\u53f0\uff08\u5982Stack Overflow\uff09\u4e5f\u662f\u83b7\u53d6\u6280\u672f\u652f\u6301\u7684\u597d\u5730\u65b9\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u5341\u3001\u6301\u7eed\u96c6\u6210\u548c\u90e8\u7f72<\/h3>\n<\/p>\n<ol>\n<li>\n<p>\u4f7f\u7528<a href=\"https:\/\/docs.pingcode.com\/blog\/devops\/52691.html\" target=\"_blank\">CI\/CD<\/a>\u5de5\u5177\uff1a\u4e3a\u4e86\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u548c\u4ee3\u7801\u8d28\u91cf\uff0c\u53ef\u4ee5\u4f7f\u7528\u6301\u7eed\u96c6\u6210\uff08CI\uff09\u548c\u6301\u7eed\u90e8\u7f72\uff08CD\uff09\u5de5\u5177\u3002Visual Studio\u4e0eAzure <a href=\"https:\/\/docs.pingcode.com\/blog\/devops\/20813.html\" target=\"_blank\">DevOps<\/a>\u3001GitHub Actions\u7b49CI\/CD\u5de5\u5177\u96c6\u6210\uff0c\u53ef\u4ee5\u5b9e\u73b0\u81ea\u52a8\u5316\u6784\u5efa\u3001\u6d4b\u8bd5\u548c\u90e8\u7f72\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u90e8\u7f72\u5230\u4e91\u5e73\u53f0\uff1a\u5982\u679c\u4f60\u7684Python\u9879\u76ee\u9700\u8981\u90e8\u7f72\u5230\u4e91\u5e73\u53f0\uff0c\u53ef\u4ee5\u4f7f\u7528Azure\u3001AWS\u6216Google Cloud\u7b49\u4e91\u670d\u52a1\u3002Visual Studio\u63d0\u4f9b\u4e86\u4e0e\u8fd9\u4e9b\u4e91\u5e73\u53f0\u7684\u96c6\u6210\u5de5\u5177\uff0c\u4f7f\u5f97\u90e8\u7f72\u8fc7\u7a0b\u66f4\u52a0\u7b80\u4fbf\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p>\u76d1\u63a7\u548c\u7ef4\u62a4\uff1a\u90e8\u7f72\u540e\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u76d1\u63a7\u5de5\u5177\uff08\u5982Application Insights\uff09\u76d1\u63a7\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u548c\u8fd0\u884c\u72b6\u51b5\uff0c\u5e76\u53ca\u65f6\u8fdb\u884c\u7ef4\u62a4\u548c\u4f18\u5316\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u603b\u7ed3\u8d77\u6765\uff0c\u5728VS2017\u4e2d\u5b89\u88c5\u548c\u4f7f\u7528Python\u5f00\u53d1\u73af\u5883\u76f8\u5bf9\u7b80\u5355\uff0c\u901a\u8fc7\u4f7f\u7528Visual Studio Installer\u9009\u62e9Python\u5de5\u4f5c\u8d1f\u8f7d\uff0c\u5e76\u914d\u7f6e\u76f8\u5173\u7684Python\u89e3\u91ca\u5668\u548c\u5f00\u53d1\u5de5\u5177\uff0c\u4f60\u53ef\u4ee5\u5728\u719f\u6089\u7684Visual Studio\u73af\u5883\u4e2d\u9ad8\u6548\u5730\u8fdb\u884cPython\u5f00\u53d1\u3002\u901a\u8fc7\u5229\u7528\u4e30\u5bcc\u7684\u6269\u5c55\u548c\u96c6\u6210\u5de5\u5177\uff0c\u4f60\u53ef\u4ee5\u8fdb\u4e00\u6b65\u63d0\u5347\u5f00\u53d1\u6548\u7387\u548c\u9879\u76ee\u8d28\u91cf\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728VS2017\u4e2d\u914d\u7f6ePython\u73af\u5883\uff1f<\/strong><br \/>\u5728Visual Studio 2017\u4e2d\u914d\u7f6ePython\u73af\u5883\u975e\u5e38\u7b80\u5355\u3002\u9996\u5148\uff0c\u4f60\u9700\u8981\u786e\u4fdd\u5b89\u88c5\u4e86Python\u5de5\u5177\u5305\u3002\u5728Visual Studio\u5b89\u88c5\u7a0b\u5e8f\u4e2d\uff0c\u9009\u62e9\u201cPython\u5f00\u53d1\u201d\u5de5\u4f5c\u8d1f\u8f7d\uff0c\u5b89\u88c5\u540e\u53ef\u4ee5\u901a\u8fc7\u201c\u6587\u4ef6\u201d &gt; \u201c\u65b0\u5efa\u201d &gt; \u201c\u9879\u76ee\u201d\u6765\u521b\u5efaPython\u9879\u76ee\u3002\u5728\u9879\u76ee\u4e2d\uff0c\u4f60\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528\u4e0d\u540c\u7248\u672c\u7684Python\uff0c\u5e76\u5728\u9879\u76ee\u5c5e\u6027\u4e2d\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n<p><strong>VS2017\u652f\u6301\u54ea\u4e9bPython\u7248\u672c\uff1f<\/strong><br \/>Visual Studio 2017\u652f\u6301\u591a\u79cdPython\u7248\u672c\uff0c\u5305\u62ecPython 2.7\u548c3.x\u7cfb\u5217\u3002\u7528\u6237\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u7248\u672c\u8fdb\u884c\u5f00\u53d1\u3002\u5982\u679c\u9700\u8981\u4f7f\u7528\u7279\u5b9a\u7684Python\u7248\u672c\uff0c\u8bf7\u786e\u4fdd\u8be5\u7248\u672c\u5df2\u6b63\u786e\u5b89\u88c5\u5728\u4f60\u7684\u7cfb\u7edf\u4e2d\uff0c\u5e76\u5728VS2017\u4e2d\u8fdb\u884c\u76f8\u5173\u914d\u7f6e\u3002<\/p>\n<p><strong>\u5728VS2017\u4e2d\u5982\u4f55\u5b89\u88c5\u7b2c\u4e09\u65b9Python\u5e93\uff1f<\/strong><br \/>\u5728Visual Studio 2017\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u96c6\u6210\u7684\u5305\u7ba1\u7406\u5668\u6765\u5b89\u88c5\u7b2c\u4e09\u65b9Python\u5e93\u3002\u6253\u5f00\u201c\u5de5\u5177\u201d\u83dc\u5355\uff0c\u9009\u62e9\u201cPython\u201d &gt; \u201cPython\u73af\u5883\u201d\uff0c\u7136\u540e\u5728\u201c\u73af\u5883\u201d\u9762\u677f\u4e2d\u9009\u62e9\u4f60\u7684Python\u73af\u5883\uff0c\u70b9\u51fb\u201c\u5b89\u88c5\u5305\u201d\u9009\u9879\u5361\u3002\u8f93\u5165\u4f60\u60f3\u5b89\u88c5\u7684\u5e93\u7684\u540d\u79f0\uff0c\u70b9\u51fb\u201c\u5b89\u88c5\u201d\u6309\u94ae\u5373\u53ef\u5b8c\u6210\u5b89\u88c5\u3002\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u65b9\u4fbf\u5730\u7ba1\u7406\u9879\u76ee\u6240\u9700\u7684\u6240\u6709\u4f9d\u8d56\u5e93\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"VS2017\u5982\u4f55\u5b89\u88c5Python\uff1a\u4f7f\u7528Visual Studio Installer\u3001\u9009\u62e9Python\u5de5\u4f5c\u8d1f\u8f7d [&hellip;]","protected":false},"author":3,"featured_media":1175033,"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\/1175026"}],"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=1175026"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1175026\/revisions"}],"predecessor-version":[{"id":1175037,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1175026\/revisions\/1175037"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1175033"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1175026"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1175026"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1175026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}