{"id":977091,"date":"2024-12-27T06:26:44","date_gmt":"2024-12-26T22:26:44","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/977091.html"},"modified":"2024-12-27T06:26:46","modified_gmt":"2024-12-26T22:26:46","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8cmd%e5%ae%89%e8%a3%85python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/977091.html","title":{"rendered":"\u5982\u4f55\u5728cmd\u5b89\u88c5python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24202501\/45a24ca0-0c47-42eb-b443-ad5cf982a219.webp\" alt=\"\u5982\u4f55\u5728cmd\u5b89\u88c5python\" \/><\/p>\n<p><p> <strong>\u5728cmd\u5b89\u88c5Python\u65f6\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\uff1a\u4e0b\u8f7dPython\u5b89\u88c5\u7a0b\u5e8f\u3001\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3002<\/strong> \u5176\u4e2d\uff0c\u4e0b\u8f7dPython\u5b89\u88c5\u7a0b\u5e8f\u662f\u6700\u5173\u952e\u7684\u6b65\u9aa4\uff0c\u56e0\u4e3a\u9009\u62e9\u6b63\u786e\u7684\u7248\u672c\u548c\u4e0b\u8f7d\u6765\u6e90\u81f3\u5173\u91cd\u8981\u3002\u63a5\u4e0b\u6765\u8be6\u7ec6\u63cf\u8ff0\u4e0b\u8f7dPython\u5b89\u88c5\u7a0b\u5e8f\u7684\u6b65\u9aa4\uff1a\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9\uff0c\u9009\u62e9\u9002\u5408\u7684Python\u7248\u672c\uff08\u901a\u5e38\u5efa\u8bae\u4e0b\u8f7d\u6700\u65b0\u7684\u7a33\u5b9a\u7248\u672c\uff09\uff0c\u7136\u540e\u6839\u636e\u4f60\u7684\u64cd\u4f5c\u7cfb\u7edf\uff08Windows\uff09\u9009\u62e9\u76f8\u5e94\u7684\u5b89\u88c5\u7a0b\u5e8f\uff08\u901a\u5e38\u662f\u53ef\u6267\u884c\u6587\u4ef6\u683c\u5f0f\u7684\u5b89\u88c5\u7a0b\u5e8f\uff0c\u5982.exe\u6587\u4ef6\uff09\u3002\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u786e\u4fdd\u6587\u4ef6\u5b8c\u6574\u5e76\u51c6\u5907\u597d\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4e0b\u8f7dPython\u5b89\u88c5\u7a0b\u5e8f<\/p>\n<\/p>\n<p><p>\u4e0b\u8f7dPython\u5b89\u88c5\u7a0b\u5e8f\u662f\u5b89\u88c5Python\u7684\u7b2c\u4e00\u6b65\uff0c\u786e\u4fdd\u9009\u62e9\u6b63\u786e\u7684\u7248\u672c\u548c\u4e0b\u8f7d\u6765\u6e90\u975e\u5e38\u91cd\u8981\u3002\u4ee5\u4e0b\u662f\u4e0b\u8f7dPython\u5b89\u88c5\u7a0b\u5e8f\u7684\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9<\/strong><\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u8bbf\u95eePython\u7684\u5b98\u65b9\u7f51\u7ad9\uff08<a href=\"https:\/\/www.python.org\/%EF%BC%89%E3%80%82%E8%BF%99%E6%98%AFPython%E5%AE%98%E6%96%B9%E7%9A%84%E8%B5%84%E6%BA%90%E7%BD%91%E7%AB%99%EF%BC%8C%E6%8F%90%E4%BE%9B%E4%BA%86%E6%9C%80%E6%96%B0%E7%9A%84Python%E7%89%88%E6%9C%AC%E5%92%8C%E7%9B%B8%E5%85%B3%E7%9A%84%E4%BF%A1%E6%81%AF%E3%80%82\">https:\/\/www.python.org\/\uff09\u3002\u8fd9\u662fPython\u5b98\u65b9\u7684\u8d44\u6e90\u7f51\u7ad9\uff0c\u63d0\u4f9b\u4e86\u6700\u65b0\u7684Python\u7248\u672c\u548c\u76f8\u5173\u7684\u4fe1\u606f\u3002<\/a><\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9009\u62e9Python\u7248\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u5b98\u65b9\u7f51\u7ad9\u7684\u4e0b\u8f7d\u9875\u9762\uff0c\u4f60\u4f1a\u770b\u5230\u591a\u4e2aPython\u7248\u672c\u3002\u901a\u5e38\uff0c\u5efa\u8bae\u4e0b\u8f7d\u6700\u65b0\u7684\u7a33\u5b9a\u7248\u672c\uff0c\u56e0\u4e3a\u5b83\u5305\u542b\u4e86\u6700\u65b0\u7684\u529f\u80fd\u548c\u5b89\u5168\u66f4\u65b0\u3002\u5728\u9009\u62e9\u7248\u672c\u65f6\uff0c\u4f60\u8fd8\u9700\u8981\u8003\u8651\u5230\u4f60\u5c06\u8981\u8fd0\u884cPython\u7684\u73af\u5883\u3002\u4f8b\u5982\uff0c\u6709\u4e9b\u65e7\u7684\u9879\u76ee\u53ef\u80fd\u9700\u8981\u7279\u5b9a\u7684Python\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4e0b\u8f7d\u9002\u5408\u7684\u5b89\u88c5\u7a0b\u5e8f<\/strong><\/p>\n<\/p>\n<p><p>\u6839\u636e\u4f60\u7684\u64cd\u4f5c\u7cfb\u7edf\uff08\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5047\u8bbe\u662fWindows\uff09\uff0c\u9009\u62e9\u9002\u5408\u7684\u5b89\u88c5\u7a0b\u5e8f\u683c\u5f0f\u3002\u5bf9\u4e8eWindows\u7528\u6237\uff0c\u901a\u5e38\u9009\u62e9\u53ef\u6267\u884c\u6587\u4ef6\u683c\u5f0f\u7684\u5b89\u88c5\u7a0b\u5e8f\uff08\u5982.exe\u6587\u4ef6\uff09\u3002\u70b9\u51fb\u4e0b\u8f7d\u94fe\u63a5\uff0c\u4fdd\u5b58\u6587\u4ef6\u5230\u4f60\u7684\u7535\u8111\u4e0a\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9a8c\u8bc1\u4e0b\u8f7d\u7684\u5b8c\u6574\u6027<\/strong><\/p>\n<\/p>\n<p><p>\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u5efa\u8bae\u68c0\u67e5\u6587\u4ef6\u7684\u5b8c\u6574\u6027\u3002\u8fd9\u901a\u5e38\u53ef\u4ee5\u901a\u8fc7\u68c0\u67e5\u6587\u4ef6\u7684\u54c8\u5e0c\u503c\u6765\u5b8c\u6210\u3002Python\u5b98\u65b9\u7f51\u7ad9\u901a\u5e38\u4f1a\u63d0\u4f9bMD5\u6216SHA-256\u54c8\u5e0c\u503c\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u5de5\u5177\u6765\u9a8c\u8bc1\u4e0b\u8f7d\u7684\u6587\u4ef6\u662f\u5426\u5b8c\u6574\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f<\/p>\n<\/p>\n<p><p>\u5728\u4e0b\u8f7d\u5e76\u9a8c\u8bc1\u4e86Python\u5b89\u88c5\u7a0b\u5e8f\u4e4b\u540e\uff0c\u4f60\u9700\u8981\u8fd0\u884c\u8be5\u7a0b\u5e8f\u6765\u5b89\u88c5Python\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u7684\u5b89\u88c5\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u542f\u52a8\u5b89\u88c5\u7a0b\u5e8f<\/strong><\/p>\n<\/p>\n<p><p>\u53cc\u51fb\u4e0b\u8f7d\u7684Python\u5b89\u88c5\u7a0b\u5e8f\uff08.exe\u6587\u4ef6\uff09\u4ee5\u542f\u52a8\u5b89\u88c5\u8fc7\u7a0b\u3002\u5728\u542f\u52a8\u5b89\u88c5\u7a0b\u5e8f\u65f6\uff0c\u53ef\u80fd\u4f1a\u63d0\u793a\u4f60\u662f\u5426\u5141\u8bb8\u8be5\u7a0b\u5e8f\u5bf9\u4f60\u7684\u8ba1\u7b97\u673a\u8fdb\u884c\u66f4\u6539\uff0c\u70b9\u51fb\u201c\u662f\u201d\u4ee5\u7ee7\u7eed\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9009\u62e9\u5b89\u88c5\u9009\u9879<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u5b89\u88c5\u754c\u9762\uff0c\u4f60\u4f1a\u770b\u5230\u591a\u4e2a\u9009\u9879\u3002\u786e\u4fdd\u52fe\u9009\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u8fd9\u5c06\u81ea\u52a8\u4e3a\u4f60\u914d\u7f6e\u73af\u5883\u53d8\u91cf\uff0c\u4f7f\u5f97\u4f60\u53ef\u4ee5\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u76f4\u63a5\u4f7f\u7528Python\u547d\u4ee4\u3002\u4f60\u53ef\u4ee5\u9009\u62e9\u201cInstall Now\u201d\u8fdb\u884c\u9ed8\u8ba4\u5b89\u88c5\uff0c\u6216\u8005\u9009\u62e9\u201cCustomize Installation\u201d\u8fdb\u884c\u81ea\u5b9a\u4e49\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b8c\u6210\u5b89\u88c5<\/strong><\/p>\n<\/p>\n<p><p>\u70b9\u51fb\u5b89\u88c5\u6309\u94ae\u540e\uff0c\u5b89\u88c5\u7a0b\u5e8f\u5c06\u5f00\u59cb\u590d\u5236\u6587\u4ef6\u5e76\u914d\u7f6ePython\u73af\u5883\u3002\u8fd9\u53ef\u80fd\u9700\u8981\u51e0\u5206\u949f\u7684\u65f6\u95f4\uff0c\u5177\u4f53\u53d6\u51b3\u4e8e\u4f60\u7684\u8ba1\u7b97\u673a\u6027\u80fd\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u5b89\u88c5\u7a0b\u5e8f\u4f1a\u663e\u793a\u6210\u529f\u7684\u6d88\u606f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/p>\n<\/p>\n<p><p>\u867d\u7136\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9009\u62e9\u201cAdd Python to PATH\u201d\u53ef\u4ee5\u81ea\u52a8\u914d\u7f6e\u73af\u5883\u53d8\u91cf\uff0c\u4f46\u6709\u65f6\u9700\u8981\u624b\u52a8\u786e\u8ba4\u6216\u8c03\u6574\u3002\u4ee5\u4e0b\u662f\u5982\u4f55\u624b\u52a8\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6253\u5f00\u7cfb\u7edf\u5c5e\u6027<\/strong><\/p>\n<\/p>\n<p><p>\u53f3\u952e\u70b9\u51fb\u201c\u6b64\u7535\u8111\u201d\u6216\u201c\u6211\u7684\u7535\u8111\u201d\uff0c\u9009\u62e9\u201c\u5c5e\u6027\u201d\u9009\u9879\u3002\u5728\u7cfb\u7edf\u5c5e\u6027\u7a97\u53e3\u4e2d\uff0c\u70b9\u51fb\u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f16\u8f91\u73af\u5883\u53d8\u91cf<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u7cfb\u7edf\u5c5e\u6027\u7a97\u53e3\u4e2d\uff0c\u70b9\u51fb\u201c\u73af\u5883\u53d8\u91cf\u201d\u6309\u94ae\u3002\u5728\u73af\u5883\u53d8\u91cf\u7a97\u53e3\u4e2d\uff0c\u4f60\u4f1a\u770b\u5230\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u548c\u201c\u7528\u6237\u53d8\u91cf\u201d\u3002\u627e\u5230\u540d\u4e3a\u201cPath\u201d\u7684\u53d8\u91cf\uff0c\u70b9\u51fb\u201c\u7f16\u8f91\u201d\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6dfb\u52a0Python\u8def\u5f84<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u7f16\u8f91\u73af\u5883\u53d8\u91cf\u7a97\u53e3\u4e2d\uff0c\u786e\u4fddPython\u5b89\u88c5\u76ee\u5f55\u548cScripts\u76ee\u5f55\uff08\u901a\u5e38\u662fC:\\PythonXX\u548cC:\\PythonXX\\Scripts\uff0c\u5176\u4e2dXX\u662fPython\u7248\u672c\u53f7\uff09\u5df2\u7ecf\u5728\u8def\u5f84\u5217\u8868\u4e2d\u3002\u5982\u679c\u6ca1\u6709\uff0c\u624b\u52a8\u6dfb\u52a0\u8fd9\u4e9b\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u9a8c\u8bc1Python\u5b89\u88c5<\/p>\n<\/p>\n<p><p>\u5b8c\u6210\u5b89\u88c5\u548c\u73af\u5883\u914d\u7f6e\u540e\uff0c\u4f60\u9700\u8981\u9a8c\u8bc1Python\u662f\u5426\u6b63\u786e\u5b89\u88c5\u3002\u4ee5\u4e0b\u662f\u9a8c\u8bc1Python\u5b89\u88c5\u7684\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26<\/strong><\/p>\n<\/p>\n<p><p>\u6309Win + R\u952e\uff0c\u8f93\u5165\u201ccmd\u201d\u5e76\u6309Enter\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u7a97\u53e3\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u68c0\u67e5Python\u7248\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\uff0c\u8f93\u5165\u201cpython &#8211;version\u201d\u5e76\u6309Enter\u3002\u5982\u679cPython\u5b89\u88c5\u6b63\u786e\uff0c\u4f60\u5c06\u770b\u5230\u5b89\u88c5\u7684Python\u7248\u672c\u53f7\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6d4b\u8bd5Python\u547d\u4ee4<\/strong><\/p>\n<\/p>\n<p><p>\u8f93\u5165\u201cpython\u201d\u5e76\u6309Enter\uff0c\u4f60\u5c06\u8fdb\u5165Python\u4ea4\u4e92\u6a21\u5f0f\u3002\u4f60\u53ef\u4ee5\u8f93\u5165\u7b80\u5355\u7684Python\u547d\u4ee4\u6765\u6d4b\u8bd5\uff0c\u4f8b\u5982\uff1aprint(&quot;Hello, World!&quot;)\u3002\u5982\u679c\u547d\u4ee4\u6267\u884c\u6210\u529f\uff0c\u8868\u793aPython\u5df2\u6b63\u786e\u5b89\u88c5\u5e76\u914d\u7f6e\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4\uff0c\u4f60\u5e94\u8be5\u80fd\u591f\u5728Windows\u7cfb\u7edf\u4e2d\u6210\u529f\u901a\u8fc7CMD\u5b89\u88c5Python\u3002\u786e\u4fdd\u4e0b\u8f7d\u6b63\u786e\u7684\u5b89\u88c5\u7a0b\u5e8f\u3001\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\u5e76\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u662f\u6210\u529f\u5b89\u88c5\u7684\u5173\u952e\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u4f60\u53ef\u4ee5\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u65b9\u4fbf\u5730\u8fd0\u884cPython\u811a\u672c\u548c\u547d\u4ee4\uff0c\u4e3a\u4f60\u7684\u5f00\u53d1\u5de5\u4f5c\u505a\u597d\u51c6\u5907\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Windows\u7684CMD\u4e2d\u68c0\u67e5Python\u662f\u5426\u5df2\u5b89\u88c5\uff1f<\/strong><br \/>\u5728CMD\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u8f93\u5165<code>python --version<\/code>\u6216<code>python -V<\/code>\u6765\u68c0\u67e5Python\u662f\u5426\u5df2\u5b89\u88c5\u3002\u5982\u679cPython\u5df2\u6b63\u786e\u5b89\u88c5\uff0c\u7cfb\u7edf\u5c06\u663e\u793a\u60a8\u5f53\u524d\u5b89\u88c5\u7684Python\u7248\u672c\u3002\u5982\u679c\u672a\u5b89\u88c5\uff0c\u60a8\u5c06\u770b\u5230\u201cpython\u4e0d\u662f\u5185\u90e8\u6216\u5916\u90e8\u547d\u4ee4\u201d\u7684\u63d0\u793a\u3002<\/p>\n<p><strong>CMD\u4e2d\u5b89\u88c5Python\u9700\u8981\u54ea\u4e9b\u524d\u63d0\u6761\u4ef6\uff1f<\/strong><br \/>\u5728CMD\u4e2d\u5b89\u88c5Python\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u60a8\u7684\u7cfb\u7edf\u6ee1\u8db3\u4ee5\u4e0b\u6761\u4ef6\uff1a\u64cd\u4f5c\u7cfb\u7edf\u4e3aWindows\uff0c\u5177\u6709\u7ba1\u7406\u5458\u6743\u9650\uff0c\u5e76\u4e14\u7f51\u7edc\u8fde\u63a5\u6b63\u5e38\u3002\u6b64\u5916\uff0c\u5efa\u8bae\u786e\u4fdd\u60a8\u7684\u7cfb\u7edf\u8def\u5f84\u4e2d\u6ca1\u6709\u65e7\u7248\u672c\u7684Python\uff0c\u4ee5\u514d\u5f71\u54cd\u65b0\u7248\u672c\u7684\u5b89\u88c5\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728CMD\u4e2d\u5b89\u88c5\u7279\u5b9a\u7248\u672c\u7684Python\uff1f<\/strong><br \/>\u8981\u5728CMD\u4e2d\u5b89\u88c5\u7279\u5b9a\u7248\u672c\u7684Python\uff0c\u60a8\u9700\u8981\u5148\u4e0b\u8f7d\u8be5\u7248\u672c\u7684\u5b89\u88c5\u7a0b\u5e8f\u3002\u8bbf\u95eePython\u5b98\u7f51\uff0c\u9009\u62e9\u60f3\u8981\u7684\u7248\u672c\u5e76\u4e0b\u8f7d\u3002\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u901a\u8fc7CMD\u8fdb\u5165\u4e0b\u8f7d\u76ee\u5f55\uff0c\u8f93\u5165\u4e0b\u8f7d\u7684\u5b89\u88c5\u7a0b\u5e8f\u540d\u79f0\uff08\u4f8b\u5982<code>python-3.9.7.exe<\/code>\uff09\uff0c\u5e76\u6839\u636e\u63d0\u793a\u8fdb\u884c\u5b89\u88c5\u3002\u5982\u679c\u9700\u8981\u5b89\u88c5\u7279\u5b9a\u7248\u672c\uff0c\u53ef\u4ee5\u5728\u5b89\u88c5\u547d\u4ee4\u4e2d\u6dfb\u52a0\u53c2\u6570\uff0c\u5982<code>\/quiet InstallAllUsers=1 PrependPath=1<\/code>\uff0c\u4ee5\u4fbf\u65e0\u4ea4\u4e92\u5f0f\u5b89\u88c5\u5e76\u81ea\u52a8\u5c06Python\u6dfb\u52a0\u5230\u7cfb\u7edf\u8def\u5f84\u4e2d\u3002<\/p>\n<p><strong>\u5728CMD\u4e2d\u5b89\u88c5Python\u540e\uff0c\u5982\u4f55\u914d\u7f6e\u73af\u5883\u53d8\u91cf\uff1f<\/strong><br \/>\u5b89\u88c5Python\u540e\uff0c\u901a\u5e38\u5b89\u88c5\u7a0b\u5e8f\u4f1a\u81ea\u52a8\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3002\u5982\u679c\u6ca1\u6709\uff0c\u60a8\u53ef\u4ee5\u624b\u52a8\u914d\u7f6e\u3002\u5728\u201c\u63a7\u5236\u9762\u677f\u201d\u4e2d\u627e\u5230\u201c\u7cfb\u7edf\u201d\u9009\u9879\uff0c\u70b9\u51fb\u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d\uff0c\u7136\u540e\u9009\u62e9\u201c\u73af\u5883\u53d8\u91cf\u201d\u3002\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u4e2d\u627e\u5230\u201cPath\u201d\uff0c\u70b9\u51fb\u201c\u7f16\u8f91\u201d\uff0c\u6dfb\u52a0Python\u7684\u5b89\u88c5\u8def\u5f84\uff08\u4f8b\u5982<code>C:\\Python39<\/code>\uff09\u548cScripts\u76ee\u5f55\uff08\u4f8b\u5982<code>C:\\Python39\\Scripts<\/code>\uff09\uff0c\u786e\u4fddCMD\u80fd\u8bc6\u522b<code>python<\/code>\u548c<code>pip<\/code>\u547d\u4ee4\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728cmd\u5b89\u88c5Python\u65f6\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\uff1a\u4e0b\u8f7dPython\u5b89\u88c5\u7a0b\u5e8f\u3001\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3002 \u5176\u4e2d\uff0c [&hellip;]","protected":false},"author":3,"featured_media":977099,"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\/977091"}],"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=977091"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/977091\/revisions"}],"predecessor-version":[{"id":977102,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/977091\/revisions\/977102"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/977099"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=977091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=977091"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=977091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}