{"id":949542,"date":"2024-12-27T00:13:56","date_gmt":"2024-12-26T16:13:56","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/949542.html"},"modified":"2024-12-27T00:13:59","modified_gmt":"2024-12-26T16:13:59","slug":"anaconda%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/949542.html","title":{"rendered":"anaconda\u5982\u4f55\u4f7f\u7528python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25084506\/5d07173b-af05-4c74-9185-e28ac842cdab.webp\" alt=\"anaconda\u5982\u4f55\u4f7f\u7528python\" \/><\/p>\n<p><p> <strong>Anaconda\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u7528\u4e8e\u7b80\u5316Python\u73af\u5883\u7684\u7ba1\u7406\u3001\u5305\u7684\u5b89\u88c5\u548c\u4f7f\u7528\u3001\u4ee5\u53ca\u6570\u636e\u79d1\u5b66\u548c<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u9879\u76ee\u7684\u5f00\u53d1<\/strong>\u3002\u5b83\u63d0\u4f9b\u4e86\u4e00\u4e2a\u96c6\u6210\u7684\u73af\u5883\uff0c\u4f7f\u5f97\u79d1\u5b66\u8ba1\u7b97\u548c\u5206\u6790\u53d8\u5f97\u66f4\u52a0\u9ad8\u6548\u3002\u4f7f\u7528Anaconda\u7684\u5173\u952e\u5728\u4e8e\u5176\u73af\u5883\u7ba1\u7406\u529f\u80fd\u3001\u4e30\u5bcc\u7684\u5e93\u652f\u6301\u548c\u96c6\u6210\u7684IDE\u3002\u4ee5\u4e0b\u5c06\u8be6\u7ec6\u63a2\u8ba8\u5982\u4f55\u6709\u6548\u4f7f\u7528Anaconda\u6765\u8fdb\u884cPython\u5f00\u53d1\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5b89\u88c5\u548c\u914d\u7f6eANACONDA<\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528Anaconda\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u6b63\u786e\u5b89\u88c5\u548c\u914d\u7f6e\u5b83\u3002Anaconda\u652f\u6301Windows\u3001macOS\u548cLinux\u7cfb\u7edf\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4e0b\u8f7d\u4e0e\u5b89\u88c5<\/strong><\/p>\n<\/p>\n<p><p>\u524d\u5f80Anaconda\u7684\u5b98\u65b9\u7f51\u7ad9\uff0c\u4e0b\u8f7d\u9002\u5408\u60a8\u64cd\u4f5c\u7cfb\u7edf\u7684\u7248\u672c\u3002\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u5efa\u8bae\u9009\u62e9\u5c06Anaconda\u6dfb\u52a0\u5230\u7cfb\u7edf\u7684PATH\u4e2d\uff0c\u8fd9\u6837\u53ef\u4ee5\u76f4\u63a5\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528Anaconda\u547d\u4ee4\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6e\u73af\u5883<\/strong><\/p>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f7f\u7528Anaconda Prompt\uff08Windows\uff09\u6216\u7ec8\u7aef\uff08macOS\/Linux\uff09\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\u3002\u8f93\u5165<code>conda --version<\/code>\uff0c\u5982\u679c\u8fd4\u56de\u7248\u672c\u53f7\uff0c\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<\/p>\n<p><p>\u914d\u7f6e\u73af\u5883\u65f6\uff0c\u53ef\u4ee5\u8bbe\u7f6eAnaconda Navigator\u4e3a\u9ed8\u8ba4\u542f\u52a8\u5de5\u5177\uff0c\u8fd9\u4e2a\u56fe\u5f62\u754c\u9762\u4f7f\u5f97\u7ba1\u7406\u73af\u5883\u548c\u5b89\u88c5\u5305\u53d8\u5f97\u66f4\u52a0\u76f4\u89c2\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u521b\u5efa\u548c\u7ba1\u7406\u73af\u5883<\/p>\n<\/p>\n<p><p>Anaconda\u7684\u4e00\u4e2a\u6838\u5fc3\u529f\u80fd\u662f\u73af\u5883\u7ba1\u7406\uff0c\u8fd9\u4f7f\u5f97\u7528\u6237\u53ef\u4ee5\u5728\u4e0d\u540c\u9879\u76ee\u4e2d\u4f7f\u7528\u4e0d\u540c\u7684Python\u7248\u672c\u548c\u5e93\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efa\u65b0\u73af\u5883<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528\u547d\u4ee4<code>conda create --name myenv python=3.8<\/code>\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>myenv<\/code>\u7684\u65b0\u73af\u5883\uff0c\u5e76\u6307\u5b9aPython\u7248\u672c\u4e3a3.8\u3002\u6fc0\u6d3b\u73af\u5883\u4f7f\u7528<code>conda activate myenv<\/code>\uff0c\u9000\u51fa\u5219\u4f7f\u7528<code>conda deactivate<\/code>\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7ba1\u7406\u73af\u5883<\/strong><\/p>\n<\/p>\n<p><p>\u67e5\u770b\u5df2\u5b89\u88c5\u73af\u5883\u4f7f\u7528<code>conda info --envs<\/code>\uff0c\u5220\u9664\u73af\u5883\u5219\u4f7f\u7528<code>conda remove --name myenv --all<\/code>\u3002\u5728\u4e0d\u540c\u73af\u5883\u4e4b\u95f4\u5207\u6362\u548c\u7ba1\u7406\u4f7f\u5f97\u9879\u76ee\u4e4b\u95f4\u7684\u4f9d\u8d56\u4e0d\u4f1a\u51b2\u7a81\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u5b89\u88c5\u548c\u7ba1\u7406\u5305<\/p>\n<\/p>\n<p><p>\u4f7f\u7528Anaconda\u7b80\u5316\u4e86Python\u5305\u7684\u5b89\u88c5\u548c\u7ba1\u7406\uff0c\u5c24\u5176\u662f\u90a3\u4e9b\u9700\u8981\u7f16\u8bd1\u7684\u79d1\u5b66\u8ba1\u7b97\u5305\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5\u5305<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u6fc0\u6d3b\u7684\u73af\u5883\u4e2d\uff0c\u4f7f\u7528<code>conda install package_name<\/code>\u6765\u5b89\u88c5\u9700\u8981\u7684\u5305\u3002\u5982\u679c\u67d0\u4e2a\u5305\u5728conda\u4ed3\u5e93\u4e2d\u4e0d\u53ef\u7528\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528<code>pip install package_name<\/code>\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u66f4\u65b0\u548c\u5220\u9664\u5305<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528<code>conda update package_name<\/code>\u6765\u66f4\u65b0\u5305\uff0c<code>conda remove package_name<\/code>\u6765\u5220\u9664\u5305\u3002\u786e\u4fdd\u5728\u6b63\u786e\u7684\u73af\u5883\u4e2d\u8fdb\u884c\u8fd9\u4e9b\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u4f7f\u7528JUPYTER NOTEBOOK<\/p>\n<\/p>\n<p><p>Anaconda\u96c6\u6210\u4e86Jupyter Notebook\uff0c\u8fd9\u662f\u4e00\u4e2a\u975e\u5e38\u6d41\u884c\u7684\u4ea4\u4e92\u5f0f\u5f00\u53d1\u73af\u5883\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u542f\u52a8Jupyter Notebook<\/strong><\/p>\n<\/p>\n<p><p>\u5728Anaconda Prompt\u6216\u7ec8\u7aef\u4e2d\uff0c\u8f93\u5165<code>jupyter notebook<\/code>\uff0c\u6d4f\u89c8\u5668\u5c06\u81ea\u52a8\u6253\u5f00\u4e00\u4e2a\u65b0\u7684\u7a97\u53e3\uff0c\u663e\u793aJupyter\u7684\u4e3b\u9875\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u521b\u5efa\u548c\u7ba1\u7406\u7b14\u8bb0\u672c<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u4e3b\u9875\u4e2d\uff0c\u53ef\u4ee5\u521b\u5efa\u65b0\u7684Python\u7b14\u8bb0\u672c\uff0c\u8fdb\u884c\u4ee3\u7801\u7f16\u5199\u548c\u6570\u636e\u5206\u6790\u3002Jupyter Notebook\u652f\u6301Markdown\u548c\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\u63d2\u4ef6\uff0c\u975e\u5e38\u9002\u5408\u6570\u636e\u79d1\u5b66\u5b9e\u9a8c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u96c6\u6210IDE\u548c\u5de5\u5177<\/p>\n<\/p>\n<p><p>Anaconda\u4e0d\u4ec5\u652f\u6301Jupyter Notebook\uff0c\u8fd8\u53ef\u4ee5\u4e0e\u5176\u4ed6IDE\u96c6\u6210\uff0c\u5982Spyder\u3001VS Code\u7b49\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528Spyder<\/strong><\/p>\n<\/p>\n<p><p>Spyder\u662fAnaconda\u81ea\u5e26\u7684IDE\uff0c\u4e13\u4e3a\u79d1\u5b66\u8ba1\u7b97\u8bbe\u8ba1\u3002\u901a\u8fc7Anaconda Navigator\u53ef\u4ee5\u76f4\u63a5\u542f\u52a8Spyder\u8fdb\u884c\u5f00\u53d1\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u96c6\u6210VS Code<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u60a8\u4e60\u60ef\u4f7f\u7528Visual Studio Code\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b89\u88c5Anaconda\u6269\u5c55\u6765\u96c6\u6210VS Code\u3002\u8fd9\u6837\u53ef\u4ee5\u4eab\u53d7\u5230VS Code\u5f3a\u5927\u7684\u7f16\u8f91\u529f\u80fd\u548cAnaconda\u7684\u5305\u7ba1\u7406\u4f18\u52bf\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u516d\u3001\u4f7f\u7528ANACONDA NAVIGATOR<\/p>\n<\/p>\n<p><p>Anaconda Navigator\u662f\u4e00\u4e2a\u56fe\u5f62\u754c\u9762\u5de5\u5177\uff0c\u7b80\u5316\u4e86\u5305\u7ba1\u7406\u548c\u73af\u5883\u914d\u7f6e\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5305\u548c\u73af\u5883\u7ba1\u7406<\/strong><\/p>\n<\/p>\n<p><p>\u901a\u8fc7Navigator\u53ef\u4ee5\u76f4\u89c2\u5730\u521b\u5efa\u3001\u5220\u9664\u548c\u7ba1\u7406\u73af\u5883\uff0c\u8fd8\u53ef\u4ee5\u65b9\u4fbf\u5730\u5b89\u88c5\u548c\u66f4\u65b0\u5305\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u542f\u52a8\u5e94\u7528<\/strong><\/p>\n<\/p>\n<p><p>Navigator\u652f\u6301\u542f\u52a8\u591a\u4e2a\u5e94\u7528\u7a0b\u5e8f\uff0c\u5982Jupyter Notebook\u3001Spyder\u3001RStudio\u7b49\uff0c\u65b9\u4fbf\u7528\u6237\u6839\u636e\u9700\u8981\u9009\u62e9\u5408\u9002\u7684\u5f00\u53d1\u5de5\u5177\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e03\u3001\u6570\u636e\u5206\u6790\u548c\u79d1\u5b66\u8ba1\u7b97<\/p>\n<\/p>\n<p><p>Anaconda\u5305\u542b\u4e86\u5927\u91cf\u7684\u6570\u636e\u5206\u6790\u548c\u79d1\u5b66\u8ba1\u7b97\u5e93\uff0c\u5982NumPy\u3001Pandas\u3001Matplotlib\u7b49\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528NumPy\u548cPandas<\/strong><\/p>\n<\/p>\n<p><p>NumPy\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u79d1\u5b66\u8ba1\u7b97\u5e93\uff0c\u652f\u6301\u591a\u7ef4\u6570\u7ec4\u548c\u77e9\u9635\u8fd0\u7b97\u3002Pandas\u5219\u63d0\u4f9b\u4e86\u6570\u636e\u64cd\u4f5c\u548c\u5206\u6790\u7684\u9ad8\u6027\u80fd\u5de5\u5177\uff0c\u9002\u5408\u5904\u7406\u7ed3\u6784\u5316\u6570\u636e\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6570\u636e\u53ef\u89c6\u5316<\/strong><\/p>\n<\/p>\n<p><p>Matplotlib\u548cSeaborn\u662f\u4e24\u4e2a\u5e38\u7528\u7684\u53ef\u89c6\u5316\u5e93\uff0c\u53ef\u4ee5\u521b\u5efa\u5404\u79cd\u9759\u6001\u3001\u52a8\u6001\u548c\u4ea4\u4e92\u5f0f\u56fe\u8868\uff0c\u5e2e\u52a9\u5206\u6790\u548c\u5c55\u793a\u6570\u636e\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u516b\u3001\u673a\u5668\u5b66\u4e60\u4e0e\u6df1\u5ea6\u5b66\u4e60<\/p>\n<\/p>\n<p><p>Anaconda\u96c6\u6210\u4e86\u4f17\u591a\u673a\u5668\u5b66\u4e60\u548c\u6df1\u5ea6\u5b66\u4e60\u5e93\uff0c\u5982Scikit-learn\u3001TensorFlow\u3001PyTorch\u7b49\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528Scikit-learn<\/strong><\/p>\n<\/p>\n<p><p>Scikit-learn\u662f\u4e00\u4e2a\u7b80\u5355\u9ad8\u6548\u7684\u6570\u636e\u6316\u6398\u548c\u6570\u636e\u5206\u6790\u5de5\u5177\uff0c\u652f\u6301\u5206\u7c7b\u3001\u56de\u5f52\u3001\u805a\u7c7b\u7b49\u591a\u79cd\u7b97\u6cd5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6df1\u5ea6\u5b66\u4e60\u6846\u67b6<\/strong><\/p>\n<\/p>\n<p><p>\u5bf9\u4e8e\u6df1\u5ea6\u5b66\u4e60\u9879\u76ee\uff0c\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528TensorFlow\u6216PyTorch\uff0cAnaconda\u63d0\u4f9b\u4e86\u76f8\u5e94\u7684\u73af\u5883\u914d\u7f6e\u548c\u5305\u5b89\u88c5\u652f\u6301\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e5d\u3001\u7248\u672c\u63a7\u5236\u548c<a href=\"https:\/\/docs.pingcode.com\/blog\/project-management\/23316.html\" target=\"_blank\">\u9879\u76ee\u7ba1\u7406<\/a><\/p>\n<\/p>\n<p><p>\u5728\u56e2\u961f\u534f\u4f5c\u548c\u7248\u672c\u7ba1\u7406\u4e2d\uff0cAnaconda\u53ef\u4ee5\u4e0eGit\u7b49\u7248\u672c\u63a7\u5236\u5de5\u5177\u7ed3\u5408\u4f7f\u7528\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>Git\u96c6\u6210<\/strong><\/p>\n<\/p>\n<p><p>\u901a\u8fc7Anaconda Navigator\u6216\u76f4\u63a5\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528Git\u547d\u4ee4\uff0c\u53ef\u4ee5\u7ba1\u7406\u9879\u76ee\u7684\u7248\u672c\u63a7\u5236\uff0c\u4fbf\u4e8e\u56e2\u961f\u534f\u4f5c\u548c\u4ee3\u7801\u7ba1\u7406\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9879\u76ee\u73af\u5883\u914d\u7f6e<\/strong><\/p>\n<\/p>\n<p><p>\u4f7f\u7528<code>conda env export &gt; environment.yml<\/code>\u53ef\u4ee5\u5bfc\u51fa\u5f53\u524d\u73af\u5883\u914d\u7f6e\uff0c\u4fbf\u4e8e\u5728\u5176\u4ed6\u673a\u5668\u4e0a\u91cd\u73b0\u76f8\u540c\u7684\u73af\u5883\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u5341\u3001\u5e38\u89c1\u95ee\u9898\u89e3\u51b3<\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528Anaconda\u7684\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u95ee\u9898\u548c\u6311\u6218\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5305\u51b2\u7a81<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u5b89\u88c5\u6216\u66f4\u65b0\u5305\u65f6\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u5305\u51b2\u7a81\u95ee\u9898\u3002\u6b64\u65f6\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528<code>conda clean --all<\/code>\u6e05\u7406\u7f13\u5b58\uff0c\u6216\u624b\u52a8\u89e3\u51b3\u4f9d\u8d56\u51b2\u7a81\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u73af\u5883\u635f\u574f<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u67d0\u4e2a\u73af\u5883\u635f\u574f\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u5220\u9664\u5e76\u91cd\u65b0\u521b\u5efa\u73af\u5883\uff0c\u6216\u4f7f\u7528\u5907\u4efd\u7684<code>environment.yml<\/code>\u6587\u4ef6\u91cd\u5efa\u73af\u5883\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u5185\u5bb9\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230Anaconda\u4f5c\u4e3aPython\u5f00\u53d1\u7684\u5f3a\u5927\u5de5\u5177\uff0c\u63d0\u4f9b\u4e86\u73af\u5883\u7ba1\u7406\u3001\u5305\u5b89\u88c5\u3001\u96c6\u6210\u5f00\u53d1\u73af\u5883\u7b49\u591a\u9879\u529f\u80fd\uff0c\u6781\u5927\u5730\u7b80\u5316\u4e86\u6570\u636e\u79d1\u5b66\u548c\u673a\u5668\u5b66\u4e60\u7684\u5f00\u53d1\u6d41\u7a0b\u3002\u65e0\u8bba\u662f\u521d\u5b66\u8005\u8fd8\u662f\u4e13\u4e1a\u5f00\u53d1\u8005\uff0cAnaconda\u90fd\u80fd\u63d0\u4f9b\u5f3a\u6709\u529b\u7684\u652f\u6301\u548c\u4fbf\u5229\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Anaconda\u4e2d\u521b\u5efa\u65b0\u7684Python\u73af\u5883\uff1f<\/strong><br \/>\u5728Anaconda\u4e2d\u521b\u5efa\u65b0\u7684Python\u73af\u5883\u975e\u5e38\u7b80\u5355\u3002\u60a8\u53ef\u4ee5\u6253\u5f00Anaconda Navigator\uff0c\u70b9\u51fb\u201cEnvironments\u201d\u9009\u9879\u5361\uff0c\u7136\u540e\u9009\u62e9\u201cCreate\u201d\u6309\u94ae\u3002\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\uff0c\u8f93\u5165\u73af\u5883\u540d\u79f0\uff0c\u5e76\u9009\u62e9\u6240\u9700\u7684Python\u7248\u672c\uff0c\u70b9\u51fb\u201cCreate\u201d\u5373\u53ef\u3002\u4e5f\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528 <code>conda create --name myenv python=3.8<\/code> \u547d\u4ee4\u6765\u521b\u5efa\u65b0\u73af\u5883\u3002<\/p>\n<p><strong>Anaconda\u4e2d\u5982\u4f55\u5b89\u88c5Python\u5e93\uff1f<\/strong><br \/>\u5728Anaconda\u4e2d\u5b89\u88c5Python\u5e93\u53ef\u4ee5\u901a\u8fc7Anaconda Navigator\u6216\u547d\u4ee4\u884c\u5b8c\u6210\u3002\u5728Navigator\u4e2d\uff0c\u9009\u62e9\u60a8\u7684\u73af\u5883\uff0c\u70b9\u51fb\u201cOpen Terminal\u201d\u6216\u201cOpen with Jupyter Notebook\u201d\uff0c\u7136\u540e\u4f7f\u7528\u547d\u4ee4 <code>conda install package_name<\/code> \u6765\u5b89\u88c5\u7279\u5b9a\u5e93\u3002\u5982\u679c\u5e0c\u671b\u5b89\u88c5\u5176\u4ed6\u672a\u5728conda\u4e2d\u63d0\u4f9b\u7684\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>pip install package_name<\/code> \u547d\u4ee4\u3002<\/p>\n<p><strong>\u4f7f\u7528Anaconda\u4e2d\u7684Jupyter Notebook\u5982\u4f55\u8fd0\u884cPython\u4ee3\u7801\uff1f<\/strong><br \/>\u5728Anaconda\u4e2d\u4f7f\u7528Jupyter Notebook\u8fd0\u884cPython\u4ee3\u7801\u975e\u5e38\u65b9\u4fbf\u3002\u6253\u5f00Anaconda Navigator\uff0c\u9009\u62e9\u60a8\u7684\u73af\u5883\uff0c\u70b9\u51fb\u201cLaunch\u201d\u6309\u94ae\u542f\u52a8Jupyter Notebook\u3002\u5728\u6253\u5f00\u7684\u7f51\u9875\u4e2d\uff0c\u60a8\u53ef\u4ee5\u521b\u5efa\u65b0\u7684Notebook\u6587\u4ef6\uff0c\u9009\u62e9Python\u5185\u6838\uff0c\u7136\u540e\u5728\u4ee3\u7801\u5355\u5143\u4e2d\u7f16\u5199\u548c\u6267\u884cPython\u4ee3\u7801\u3002\u6267\u884c\u4ee3\u7801\u540e\uff0c\u60a8\u53ef\u4ee5\u770b\u5230\u8f93\u51fa\u7ed3\u679c\uff0c\u4fbf\u4e8e\u4ea4\u4e92\u5f0f\u7f16\u7a0b\u548c\u6570\u636e\u5206\u6790\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Anaconda\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u7528\u4e8e\u7b80\u5316Python\u73af\u5883\u7684\u7ba1\u7406\u3001\u5305\u7684\u5b89\u88c5\u548c\u4f7f\u7528\u3001\u4ee5\u53ca\u6570\u636e\u79d1\u5b66\u548c\u673a\u5668\u5b66\u4e60\u9879\u76ee\u7684 [&hellip;]","protected":false},"author":3,"featured_media":949552,"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\/949542"}],"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=949542"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/949542\/revisions"}],"predecessor-version":[{"id":949554,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/949542\/revisions\/949554"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/949552"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=949542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=949542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=949542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}