{"id":969385,"date":"2024-12-27T05:16:22","date_gmt":"2024-12-26T21:16:22","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/969385.html"},"modified":"2024-12-27T05:16:24","modified_gmt":"2024-12-26T21:16:24","slug":"%e5%a6%82%e4%bd%95%e4%b8%8b%e8%bd%bdpython3-7-0","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/969385.html","title":{"rendered":"\u5982\u4f55\u4e0b\u8f7dpython3.7.0"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24183657\/37a3a246-157c-4c28-ad10-acc53d680a85.webp\" alt=\"\u5982\u4f55\u4e0b\u8f7dpython3.7.0\" \/><\/p>\n<p><p> \u4e00\u3001\u5982\u4f55\u4e0b\u8f7dPython 3.7.0<\/p>\n<\/p>\n<p><p><strong>\u4e0b\u8f7dPython 3.7.0\u4e3b\u8981\u901a\u8fc7Python\u5b98\u65b9\u7f51\u7ad9\u3001\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u3001\u9009\u62e9\u6b63\u786e\u7684\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c<\/strong>\u3002\u5176\u4e2d\uff0c\u6700\u63a8\u8350\u7684\u65b9\u5f0f\u662f\u901a\u8fc7Python\u5b98\u65b9\u7f51\u7ad9\u76f4\u63a5\u4e0b\u8f7d\uff0c\u56e0\u4e3a\u8fd9\u79cd\u65b9\u5f0f\u80fd\u591f\u786e\u4fdd\u4e0b\u8f7d\u5230\u6700\u65b0\u7684\u3001\u5b98\u65b9\u53d1\u5e03\u7684\u7a33\u5b9a\u7248\u672c\u3002\u5177\u4f53\u64cd\u4f5c\u6b65\u9aa4\u5982\u4e0b\uff1a\u9996\u5148\uff0c\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9\uff08<a href=\"https:\/\/www.python.org\/%EF%BC%89%EF%BC%8C%E7%84%B6%E5%90%8E%E5%AF%BC%E8%88%AA%E5%88%B0%E4%B8%8B%E8%BD%BD%E9%A1%B5%E9%9D%A2%EF%BC%8C%E9%80%89%E6%8B%A9Python\">https:\/\/www.python.org\/\uff09\uff0c\u7136\u540e\u5bfc\u822a\u5230\u4e0b\u8f7d\u9875\u9762\uff0c\u9009\u62e9Python<\/a> 3.7.0\u7248\u672c\uff0c\u6839\u636e\u4f60\u7684\u64cd\u4f5c\u7cfb\u7edf\u9009\u62e9\u76f8\u5e94\u7684\u5b89\u88c5\u5305\uff0c\u5e76\u4e0b\u8f7d\u5230\u672c\u5730\u3002\u63a5\u4e0b\u6765\uff0c\u8fd0\u884c\u4e0b\u8f7d\u7684\u5b89\u88c5\u5305\uff0c\u6309\u7167\u5b89\u88c5\u5411\u5bfc\u7684\u63d0\u793a\u5b8c\u6210\u5b89\u88c5\u3002\u786e\u4fdd\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u52fe\u9009\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u4ee5\u4fbf\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528Python\u547d\u4ee4\u3002<\/p>\n<\/p>\n<p><p>\u5728\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u662f\u6700\u5b89\u5168\u3001\u53ef\u9760\u7684\u65b9\u5f0f\uff0c\u786e\u4fdd\u4f60\u83b7\u5f97\u7684\u662f\u7ecf\u8fc7\u5b98\u65b9\u8ba4\u8bc1\u7684\u3001\u6ca1\u6709\u6076\u610f\u8f6f\u4ef6\u7684\u7248\u672c\u3002\u6b64\u5916\uff0cPython\u5b98\u65b9\u7f51\u7ad9\u8fd8\u63d0\u4f9b\u4e86\u8be6\u7ec6\u7684\u5b89\u88c5\u6307\u5357\u548c\u5e38\u89c1\u95ee\u9898\u89e3\u7b54\uff0c\u5e2e\u52a9\u4f60\u89e3\u51b3\u53ef\u80fd\u9047\u5230\u7684\u5404\u79cd\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u901a\u8fc7PYTHON\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d<\/p>\n<\/p>\n<p><p>Python\u5b98\u65b9\u7f51\u7ad9\u662f\u83b7\u53d6Python\u8f6f\u4ef6\u7684\u5b98\u65b9\u6e20\u9053\uff0c\u786e\u4fdd\u4e0b\u8f7d\u7684\u7248\u672c\u662f\u53ef\u9760\u4e14\u6700\u65b0\u7684\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u8bbf\u95ee\u5b98\u65b9\u7f51\u7ad9<\/strong><\/p>\n<\/p>\n<p><p>\u6253\u5f00\u6d4f\u89c8\u5668\uff0c\u8f93\u5165\u7f51\u5740\uff1a<a href=\"https:\/\/www.python.org\/%E3%80%82%E8%BF%9B%E5%85%A5%E7%BD%91%E7%AB%99%E5%90%8E%EF%BC%8C%E5%AF%BC%E8%88%AA%E5%88%B0%E2%80%9CDownloads%E2%80%9D%E8%8F%9C%E5%8D%95%EF%BC%8C%E9%BB%98%E8%AE%A4%E4%BC%9A%E8%87%AA%E5%8A%A8%E6%A3%80%E6%B5%8B%E4%BD%A0%E4%BD%BF%E7%94%A8%E7%9A%84%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E5%B9%B6%E6%8E%A8%E8%8D%90%E7%9B%B8%E5%BA%94%E7%9A%84Python%E7%89%88%E6%9C%AC%E3%80%82\">https:\/\/www.python.org\/\u3002\u8fdb\u5165\u7f51\u7ad9\u540e\uff0c\u5bfc\u822a\u5230\u201cDownloads\u201d\u83dc\u5355\uff0c\u9ed8\u8ba4\u4f1a\u81ea\u52a8\u68c0\u6d4b\u4f60\u4f7f\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u5e76\u63a8\u8350\u76f8\u5e94\u7684Python\u7248\u672c\u3002<\/a><\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9009\u62e9\u7248\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u4e0b\u8f7d\u9875\u9762\uff0c\u5bfb\u627e\u201cLooking for a specific release?\u201d\u7684\u94fe\u63a5\uff0c\u70b9\u51fb\u540e\u8fdb\u5165\u6240\u6709Python\u7248\u672c\u7684\u5217\u8868\u9875\u9762\u3002\u5728\u8fd9\u4e2a\u9875\u9762\u4e2d\uff0c\u627e\u5230Python 3.7.0\u7248\u672c\uff0c\u70b9\u51fb\u8fdb\u5165\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9009\u62e9\u5408\u9002\u7684\u5b89\u88c5\u5305<\/strong><\/p>\n<\/p>\n<p><p>\u6839\u636e\u4f60\u7684\u64cd\u4f5c\u7cfb\u7edf\u7c7b\u578b\u9009\u62e9\u5408\u9002\u7684\u5b89\u88c5\u5305\u3002\u4f8b\u5982\uff0cWindows\u7528\u6237\u53ef\u4ee5\u9009\u62e9\u201c.exe\u201d\u5b89\u88c5\u5305\uff0cmacOS\u7528\u6237\u53ef\u4ee5\u9009\u62e9\u201c.pkg\u201d\u5b89\u88c5\u5305\uff0c\u800cLinux\u7528\u6237\u901a\u5e38\u4f7f\u7528\u201c.tar.xz\u201d\u6e90\u4ee3\u7801\u5305\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4e0b\u8f7d\u5e76\u5b89\u88c5<\/strong><\/p>\n<\/p>\n<p><p>\u70b9\u51fb\u4e0b\u8f7d\u94fe\u63a5\uff0c\u5c06\u5b89\u88c5\u5305\u4e0b\u8f7d\u5230\u672c\u5730\u3002\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u8fd0\u884c\u5b89\u88c5\u5305\uff0c\u6839\u636e\u5b89\u88c5\u5411\u5bfc\u8fdb\u884c\u5b89\u88c5\u3002\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u8bf7\u52a1\u5fc5\u52fe\u9009\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u4ee5\u4fbf\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528Python\u547d\u4ee4\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u5b89\u88c5<\/p>\n<\/p>\n<p><p>\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u5b89\u88c5Python\u4e5f\u662f\u4e00\u4e2a\u4fbf\u6377\u7684\u65b9\u6cd5\uff0c\u5c24\u5176\u662f\u5bf9\u4e8eLinux\u7528\u6237\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Linux\u7528\u6237<\/strong><\/p>\n<\/p>\n<p><p>\u5927\u591a\u6570Linux\u53d1\u884c\u7248\u90fd\u81ea\u5e26\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u5982APT\uff08Ubuntu\/Debian\uff09\u6216YUM\uff08CentOS\/RHEL\uff09\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Python 3.7.0\uff1a<\/p>\n<\/p>\n<ul>\n<li>\n<p>Ubuntu\/Debian\u7528\u6237\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo add-apt-repository ppa:deadsnakes\/ppa<\/p>\n<p>sudo apt update<\/p>\n<p>sudo apt install python3.7<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p>CentOS\/RHEL\u7528\u6237\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo yum install centos-release-scl<\/p>\n<p>sudo yum install rh-python37<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4<code>python3.7 --version<\/code>\u6765\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>macOS\u7528\u6237<\/strong><\/p>\n<\/p>\n<p><p>macOS\u7528\u6237\u901a\u5e38\u4f7f\u7528Homebrew\u6765\u7ba1\u7406\u8f6f\u4ef6\u5305\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Python 3.7.0\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">brew install python@3.7<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u540e\uff0c\u4f7f\u7528<code>python3.7 --version<\/code>\u6765\u786e\u8ba4\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u9009\u62e9\u6b63\u786e\u7684\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c<\/p>\n<\/p>\n<p><p>\u5728\u4e0b\u8f7d\u6216\u5b89\u88c5Python\u65f6\uff0c\u9009\u62e9\u4e0e\u64cd\u4f5c\u7cfb\u7edf\u5339\u914d\u7684\u7248\u672c\u662f\u5173\u952e\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Windows\u64cd\u4f5c\u7cfb\u7edf<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python\u5b98\u65b9\u7f51\u7ad9\u4e0a\uff0cWindows\u7528\u6237\u53ef\u4ee5\u9009\u62e932\u4f4d\u621664\u4f4d\u5b89\u88c5\u5305\u3002\u901a\u5e38\uff0c\u73b0\u4ee3\u8ba1\u7b97\u673a\u90fd\u662f64\u4f4d\u7684\uff0c\u6240\u4ee5\u9009\u62e964\u4f4d\u5b89\u88c5\u5305\u662f\u8f83\u5e38\u89c1\u7684\u505a\u6cd5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>macOS\u64cd\u4f5c\u7cfb\u7edf<\/strong><\/p>\n<\/p>\n<p><p>macOS\u7528\u6237\u5728Python\u5b98\u65b9\u7f51\u7ad9\u4e0a\u4e0b\u8f7d\u201c.pkg\u201d\u6587\u4ef6\u8fdb\u884c\u5b89\u88c5\uff0c\u8fd9\u4e2a\u5b89\u88c5\u5305\u901a\u5e38\u4f1a\u81ea\u52a8\u9002\u914dmacOS\u7684\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>Linux\u64cd\u4f5c\u7cfb\u7edf<\/strong><\/p>\n<\/p>\n<p><p>Linux\u7528\u6237\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528\u6e90\u4ee3\u7801\u8fdb\u884c\u7f16\u8bd1\u5b89\u88c5\uff0c\u8fd9\u79cd\u65b9\u5f0f\u9002\u7528\u4e8e\u8f83\u4e3a\u9ad8\u7ea7\u7684\u7528\u6237\u3002\u5426\u5219\uff0c\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177\u662f\u66f4\u4e3a\u7b80\u4fbf\u7684\u9009\u62e9\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u5b89\u88c5\u540e\u7684\u914d\u7f6e\u548c\u9a8c\u8bc1<\/p>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u9700\u8981\u8fdb\u884c\u4e00\u4e9b\u57fa\u672c\u7684\u914d\u7f6e\u548c\u9a8c\u8bc1\uff0c\u4ee5\u786e\u4fddPython\u80fd\u591f\u6b63\u5e38\u4f7f\u7528\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf<\/strong><\/p>\n<\/p>\n<p><p>\u5728Windows\u7cfb\u7edf\u4e2d\uff0c\u5b89\u88c5\u65f6\u9009\u62e9\u201cAdd Python to PATH\u201d\u9009\u9879\u53ef\u4ee5\u81ea\u52a8\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3002\u5982\u679c\u672a\u52fe\u9009\uff0c\u53ef\u4ee5\u624b\u52a8\u5728\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u4e2d\u6dfb\u52a0Python\u7684\u5b89\u88c5\u8def\u5f84\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9a8c\u8bc1\u5b89\u88c5<\/strong><\/p>\n<\/p>\n<p><p>\u6253\u5f00\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u9a8c\u8bc1Python\u662f\u5426\u5b89\u88c5\u6210\u529f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python3.7 --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6b63\u786e\u8f93\u51fa\u7248\u672c\u4fe1\u606f\u5373\u8868\u793a\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5pip<\/strong><\/p>\n<\/p>\n<p><p>pip\u662fPython\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u901a\u5e38\u5728\u5b89\u88c5Python\u65f6\u4e00\u540c\u5b89\u88c5\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u9a8c\u8bc1pip\u7684\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip --version<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c\u672a\u5b89\u88c5\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python -m ensurepip<\/p>\n<p>python -m pip install --upgrade pip<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u516d\u3001\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u65b9\u6cd5<\/p>\n<\/p>\n<p><p>\u5728\u5b89\u88c5Python\u7684\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u7684\u95ee\u9898\uff0c\u4e0b\u9762\u5217\u51fa\u4e86\u4e00\u4e9b\u95ee\u9898\u53ca\u5176\u89e3\u51b3\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u7248\u672c\u51b2\u7a81<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u7cfb\u7edf\u4e2d\u5df2\u5b89\u88c5\u5176\u4ed6\u7248\u672c\u7684Python\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u8def\u5f84\u51b2\u7a81\u3002\u53ef\u4ee5\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9009\u62e9\u81ea\u5b9a\u4e49\u5b89\u88c5\u8def\u5f84\uff0c\u6216\u8005\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528\u5b8c\u6574\u8def\u5f84\u6307\u5b9aPython\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6743\u9650\u95ee\u9898<\/strong><\/p>\n<\/p>\n<p><p>\u5728Linux\u548cmacOS\u7cfb\u7edf\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u4f7f\u7528sudo\u547d\u4ee4\u63d0\u5347\u6743\u9650\u4ee5\u5b8c\u6210\u5b89\u88c5\u3002\u5728Windows\u4e2d\uff0c\u786e\u4fdd\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f9d\u8d56\u95ee\u9898<\/strong><\/p>\n<\/p>\n<p><p>\u6709\u65f6\u5b89\u88c5Python\u540e\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4f9d\u8d56\u5305\u7f3a\u5931\u7684\u95ee\u9898\u3002\u53ef\u4ee5\u901a\u8fc7pip\u5b89\u88c5\u6240\u9700\u7684\u4f9d\u8d56\u5305\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install package_name<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f51\u7edc\u95ee\u9898<\/strong><\/p>\n<\/p>\n<p><p>\u4e0b\u8f7d\u65f6\u53ef\u80fd\u4f1a\u9047\u5230\u7f51\u7edc\u95ee\u9898\uff0c\u5efa\u8bae\u4f7f\u7528\u7a33\u5b9a\u7684\u7f51\u7edc\u73af\u5883\uff0c\u6216\u8005\u5c1d\u8bd5\u4f7f\u7528\u4e0b\u8f7d\u5de5\u5177\u52a0\u901f\u4e0b\u8f7d\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\u548c\u6ce8\u610f\u4e8b\u9879\uff0c\u4f60\u5e94\u8be5\u80fd\u591f\u987a\u5229\u4e0b\u8f7d\u548c\u5b89\u88c5Python 3.7.0\u3002\u540c\u65f6\uff0c\u4e86\u89e3\u5982\u4f55\u89e3\u51b3\u53ef\u80fd\u9047\u5230\u7684\u95ee\u9898\uff0c\u4e5f\u80fd\u63d0\u5347\u4f60\u7684\u5b89\u88c5\u4f53\u9a8c\u3002\u5728\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u5c31\u53ef\u4ee5\u5f00\u59cb\u4f7f\u7528Python\u8fdb\u884c\u7f16\u7a0b\u548c\u5f00\u53d1\u4e86\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u9009\u62e9\u5408\u9002\u7684\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c\u8fdb\u884cPython 3.7.0\u7684\u4e0b\u8f7d\uff1f<\/strong><br \/>\u5728\u4e0b\u8f7dPython 3.7.0\u65f6\uff0c\u9700\u8981\u6839\u636e\u60a8\u7684\u64cd\u4f5c\u7cfb\u7edf\u9009\u62e9\u9002\u5408\u7684\u7248\u672c\u3002Python\u5b98\u65b9\u7f51\u7ad9\u63d0\u4f9bWindows\u3001macOS\u548cLinux\u7b49\u591a\u4e2a\u7248\u672c\uff0c\u786e\u4fdd\u4e0b\u8f7d\u4e0e\u60a8\u7684\u7cfb\u7edf\u67b6\u6784\uff0832\u4f4d\u621664\u4f4d\uff09\u76f8\u5339\u914d\u7684\u5b89\u88c5\u5305\u3002\u6b64\u5916\uff0c\u68c0\u67e5\u60a8\u7684\u64cd\u4f5c\u7cfb\u7edf\u662f\u5426\u6ee1\u8db3Python 3.7.0\u7684\u8981\u6c42\uff0c\u786e\u4fdd\u987a\u5229\u5b89\u88c5\u3002<\/p>\n<p><strong>\u5b89\u88c5Python 3.7.0\u540e\uff0c\u5982\u4f55\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\uff1f<\/strong><br \/>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u6253\u5f00\u547d\u4ee4\u884c\u754c\u9762\uff08Windows\u7684CMD\u6216macOS\/Linux\u7684\u7ec8\u7aef\uff09\u5e76\u8f93\u5165<code>python --version<\/code>\u6216<code>python3 --version<\/code>\u6765\u68c0\u67e5Python\u7248\u672c\u3002\u5982\u679c\u5b89\u88c5\u6210\u529f\uff0c\u60a8\u4f1a\u770b\u5230\u663e\u793a\u7684\u7248\u672c\u53f7\u4e3a3.7.0\u3002\u6b64\u5916\uff0c\u60a8\u4e5f\u53ef\u4ee5\u901a\u8fc7\u8f93\u5165<code>python<\/code>\u6216<code>python3<\/code>\u8fdb\u5165Python\u89e3\u91ca\u5668\uff0c\u786e\u8ba4Python\u73af\u5883\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n<p><strong>\u5728Python 3.7.0\u4e2d\u5982\u4f55\u5b89\u88c5\u548c\u7ba1\u7406\u7b2c\u4e09\u65b9\u5e93\uff1f<\/strong><br \/>\u5728Python 3.7.0\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>pip<\/code>\u5de5\u5177\u6765\u5b89\u88c5\u548c\u7ba1\u7406\u7b2c\u4e09\u65b9\u5e93\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u901a\u8fc7\u547d\u4ee4<code>pip install package_name<\/code>\u6765\u5b89\u88c5\u6240\u9700\u7684\u5e93\u3002\u4f7f\u7528<code>pip list<\/code>\u53ef\u4ee5\u67e5\u770b\u5df2\u5b89\u88c5\u7684\u5e93\u548c\u7248\u672c\u3002\u5982\u679c\u60a8\u9700\u8981\u5378\u8f7d\u67d0\u4e2a\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip uninstall package_name<\/code>\u3002\u786e\u4fdd\u5728\u4f7f\u7528<code>pip<\/code>\u65f6\uff0c\u60a8\u5df2\u7ecf\u6fc0\u6d3b\u4e86\u76f8\u5e94\u7684\u865a\u62df\u73af\u5883\uff0c\u4ee5\u907f\u514d\u7248\u672c\u51b2\u7a81\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4e00\u3001\u5982\u4f55\u4e0b\u8f7dPython 3.7.0 \u4e0b\u8f7dPython 3.7.0\u4e3b\u8981\u901a\u8fc7Python\u5b98\u65b9\u7f51\u7ad9\u3001\u4f7f\u7528\u5305\u7ba1\u7406\u5de5\u5177 [&hellip;]","protected":false},"author":3,"featured_media":969387,"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\/969385"}],"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=969385"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/969385\/revisions"}],"predecessor-version":[{"id":969388,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/969385\/revisions\/969388"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/969387"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=969385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=969385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=969385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}