{"id":965454,"date":"2024-12-27T04:38:07","date_gmt":"2024-12-26T20:38:07","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/965454.html"},"modified":"2024-12-27T04:38:08","modified_gmt":"2024-12-26T20:38:08","slug":"anaconda%e5%a6%82%e4%bd%95%e6%9f%a5%e7%9c%8bpython%e7%89%88%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/965454.html","title":{"rendered":"anaconda\u5982\u4f55\u67e5\u770bpython\u7248\u672c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24181737\/d984a473-211a-4bce-87af-c91498156cd3.webp\" alt=\"anaconda\u5982\u4f55\u67e5\u770bpython\u7248\u672c\" \/><\/p>\n<p><p> <strong>\u5728Anaconda\u4e2d\u67e5\u770bPython\u7248\u672c\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u901a\u8fc7Anaconda Navigator\u3001\u547d\u4ee4\u884c\u548cJupyter Notebook\u7b49\u65b9\u5f0f\u3002<\/strong>\u901a\u5e38\uff0c<strong>\u901a\u8fc7\u547d\u4ee4\u884c\u662f\u6700\u76f4\u63a5\u548c\u5e38\u7528\u7684\u65b9\u6cd5<\/strong>\u3002\u5728\u547d\u4ee4\u884c\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528<code>conda<\/code>\u547d\u4ee4\u6216\u76f4\u63a5\u4f7f\u7528<code>python<\/code>\u547d\u4ee4\u6765\u67e5\u770b\u5f53\u524d\u73af\u5883\u4e2d\u7684Python\u7248\u672c\u3002\u4ee5\u4e0b\u662f\u901a\u8fc7\u547d\u4ee4\u884c\u67e5\u770bPython\u7248\u672c\u7684\u8be6\u7ec6\u63cf\u8ff0\u3002<\/p>\n<\/p>\n<p><p>\u5728Anaconda Prompt\u6216\u7ec8\u7aef\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u67e5\u770bPython\u7248\u672c\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528<code>conda list<\/code>\u547d\u4ee4\uff1a<\/strong><br \/>\u6253\u5f00Anaconda Prompt\u6216\u7ec8\u7aef\uff0c\u8f93\u5165<code>conda list<\/code>\uff0c\u7136\u540e\u6309Enter\u3002\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u663e\u793a\u5f53\u524d\u73af\u5883\u4e2d\u6240\u6709\u5df2\u5b89\u88c5\u7684\u5305\u53ca\u5176\u7248\u672c\u3002\u5728\u8f93\u51fa\u5217\u8868\u4e2d\uff0c\u4f60\u53ef\u4ee5\u627e\u5230Python\u7684\u7248\u672c\u4fe1\u606f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528<code>python --version<\/code>\u547d\u4ee4\uff1a<\/strong><br \/>\u76f4\u63a5\u5728Anaconda Prompt\u6216\u7ec8\u7aef\u4e2d\u8f93\u5165<code>python --version<\/code>\uff0c\u7136\u540e\u6309Enter\u3002\u7cfb\u7edf\u5c06\u76f4\u63a5\u8fd4\u56de\u5f53\u524d\u73af\u5883\u4e2d\u4f7f\u7528\u7684Python\u7248\u672c\u53f7\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528<code>conda info<\/code>\u547d\u4ee4\uff1a<\/strong><br \/>\u8f93\u5165<code>conda info<\/code>\uff0c\u6309Enter\u3002\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u663e\u793a\u5f53\u524dAnaconda\u73af\u5883\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u5305\u62ecPython\u7248\u672c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u901a\u8fc7\u4e0d\u540c\u7684\u65b9\u6cd5\u67e5\u770bPython\u7248\u672c\u4ee5\u53ca\u76f8\u5173\u77e5\u8bc6\u548c\u7ecf\u9a8c\u3002<\/p>\n<\/p>\n<h2><strong>\u4e00\u3001\u901a\u8fc7ANACONDA NAVIGATOR\u67e5\u770bPYTHON\u7248\u672c<\/strong><\/h2>\n<p><p>Anaconda Navigator\u662f\u4e00\u4e2a\u56fe\u5f62\u7528\u6237\u754c\u9762\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u7ba1\u7406Anaconda\u5305\u548c\u73af\u5883\u3002<\/p>\n<\/p>\n<p><h3>1. \u6253\u5f00Anaconda Navigator<\/h3>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u6253\u5f00Anaconda Navigator\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u5f00\u59cb\u83dc\u5355\u6216\u684c\u9762\u5feb\u6377\u65b9\u5f0f\u627e\u5230\u5b83\uff0c\u5e76\u53cc\u51fb\u56fe\u6807\u542f\u52a8\u3002<\/p>\n<\/p>\n<p><h3>2. \u67e5\u770b\u73af\u5883\u4fe1\u606f<\/h3>\n<\/p>\n<p><p>\u5728Anaconda Navigator\u4e2d\uff0c\u9009\u62e9\u5de6\u4fa7\u7684\u201cEnvironments\u201d\u6807\u7b7e\u3002\u8fd9\u5c06\u663e\u793a\u5f53\u524d\u6240\u6709\u7684\u73af\u5883\u3002\u5728\u73af\u5883\u5217\u8868\u4e2d\uff0c\u9009\u62e9\u4f60\u60f3\u67e5\u770bPython\u7248\u672c\u7684\u73af\u5883\u3002\u9009\u4e2d\u73af\u5883\u540e\uff0c\u53f3\u4fa7\u4f1a\u663e\u793a\u8be5\u73af\u5883\u4e2d\u7684\u6240\u6709\u5305\u53ca\u5176\u7248\u672c\u4fe1\u606f\u3002\u5728\u5217\u8868\u4e2d\u627e\u5230\u201cpython\u201d\u6761\u76ee\uff0c\u5373\u53ef\u67e5\u770b\u8be5\u73af\u5883\u4e2dPython\u7684\u7248\u672c\u3002<\/p>\n<\/p>\n<h2><strong>\u4e8c\u3001\u901a\u8fc7\u547d\u4ee4\u884c\u67e5\u770bPYTHON\u7248\u672c<\/strong><\/h2>\n<p><p>\u547d\u4ee4\u884c\u662f\u67e5\u770bPython\u7248\u672c\u6700\u76f4\u63a5\u7684\u65b9\u5f0f\uff0c\u9002\u7528\u4e8eWindows\u3001macOS\u548cLinux\u7cfb\u7edf\u3002<\/p>\n<\/p>\n<p><h3>1. \u4f7f\u7528<code>conda list<\/code>\u547d\u4ee4<\/h3>\n<\/p>\n<p><p>\u5728Anaconda Prompt\uff08Windows\u7528\u6237\uff09\u6216\u7ec8\u7aef\uff08macOS\/Linux\u7528\u6237\uff09\u4e2d\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">conda list<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8be5\u547d\u4ee4\u5c06\u5217\u51fa\u5f53\u524d\u73af\u5883\u4e2d\u6240\u6709\u5df2\u5b89\u88c5\u7684\u5305\u53ca\u5176\u7248\u672c\u3002\u5728\u8f93\u51fa\u4e2d\uff0c\u67e5\u627e\u201cpython\u201d\u6761\u76ee\uff0c\u65c1\u8fb9\u5373\u662fPython\u7684\u7248\u672c\u3002<\/p>\n<\/p>\n<p><h3>2. \u4f7f\u7528<code>python --version<\/code>\u547d\u4ee4<\/h3>\n<\/p>\n<p><p>\u5728\u547d\u4ee4\u884c\u4e2d\uff0c\u76f4\u63a5\u8f93\u5165\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\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python -V<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e24\u4e2a\u547d\u4ee4\u90fd\u4f1a\u8f93\u51fa\u5f53\u524d\u73af\u5883\u4e2d\u4f7f\u7528\u7684Python\u7248\u672c\u53f7\uff0c\u4f8b\u5982\u201cPython 3.8.5\u201d\u3002<\/p>\n<\/p>\n<p><h3>3. \u4f7f\u7528<code>conda info<\/code>\u547d\u4ee4<\/h3>\n<\/p>\n<p><p>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u4ee5\u67e5\u770b\u73af\u5883\u7684\u8be6\u7ec6\u4fe1\u606f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">conda info<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8be5\u547d\u4ee4\u4f1a\u8f93\u51fa\u8bf8\u5982\u73af\u5883\u8def\u5f84\u3001\u5305\u7f13\u5b58\u3001Python\u7248\u672c\u7b49\u4fe1\u606f\u3002\u67e5\u627e\u201cpython version\u201d\u5b57\u6bb5\u5373\u53ef\u3002<\/p>\n<\/p>\n<h2><strong>\u4e09\u3001\u901a\u8fc7JUPYTER NOTEBOOK\u67e5\u770bPYTHON\u7248\u672c<\/strong><\/h2>\n<p><p>Jupyter Notebook\u662f\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u8ba1\u7b97\u73af\u5883\uff0c\u5e38\u7528\u4e8e\u6570\u636e\u5206\u6790\u548c\u79d1\u5b66\u8ba1\u7b97\u3002<\/p>\n<\/p>\n<p><h3>1. \u542f\u52a8Jupyter Notebook<\/h3>\n<\/p>\n<p><p>\u5728Anaconda Prompt\u6216\u7ec8\u7aef\u4e2d\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8Jupyter Notebook\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">jupyter notebook<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4f1a\u5728\u9ed8\u8ba4\u6d4f\u89c8\u5668\u4e2d\u6253\u5f00Jupyter Notebook\u7684\u4e3b\u754c\u9762\u3002<\/p>\n<\/p>\n<p><h3>2. \u521b\u5efa\u65b0\u7684Notebook<\/h3>\n<\/p>\n<p><p>\u5728Jupyter Notebook\u4e2d\uff0c\u70b9\u51fb\u201cNew\u201d\u6309\u94ae\uff0c\u7136\u540e\u9009\u62e9\u201cPython [default]\u201d\u4ee5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Notebook\u3002<\/p>\n<\/p>\n<p><h3>3. \u67e5\u770bPython\u7248\u672c<\/h3>\n<\/p>\n<p><p>\u5728Notebook\u7684\u7b2c\u4e00\u4e2a\u5355\u5143\u683c\u4e2d\uff0c\u8f93\u5165\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sys<\/p>\n<p>print(sys.version)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd0\u884c\u8fd9\u4e2a\u5355\u5143\u683c\uff08\u6309Shift + Enter\uff09\uff0c\u8f93\u51fa\u5c06\u663e\u793a\u5f53\u524d\u4f7f\u7528\u7684Python\u7248\u672c\u53ca\u5176\u8be6\u7ec6\u4fe1\u606f\u3002<\/p>\n<\/p>\n<h2><strong>\u56db\u3001\u5728PYTHON\u811a\u672c\u4e2d\u67e5\u770b\u7248\u672c<\/strong><\/h2>\n<p><p>\u6709\u65f6\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u5728Python\u811a\u672c\u4e2d\u83b7\u53d6Python\u7248\u672c\u3002\u8fd9\u53ef\u4ee5\u901a\u8fc7\u5185\u7f6e\u7684<code>sys<\/code>\u6a21\u5757\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><h3>1. \u4f7f\u7528<code>sys.version<\/code><\/h3>\n<\/p>\n<p><p>\u5728Python\u811a\u672c\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\u6765\u67e5\u770bPython\u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sys<\/p>\n<p>print(&quot;Python version&quot;)<\/p>\n<p>print(sys.version)<\/p>\n<p>print(&quot;Version info.&quot;)<\/p>\n<p>print(sys.version_info)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><code>sys.version<\/code>\u4f1a\u8fd4\u56de\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c\u5305\u542bPython\u7248\u672c\u53f7\u53ca\u5176\u8be6\u7ec6\u4fe1\u606f\uff0c\u800c<code>sys.version_info<\/code>\u4f1a\u8fd4\u56de\u4e00\u4e2a\u5143\u7ec4\uff0c\u5305\u542b\u7248\u672c\u53f7\u7684\u5404\u4e2a\u7ec4\u6210\u90e8\u5206\uff08\u4e3b\u7248\u672c\u3001\u6b21\u7248\u672c\u3001\u5fae\u7248\u672c\u7b49\uff09\u3002<\/p>\n<\/p>\n<p><h3>2. \u4f7f\u7528<code>platform<\/code>\u6a21\u5757<\/h3>\n<\/p>\n<p><p><code>platform<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u66f4\u591a\u5173\u4e8e\u8fd0\u884c\u73af\u5883\u7684\u4fe1\u606f\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u5b83\u6765\u83b7\u53d6Python\u7248\u672c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import platform<\/p>\n<p>print(platform.python_version())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><code>platform.python_version()<\/code>\u4f1a\u8fd4\u56de\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c\u8868\u793aPython\u7684\u7248\u672c\u53f7\uff0c\u4f8b\u5982\u201c3.8.5\u201d\u3002<\/p>\n<\/p>\n<h2><strong>\u4e94\u3001\u5e38\u89c1\u95ee\u9898\u4e0e\u89e3\u51b3\u65b9\u6848<\/strong><\/h2>\n<p><p>\u5728\u4f7f\u7528Anaconda\u548cPython\u65f6\uff0c\u4f60\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\u53ca\u5176\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<\/p>\n<p><h3>1. \u5b89\u88c5Python\u7248\u672c\u4e0e\u9884\u671f\u4e0d\u7b26<\/h3>\n<\/p>\n<p><p>\u6709\u65f6\uff0c\u4f60\u53ef\u80fd\u4f1a\u53d1\u73b0\u5b89\u88c5\u7684Python\u7248\u672c\u4e0e\u9884\u671f\u4e0d\u7b26\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u89e3\u51b3\uff1a<\/p>\n<\/p>\n<ul>\n<li>\u786e\u4fdd\u4f60\u5728\u6b63\u786e\u7684\u73af\u5883\u4e2d\u6267\u884c\u547d\u4ee4\u3002\u4f7f\u7528<code>conda activate<\/code>\u547d\u4ee4\u6fc0\u6d3b\u6240\u9700\u7684\u73af\u5883\u3002<\/li>\n<li>\u68c0\u67e5<code>environment.yml<\/code>\u6587\u4ef6\u4e2d\u7684Python\u7248\u672c\u914d\u7f6e\u662f\u5426\u6b63\u786e\u3002<\/li>\n<li>\u4f7f\u7528<code>conda install python=x.x.x<\/code>\u547d\u4ee4\u5b89\u88c5\u6307\u5b9a\u7248\u672c\u7684Python\u3002<\/li>\n<\/ul>\n<p><h3>2. \u591a\u4e2aPython\u7248\u672c\u7684\u7ba1\u7406<\/h3>\n<\/p>\n<p><p>Anaconda\u5141\u8bb8\u4f60\u5728\u540c\u4e00\u7cfb\u7edf\u4e0a\u7ba1\u7406\u591a\u4e2aPython\u7248\u672c\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u521b\u5efa\u4e0d\u540c\u7684\u73af\u5883\u6765\u5b9e\u73b0\u8fd9\u4e00\u70b9\u3002<\/p>\n<\/p>\n<ul>\n<li>\u4f7f\u7528<code>conda create -n myenv python=3.8<\/code>\u547d\u4ee4\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u73af\u5883\uff0c\u5e76\u6307\u5b9aPython\u7248\u672c\u3002<\/li>\n<li>\u4f7f\u7528<code>conda activate myenv<\/code>\u6fc0\u6d3b\u73af\u5883\u540e\uff0c\u73af\u5883\u4e2d\u7684Python\u7248\u672c\u5c06\u88ab\u5207\u6362\u3002<\/li>\n<\/ul>\n<p><h3>3. \u66f4\u65b0Python\u7248\u672c<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u9700\u8981\u66f4\u65b0Python\u7248\u672c\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">conda update python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u66f4\u65b0\u5f53\u524d\u73af\u5883\u4e2d\u7684Python\u5230\u6700\u65b0\u7684\u517c\u5bb9\u7248\u672c\u3002<\/p>\n<\/p>\n<h2><strong>\u516d\u3001\u603b\u7ed3<\/strong><\/h2>\n<p><p>\u4e86\u89e3\u5982\u4f55\u5728Anaconda\u4e2d\u67e5\u770bPython\u7248\u672c\u662f\u4f7f\u7528Anaconda\u8fdb\u884cPython\u5f00\u53d1\u7684\u57fa\u672c\u6280\u80fd\u3002\u901a\u8fc7\u638c\u63e1\u4e0a\u8ff0\u65b9\u6cd5\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u7ba1\u7406\u548c\u5207\u6362\u4e0d\u540c\u7248\u672c\u7684Python\uff0c\u4ece\u800c\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u548c\u7075\u6d3b\u6027\u3002\u65e0\u8bba\u662f\u901a\u8fc7\u547d\u4ee4\u884c\u3001Anaconda Navigator\u8fd8\u662fJupyter Notebook\uff0c\u8fd9\u4e9b\u65b9\u6cd5\u90fd\u63d0\u4f9b\u4e86\u5feb\u901f\u67e5\u770bPython\u7248\u672c\u7684\u9014\u5f84\u3002\u5e0c\u671b\u672c\u6587\u80fd\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7ba1\u7406\u548c\u4f7f\u7528Python\u7248\u672c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Anaconda\u73af\u5883\u4e2d\u68c0\u67e5Python\u7684\u7248\u672c\uff1f<\/strong><br \/>\u5728Anaconda\u4e2d\u68c0\u67e5Python\u7248\u672c\u975e\u5e38\u7b80\u5355\u3002\u4f60\u53ef\u4ee5\u6253\u5f00Anaconda Prompt\uff08\u547d\u4ee4\u884c\u5de5\u5177\uff09\uff0c\u7136\u540e\u8f93\u5165\u547d\u4ee4<code>python --version<\/code>\u6216\u8005<code>python -V<\/code>\u3002\u8fd0\u884c\u6b64\u547d\u4ee4\u540e\uff0c\u7cfb\u7edf\u4f1a\u8fd4\u56de\u5f53\u524d\u5b89\u88c5\u7684Python\u7248\u672c\u4fe1\u606f\u3002<\/p>\n<p><strong>Anaconda Navigator\u4e2d\u662f\u5426\u53ef\u4ee5\u67e5\u770bPython\u7248\u672c\uff1f<\/strong><br \/>\u662f\u7684\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7Anaconda Navigator\u67e5\u770bPython\u7248\u672c\u3002\u6253\u5f00Anaconda Navigator\uff0c\u9009\u62e9\u4f60\u60f3\u8981\u67e5\u770b\u7684\u73af\u5883\uff0c\u7136\u540e\u5728\u73af\u5883\u4fe1\u606f\u4e2d\u53ef\u4ee5\u770b\u5230\u8be5\u73af\u5883\u4e2d\u5b89\u88c5\u7684Python\u7248\u672c\u3002\u8fd9\u4e2a\u65b9\u6cd5\u9002\u5408\u90a3\u4e9b\u4e0d\u4e60\u60ef\u4f7f\u7528\u547d\u4ee4\u884c\u7684\u7528\u6237\u3002<\/p>\n<p><strong>\u5982\u679c\u6211\u60f3\u66f4\u65b0Anaconda\u4e2d\u7684Python\u7248\u672c\uff0c\u8be5\u600e\u4e48\u505a\uff1f<\/strong><br \/>\u5982\u679c\u4f60\u5e0c\u671b\u66f4\u65b0Anaconda\u4e2d\u7684Python\u7248\u672c\uff0c\u53ef\u4ee5\u5728Anaconda Prompt\u4e2d\u4f7f\u7528\u547d\u4ee4<code>conda update python<\/code>\u3002\u8fd9\u5c06\u4f1a\u68c0\u67e5\u53ef\u7528\u7684\u66f4\u65b0\u5e76\u81ea\u52a8\u4e0b\u8f7d\u548c\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684Python\u3002\u786e\u4fdd\u5728\u66f4\u65b0\u4e4b\u524d\u5907\u4efd\u91cd\u8981\u7684\u9879\u76ee\u548c\u73af\u5883\uff0c\u4ee5\u9632\u517c\u5bb9\u6027\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Anaconda\u4e2d\u67e5\u770bPython\u7248\u672c\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u901a\u8fc7Anaconda Navigator\u3001\u547d\u4ee4\u884c\u548cJ [&hellip;]","protected":false},"author":3,"featured_media":965463,"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\/965454"}],"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=965454"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/965454\/revisions"}],"predecessor-version":[{"id":965465,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/965454\/revisions\/965465"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/965463"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=965454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=965454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=965454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}