{"id":108778,"date":"2026-09-22T14:57:37","date_gmt":"2026-09-22T06:57:37","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/108778.html"},"modified":"2026-09-22T14:57:37","modified_gmt":"2026-09-22T06:57:37","slug":"python%e5%8c%85%e7%ae%a1%e7%90%86%e5%b7%a5%e5%85%b7-conda","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/108778.html","title":{"rendered":"Python\u5305\u7ba1\u7406\u5de5\u5177-Conda"},"content":{"rendered":"<h2 style=\"background-color:transparent\">1. Conda \u57fa\u672c\u4ecb\u7ecd<\/h2>\n<h3>1.1 \u4ec0\u4e48\u662f Conda\u3001MiniConda\u3001Anaconda<\/h3>\n<p>Conda\u662f\u4e00\u4e2a\u5305\u548c\u73af\u5883\u7ba1\u7406\u7684\u5de5\u5177\u3002\u652f\u6301 Windows\u3001macOS\u548c Linux\u3002Conda\u53ef\u4ee5\u5feb\u901f\u7684\u5b89\u88c5\u3001<\/p>\n<p>\u8fd0\u884c\u548c\u66f4\u65b0\u5305\u548c\u76f8\u5173\u7684\u4f9d\u8d56\u3002Conda\u4e5f\u53ef\u4ee5\u8f7b\u6613\u5730\u521b\u5efa\u3001\u4fdd\u5b58\u3001\u52a0\u8f7d\u548c\u8f6c\u6362\u73af\u5883\u3002<\/p>\n<\/p>\n<p>Anaconda\u662f\u4e00\u4e2a\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u7684 Python \u53d1\u884c\u7248, \u652f\u6301 Linux\u3001Mac\u3001Windows&#xff0c;\u5305\u542b\u4e86<\/p>\n<p>conda\u3001conda-build\u3001Python\u548c\u4f17\u591a\u79d1\u5b66\u8ba1\u7b97\u7684\u5305\u53ca\u5176\u4f9d\u8d56\u3002<\/p>\n<\/p>\n<p>Miniconda \u662f\u4e00\u4e2a Anaconda\u7684\u8f7b\u91cf\u7ea7\u66ff\u4ee3&#xff0c;\u9ed8\u8ba4\u53ea\u5305\u542b\u4e86 conda, Python\u548c\u4e00\u4e9b\u5b83\u4eec\u6240\u4ee5\u4f9d\u8d56\u7684<\/p>\n<p>\u5305\u3002<\/p>\n<h3><\/h3>\n<h3>1.2 Anaconda \u548c Miniconda \u533a\u522b?<\/h3>\n<p>Miniconda\u662f Anaconda \u7684\u7cbe\u7b80\u7248\u672c&#xff0c;\u540c\u6837\u4e5f\u662f\u4e00\u4e2a\u5f00\u6e90\u73af\u5883&#xff0c;\u4e24\u8005\u90fd\u662f conda\u7cfb\u7edf\u7684\u4e00\u90e8\u5206\u3002\u4e0d\u540c\u4e4b\u5904\u5728\u4e8e Anaconda\u4f1a\u9884\u5148\u5b89\u88c5\u8bb8\u591a\u5e38\u7528\u7684 Python\u5957\u4ef6&#xff0c;\u56e0\u6b64\u5360\u7528\u8f83\u591a\u7684\u786c\u76d8\u7a7a\u95f4\u3002\u76f8\u6bd4\u4e4b\u4e0b&#xff0c;Miniconda\u56e0\u4e3a\u540d\u4e3a\u201d Mini\u201d&#xff0c;\u56e0\u6b64\u4ec5\u5b89\u88c5\u8fd0\u884c\u6240\u9700\u7684\u57fa\u672c\u5957\u4ef6&#xff0c;\u5bf9\u4e8e\u6709\u591a\u4e2a\u4e0d\u540c Python\u7248\u672c\u5171\u5b58\u7684\u60c5\u51b5&#xff0c;\u53ef\u4ee5\u8282\u7701\u5927\u91cf\u7a7a\u95f4\u3002<\/p>\n<p>Miniconda\u53ef\u4ee5\u4f9d\u636e\u81ea\u5df1\u9700\u6c42\u5efa\u7acb\u81ea\u5df1\u7684 Python\u73af\u5883&#xff0c;\u60f3\u8981\u7684\u5957\u4ef6\u81ea\u884c\u5b89\u88c5\u3002<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065732-6ab226dc00c1d.png\" \/><\/p>\n<h3><\/h3>\n<h3>1.3 \u4e3a\u4ec0\u4e48\u8981\u4f7f\u7528 Conda?<\/h3>\n<p>\u4e00\u4e2a\u5178\u578b\u7684 Python\u9879\u76ee\u4f1a\u4f7f\u7528\u591a\u4e2a\u5305\u6765\u5b8c\u6210\u5176\u529f\u80fd\u3002\u5176\u4e2d\u4e00\u4e9b\u5305\u4e5f\u53ef\u80fd\u88ab\u5176\u4ed6\u9879\u76ee\u6240\u4f7f\u7528 (\u5171\u4eab)\u3002<\/p>\n<p>\u9879\u76ee\u4e4b\u95f4\u5171\u4eab\u7684\u5305\u53ef\u80fd\u4f1a\u5f15\u8d77\u51b2\u7a81\u3002<\/p>\n<p>\u6bd4\u5982&#xff0c;\u6211\u4eec\u6709\u4e24\u4e2a\u9879\u76eeP1\u548cP2&#xff0c;P1\u4f7f\u7528NumPy 1.2\u7248\u672c&#xff0c;\u800cP2\u9700\u8981NumPy 1.3\u7248\u672c&#xff0c;\u4e00\u4e2a\u73af\u5883\u4e2d\u5b58\u5728\u4e24\u4e2a\u7248\u672c\u5c31\u53ef\u80fd\u5bfc\u81f4\u51b2\u7a81\u3002\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u529e\u6cd5\u5c31\u662f\u4f7f\u7528\u865a\u62df\u73af\u5883\u3002\u6211\u4eec\u53ef\u4ee5\u4e3a\u6bcf\u4e2a\u9879\u76ee\u5206\u522b\u521b\u5efa\u4e00\u4e2a\u72ec\u7acb\u7684\u865a\u62df\u73af\u5883&#xff0c;\u6765\u9694\u79bb\u5305\u51b2\u7a81\u3002<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065732-6ab226dcabfba.png\" \/><\/p>\n<p>\u5e38\u7528\u7684 Python\u865a\u62df\u73af\u5883\u7ba1\u7406\u5de5\u5177\u6709&#xff1a;<\/p>\n<p>1. Virtualenv<\/p>\n<p>2. Conda<\/p>\n<p>3. pipenv<\/p>\n<p>4. venv<\/p>\n<p>\u901a\u8fc7\u4f7f\u7528\u8fd9\u4e9b\u5de5\u5177&#xff0c;\u6211\u4eec\u53ef\u4ee5\u5f88\u5bb9\u6613\u7684\u521b\u5efa\u865a\u62df\u73af\u5883\u3002<\/p>\n<h3><\/h3>\n<h2>2. Conda \u5b89\u88c5<\/h2>\n<h3>2.1 Miniconda \u4e0b\u8f7d\u4e0e\u5b89\u88c5<\/h3>\n<p>\u5b98\u7f51\u4e0b\u8f7d\u5730\u5740:Download Success | Anaconda<\/p>\n<p>\u4e0b\u8f7d\u540e\u4f9d\u636e\u6307\u5f15\u8fdb\u884c Miniconda \u5b89\u88c5&#xff0c;\u50bb\u74dc\u5f0f\u5b89\u88c5&#xff0c;\u5177\u4f53\u8fc7\u7a0b\u5982\u4e0b&#xff1a;<\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065732-6ab226dcdcc78.png\" \/><\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065733-6ab226dd88802.png\" \/><\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065733-6ab226dda7b6a.png\" \/><\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065733-6ab226ddcceaa.png\" \/><\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065733-6ab226ddef1b5.png\" \/><\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065734-6ab226de1cd5d.png\" \/><\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065734-6ab226de3bca4.png\" \/><\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065734-6ab226de59ab1.png\" \/><\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065734-6ab226de777e1.png\" \/><\/p>\n<h3><\/h3>\n<h3>2.2 Anaconda\u7684\u4f7f\u7528\u65b9\u5f0f<\/h3>\n<p><span style=\"color:#fe2c24\">&#xff08;\u63a8\u8350\u4f7f\u7528\u65b9\u5f0f2&#xff09;<\/span><\/p>\n<h4>2.2.1\u4f7f\u7528\u65b9\u5f0f1&#xff1a; Anaconda Powershell Prompt\u7ec8\u7aef<\/h4>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u6253\u5f00\u7ec8\u7aef Anaconda Powershell Prompt, \u5982\u679c\u6709\u770b\u5230\u547d\u4ee4\u5217\u63d0\u793a\u4e2d\u7684 (base)&#xff0c;\u90a3\u8868\u793a\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065734-6ab226de95be5.png\" \/><\/p>\n<p>\u6211\u4eec\u53ef\u4ee5\u8f93\u5165 python &#8211;version \u786e\u8ba4 Python\u7248\u672c\u3002<\/p>\n<p>\u6211\u4eec\u53ef\u4ee5\u8f93\u5165 conda &#8211;version \u786e\u8ba4conda\u7248\u672c\u3002<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065734-6ab226ded0f30.png\" \/><\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065735-6ab226df0cdce.png\" \/><\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065735-6ab226df32f8a.png\" \/><\/p>\n<\/p>\n<h4>2.2.2\u4f7f\u7528\u65b9\u5f0f2&#xff1a;\u73af\u5883\u53d8\u91cf\u2192cmd\u7ec8\u7aef\u4f7f\u7528<\/h4>\n<p>1\u3001\u9009\u4e2d\u201c\u6b64\u7535\u8111\u201d&#xff0c;\u53f3\u952e-\u9009\u62e9\u201c\u5c5e\u6027\u201d<\/p>\n<p>\u9009\u62e9\u201c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u201d<\/p>\n<p>\u9009\u62e9\u201c\u73af\u5883\u53d8\u91cf\u201d<\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065735-6ab226df59d22.png\" \/><\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065735-6ab226df78df5.png\" \/><\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065735-6ab226dfbd553.png\" \/><\/p>\n<p>\u5c06\u5982\u4e0b3\u4e2a\u53d8\u91cf\u6dfb\u52a0\u5230path\u73af\u5883\u53d8\u91cf\u4e0b&#xff1a;<\/p>\n<p>D:\\\\developTools\\\\miniconda3<\/p>\n<p>D:\\\\developTools\\\\miniconda3\\\\Scripts<\/p>\n<p>D:\\\\developTools\\\\miniconda3\\\\Library\\\\bin <\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065735-6ab226dfe554e.png\" \/><\/p>\n<\/p>\n<p>\u6309\u4e0b\u201cWin&#043;R\u201d&#xff0c;\u8f93\u5165\u201ccmd\u201d&#xff0c;\u70b9\u51fb\u786e\u5b9a&#xff0c;\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26<\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065736-6ab226e030b71.png\" \/><\/p>\n<p>\u8f93\u5165conda &#8211;version \u67e5\u770bconda\u7248\u672c&#xff0c;\u8868\u793aminiconda\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"2026-09-22te3fkkx4oge.png\" \/><\/p>\n<\/p>\n<h3><\/h3>\n<h2>3. Conda \u5e38\u7528\u547d\u4ee4<\/h2>\n<h3>3.1 \u57fa\u672c\u547d\u4ee4<\/h3>\n<p>conda -help # \u67e5\u770b\u5e2e\u52a9<\/p>\n<p>conda info # \u67e5\u770b conda \u4fe1\u606f<\/p>\n<p>conda &#8211;version # \u67e5\u770b conda \u7248\u672c<\/p>\n<p>conda update conda # \u66f4\u65b0 Conda (\u614e\u7528)<\/p>\n<p>conda clean -all # \u6e05\u7406\u4e0d\u518d\u9700\u8981\u7684\u5305<\/p>\n<p>conda &lt;\u6307\u4ee4&gt; &#8211;help # \u67e5\u770b\u67d0\u4e00\u4e2a\u6307\u4ee4\u7684\u8be6\u7ec6\u5e2e\u52a9<\/p>\n<p>conda config &#8211;show # \u67e5\u770b conda \u7684\u73af\u5883\u914d\u7f6e<\/p>\n<p>conda clean -p # \u6e05\u7406\u6ca1\u6709\u7528, \u6ca1\u6709\u5b89\u88c5\u7684\u5305<\/p>\n<p>conda clean -t # \u6e05\u7406 tarball<\/p>\n<p>conda clean &#8211;all # \u6e05\u7406\u6240\u6709\u5305\u548c conda \u7684\u7f13\u5b58\u6587\u4ef6 <\/p>\n<h3>3.2 \u73af\u5883\u7ba1\u7406<\/h3>\n<h4>3.2.1 \u521b\u5efa Conda \u73af\u5883<\/h4>\n<p><span style=\"color:#333333\">\u4f7f\u7528<\/span><span style=\"color:#333333\"> conda<\/span><span style=\"color:#333333\">\u53ef\u4ee5\u5728\u7535\u8111\u4e0a\u521b\u5efa\u5f88\u591a\u5957\u76f8\u4e92\u9694\u79bb\u7684<\/span><span style=\"color:#333333\"> Python<\/span><span style=\"color:#333333\">\u73af\u5883&#xff0c;\u547d\u4ee4\u5982\u4e0b&#xff1a;<\/span><\/p>\n<p># \u8bed\u6cd5<br \/>\nconda create &#8211;name &lt; env_name&gt; python&#061;&lt;version&gt; [package_name1]<br \/>\n[package_name2] [\u2026\u2026]<br \/>\n# \u6837\u4f8b \u521b\u5efa\u4e00\u4e2a\u540d\u4e3a myenv \u7684\u73af\u5883, python \u7248\u672c\u4e3a3.10<br \/>\nconda create &#8211;name myenv python&#061;3.10 # &#8211;name \u53ef\u4ee5\u7b80\u5199\u4e3a -n <\/p>\n<h4>3.2.2 \u5207\u6362 Conda\u73af\u5883<\/h4>\n<p>\u524d\u9762\u8bf4\u5230 Conda\u53ef\u4ee5\u521b\u5efa\u591a\u5957\u76f8\u4e92\u9694\u79bb\u7684 Python\u73af\u5883&#xff0c;\u4f7f\u7528 conda activate env_name \u53ef\u4ee5\u5207\u6362\u4e0d\u540c\u7684\u73af\u5883\u3002<\/p>\n<p>#\u8bed\u6cd5<br \/>\nconda activate env_name<br \/>\n#\u6837\u4f8b \u5207\u6362\u5230 learn \u73af\u5883<br \/>\nconda activate learn <\/p>\n<p>\u5982\u679c\u8981\u9000\u51fa\u6b64\u73af\u5883&#xff0c;\u56de\u5230\u57fa\u7840\u73af\u5883&#xff0c;\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4<\/p>\n<p>#\u9000\u51fa\u5f53\u524d\u73af\u5883<br \/>\nconda deactivate <\/p>\n<h4>3.2.3 \u67e5\u770b Conda \u73af\u5883<\/h4>\n<p>\u5f53\u7535\u8111\u4e0a\u5b89\u88c5\u4e86\u5f88\u591a\u53f0 Conda\u73af\u5883\u7684\u65f6\u5019&#xff0c;\u53ef\u4ee5\u4f7f\u7528 conda env list \u547d\u4ee4\u67e5\u770b\u6240\u6709\u5df2\u521b\u5efa\u7684 Conda\u73af\u5883\u3002<\/p>\n<p># \u67e5\u770b\u5f53\u524d\u7535\u8111\u4e0a\u6240\u6709\u7684 conda\u73af\u5883<br \/>\nconda env list <\/p>\n<h4>3.2.4 \u5220\u9664\u67d0\u4e2a Conda \u73af\u5883<\/h4>\n<p># \u8bed\u6cd5<br \/>\nconda remove &#8211;name &lt;env_name&gt; &#8211;all<br \/>\n# \u6837\u4f8b<br \/>\nconda remove &#8211;name learn &#8211; &#8211; all <\/p>\n<h4>3.2.5 \u514b\u9686\u73af\u5883<\/h4>\n<p># \u8bed\u6cd5<br \/>\nconda create &#8211;name &lt;new_evn_name&gt; &#8211;clone &lt;old_env_name&gt;#\u6837\u4f8b<br \/>\nconda create &#8211;name myclone &#8211;clone myenv <\/p>\n<h3><\/h3>\n<h3>3.3 \u5305\u7ba1\u7406<\/h3>\n<p>\u4e00\u65e6\u6fc0\u6d3b\u4e86\u73af\u5883&#xff0c;\u4f60\u5c31\u53ef\u4ee5\u4f7f\u7528 conda \u548c pip \u5728\u5f53\u524d\u73af\u5883\u4e0b\u5b89\u88c5\u4f60\u6240\u9700\u8981\u7684\u5305\u3002\u5728conda\u73af\u5883\u4e2d, \u4e0d\u5efa\u8bae\u4f7f\u7528 pip \u3002<\/p>\n<h4>3.3.1 \u5b89\u88c5\u5305<\/h4>\n<p>\u5728\u6fc0\u6d3b\u7684\u73af\u5883\u4e2d\u5b89\u88c5\u5305&#xff0c;\u4f8b\u5982\u5b89\u88c5NumPy&#xff1a;<\/p>\n<p>conda install numpy <\/p>\n<p>\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u7279\u5b9a\u7248\u672c\u7684\u5305&#xff1a;<\/p>\n<p>conda install numpy&#061;1.18 <\/p>\n<h4>3.3.2 \u66f4\u65b0\u5305<\/h4>\n<p>\u66f4\u65b0\u67d0\u4e2a\u5305\u5230\u6700\u65b0\u7248\u672c&#xff1a;<\/p>\n<p>conda update numpy<br \/>\n#\u66f4\u65b0\u6240\u6709\u5305\u5230\u6700\u65b0\u7248\u672c (\u614e\u7528)<br \/>\nconda update &#8211;all <\/p>\n<p>\u6267\u884c\u547d\u4ee4\u540e&#xff0c;conda\u5c06\u4f1a\u5bf9\u7248\u672c\u8fdb\u884c\u6bd4\u8f83\u5e76\u5217\u51fa\u53ef\u4ee5\u5347\u7ea7\u7684\u7248\u672c\u3002\u540c\u65f6&#xff0c;\u4e5f\u4f1a\u544a\u77e5\u7528\u6237\u5176\u4ed6\u76f8\u5173\u5305\u4e5f\u4f1a\u5347\u7ea7\u5230\u76f8\u5e94\u7248\u672c\u3002\u5f53\u8f83\u65b0\u7684\u7248\u672c\u53ef\u4ee5\u7528\u4e8e\u5347\u7ea7\u65f6&#xff0c;\u7ec8\u7aef\u4f1a\u663e\u793aProceed([y]\/n)? , \u6b64\u65f6\u8f93\u5165y \u5373\u53ef\u8fdb\u884c\u5347\u7ea7\u3002<\/p>\n<h4>3.3.3 \u5378\u8f7d\u5305<\/h4>\n<p>\u5982\u679c\u4e0d\u518d\u9700\u8981\u67d0\u4e2a\u5305&#xff0c;\u53ef\u4ee5\u5c06\u5176\u5378\u8f7d&#xff1a;<\/p>\n<p>conda remove numpy <\/p>\n<h4>3.3.4 \u5217\u51fa\u73af\u5883\u4e2d\u7684\u6240\u6709\u5305<\/h4>\n<p>\u67e5\u770b\u5f53\u524d\u73af\u5883\u4e2d\u5df2\u5b89\u88c5\u7684\u6240\u6709\u5305&#xff1a;<\/p>\n<p>conda list <\/p>\n<p>\u67e5\u770b\u5f53\u524d\u865a\u62df\u73af\u5883\u4e2d\u5df2\u5b89\u88c5\u7684\u67d0\u4e2a\u5305\u7684\u4fe1\u606f<\/p>\n<p>conda list pip <\/p>\n<h4>3.3.5 \u641c\u7d22\u5305<\/h4>\n<p>\u641c\u7d22\u53ef\u7528\u7684\u5305\u53ca\u5176\u7248\u672c\u4fe1\u606f&#xff1a;<\/p>\n<p>conda search package-name <\/p>\n<h3><\/h3>\n<h3>3.4 \u4f7f\u7528\u901a\u9053(\u5ffd\u7565)<\/h3>\n<p>Conda\u901a\u9053 (Channel)\u662f Conda\u7528\u6765\u67e5\u627e\u548c\u4e0b\u8f7d\u8f6f\u4ef6\u5305\u7684\u6e90\u3002\u901a\u9053\u5c31\u50cf\u662f\u8f6f\u4ef6\u4ed3\u5e93&#xff0c;\u7528\u6237\u53ef\u4ee5\u4ece\u8fd9\u4e9b\u901a\u9053\u4e2d\u83b7\u53d6\u9700\u8981\u7684\u8f6f\u4ef6\u5305\u3002\u7406\u89e3\u548c\u6709\u6548\u7ba1\u7406 Conda\u901a\u9053&#xff0c;\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u66f4\u597d\u5730\u63a7\u5236\u8f6f\u4ef6\u5305\u7684\u6765\u6e90\u3001\u7248\u672c\u4ee5\u53ca\u7a33\u5b9a\u6027\u3002<\/p>\n<p>\u4e3b\u8981\u901a\u9053<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u9ed8\u8ba4\u901a\u9053&#xff1a;\u8fd9\u662f Conda\u81ea\u5e26\u7684\u5b98\u65b9\u901a\u9053&#xff0c;\u7531 Anaconda\u7ef4\u62a4&#xff0c;\u5305\u542b\u4e86\u5e38\u7528\u7684\u6570\u636e\u79d1\u5b66\u548c\u673a\u5668\u5b66\u4e60\u5305\u3002\u9ed8\u8ba4\u901a\u9053\u63d0\u4f9b\u7684\u5305\u7ecf\u8fc7\u6d4b\u8bd5\u548c\u4f18\u5316&#xff0c;\u901a\u5e38\u662f\u7a33\u5b9a\u4e14\u503c\u5f97\u4fe1\u8d56\u7684\u3002<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Conda-Forge : Conda-Forge\u662f\u4e00\u4e2a\u793e\u533a\u9a71\u52a8\u7684\u901a\u9053&#xff0c;\u62e5\u6709\u6570\u91cf\u5e9e\u5927\u7684\u8f6f\u4ef6\u5305\u548c\u6d3b\u8dc3\u7684\u7ef4\u62a4\u8005\u793e\u533a\u3002\u901a\u5e38\u60c5\u51b5\u4e0b&#xff0c;Conda-Forge\u63d0\u4f9b\u66f4\u591a\u7684\u6700\u65b0\u8f6f\u4ef6\u5305\u7248\u672c&#xff0c;\u5bf9\u4e8e\u4e00\u4e9b\u5728\u9ed8\u8ba4\u901a\u9053\u4e2d\u6ca1\u6709\u7684\u5305\u6765\u8bf4\u5c24\u4e3a\u91cd\u8981\u3002\u7531\u4e8e\u662f\u793e\u533a\u7ef4\u62a4&#xff0c;\u66f4\u65b0\u901f\u5ea6\u5feb&#xff0c;\u9002\u5408\u9700\u8981\u6700\u65b0\u7279\u6027\u548c\u652f\u6301\u7684\u7528\u6237\u3002<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Bioconda &#xff1a;\u4e13\u4e3a\u751f\u7269\u4fe1\u606f\u5b66\u548c\u751f\u7269\u6570\u636e\u5206\u6790\u8bbe\u8ba1\u7684\u901a\u9053\u3002\u5305\u542b\u5f88\u591a\u7528\u4e8e\u751f\u7269\u6570\u636e\u5904\u7406\u548c\u5206\u6790\u7684\u5de5\u5177\u3002<\/p>\n<p>\u67e5\u770b\u5df2\u914d\u7f6e\u7684\u901a\u9053<\/p>\n<p>\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u5f53\u524d\u914d\u7f6e\u7684\u901a\u9053\u5217\u8868&#xff1a;<\/p>\n<p>conda config &#8211;show channels <\/p>\n<p>\u6dfb\u52a0\u65b0\u7684\u901a\u9053<\/p>\n<p>\u5982\u679c\u9700\u8981\u4ece\u5176\u4ed6\u901a\u9053\u5b89\u88c5\u5305&#xff0c;\u53ef\u4ee5\u5c06\u5176\u6dfb\u52a0\u5230 Conda\u914d\u7f6e\u4e2d\u3002\u4f8b\u5982&#xff0c;\u6dfb\u52a0 Conda-Forge:<\/p>\n<p>conda config &#8211;add channels conda-forge <\/p>\n<p>\u8bbe\u7f6e\u901a\u9053\u987a\u5e8f<\/p>\n<p>\u901a\u9053\u662f\u6309\u987a\u5e8f\u641c\u7d22\u7684&#xff0c;\u4f18\u5148\u4f7f\u7528\u5728\u524d\u9762\u7684\u901a\u9053\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u8c03\u6574\u987a\u5e8f&#xff1a;<\/p>\n<p>conda config &#8211;set channel_priority strict <\/p>\n<p>\u4f7f\u7528 strict\u4f18\u5148\u7ea7\u65f6&#xff0c;Conda\u4f1a\u4e25\u683c\u6309\u7167\u901a\u9053\u987a\u5e8f\u6765\u9009\u62e9\u5305\u3002<\/p>\n<p>\u5220\u9664\u901a\u9053<\/p>\n<p>\u5982\u679c\u4e0d\u9700\u8981\u67d0\u4e2a\u901a\u9053&#xff0c;\u53ef\u4ee5\u5c06\u5176\u79fb\u9664&#xff1a;<\/p>\n<p>conda config &#8211;remove channels channel-name <\/p>\n<p>\u4e34\u65f6\u4f7f\u7528\u7279\u5b9a\u901a\u9053<\/p>\n<p>\u4f60\u53ef\u4ee5\u5728\u5b89\u88c5\u5305\u65f6\u4e34\u65f6\u6307\u5b9a\u901a\u9053&#xff0c;\u800c\u4e0d\u6539\u53d8\u5168\u5c40\u914d\u7f6e\u3002\u4f8b\u5982&#xff1a;<\/p>\n<p>conda install package-name -c conda-forge <\/p>\n<p>\u8fd9\u6837\u505a\u4f1a\u4ece Conda-Forge\u901a\u9053\u5b89\u88c5\u6307\u5b9a\u7684\u5305\u3002<\/p>\n<p>\u901a\u9053\u4f18\u5148\u7ea7<\/p>\n<p>Conda\u5141\u8bb8\u8bbe\u7f6e\u901a\u9053\u4f18\u5148\u7ea7&#xff0c;\u4ee5\u51b3\u5b9a\u4ece\u54ea\u4e2a\u901a\u9053\u4e0b\u8f7d\u8f6f\u4ef6\u5305\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b&#xff0c;Conda\u4f1a\u6839\u636e\u901a\u9053\u5217\u8868\u7684\u987a\u5e8f\u4f9d\u6b21\u67e5\u627e\u5305\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u542f\u7528\u6216\u7981\u7528\u901a\u9053\u4f18\u5148\u7ea7&#xff1a;<\/p>\n<p>conda config &#8211;set channel_priority true # \u542f\u7528\u4f18\u5148\u7ea7<br \/>\nconda config &#8211;set channel_priority false # \u7981\u7528\u4f18\u5148\u7ea7 <\/p>\n<p>\u542f\u7528\u4f18\u5148\u7ea7\u540e&#xff0c;Conda\u4f1a\u4e25\u683c\u6839\u636e\u901a\u9053\u987a\u5e8f\u6765\u9009\u62e9\u5305&#xff0c;\u786e\u4fdd\u4ece\u9996\u9009\u901a\u9053\u5b89\u88c5\u3002<\/p>\n<p>\u521b\u5efa\u81ea\u5b9a\u4e49\u901a\u9053<\/p>\n<p>\u5982\u679c\u4f60\u9700\u8981\u5728\u56e2\u961f\u4e2d\u5171\u4eab\u5305&#xff0c;\u6216\u8005\u9700\u8981\u6258\u7ba1\u79c1\u6709\u5305&#xff0c;\u53ef\u4ee5\u521b\u5efa\u81ea\u5df1\u7684 Conda\u901a\u9053\u3002\u81ea\u5b9a\u4e49\u901a\u9053\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684HTTP\u670d\u52a1\u5668 (\u5982NGINX\u6216 Apache)\u6258\u7ba1&#xff0c;\u6216\u8005\u4f7f\u7528Anaconda\u7684\u4f01\u4e1a\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<h3><\/h3>\n<h3>3.5 \u8bbe\u7f6e\u955c\u50cf<\/h3>\n<p>\u4e3a\u4e86\u63d0\u9ad8 Conda\u5305\u7684\u4e0b\u8f7d\u901f\u5ea6&#xff0c;\u7279\u522b\u662f\u5728\u7f51\u7edc\u8fde\u63a5\u5230\u9ed8\u8ba4\u7684 Conda\u670d\u52a1\u5668\u901f\u5ea6\u8f83\u6162\u7684\u60c5\u51b5\u4e0b&#xff0c;\u8bbe\u7f6e\u56fd\u5185\u955c\u50cf (\u6216\u5176\u4ed6\u66f4\u63a5\u8fd1\u4f60\u7684\u5730\u7406\u4f4d\u7f6e\u7684\u955c\u50cf)\u662f\u4e00\u4e2a\u5e38\u89c1\u4e14\u6709\u6548\u7684\u65b9\u6cd5\u3002<\/p>\n<p>\u4ee5\u4e0b\u662f\u5982\u4f55\u8bbe\u7f6e Conda\u955c\u50cf\u7684\u6b65\u9aa4&#xff1a;<\/p>\n<p>\u65b9\u6cd5\u4e00&#xff1a;\u901a\u8fc7\u547d\u4ee4\u884c\u914d\u7f6e<\/p>\n<p>\u4f60\u53ef\u4ee5\u4f7f\u7528 conda config\u547d\u4ee4\u6765\u6dfb\u52a0\u955c\u50cf\u3002\u4f8b\u5982,\u4f7f\u7528\u6e05\u534e\u5927\u5b66\u7684 Anaconda\u955c\u50cf\u3002<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u6216\u7ec8\u7aef\u3002<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u6dfb\u52a0\u955c\u50cfURL:<\/p>\n<p>conda config &#8211;add channels<br \/>\nhttps:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/pkgs\/main<br \/>\nconda config &#8211;add channels<br \/>\nhttps:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/pkgs\/free<br \/>\nconda config &#8211;add channels<br \/>\nhttps:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/pkgs\/r<br \/>\nconda config &#8211;add channels<br \/>\nhttps:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/pkgs\/pro<br \/>\nconda config &#8211;add channels<br \/>\nhttps:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/cloud\/conda-forge<br \/>\nconda config &#8211;add channels<br \/>\nhttps:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/cloud\/msys2<br \/>\nconda config &#8211;add channels<br \/>\nhttps:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/cloud\/bioconda<br \/>\nconda config &#8211;add channels<br \/>\nhttps:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/cloud\/menpo<br \/>\nconda config &#8211;set show_channel_urls yes <\/p>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b&#xff0c;conda config\u6dfb\u52a0\u7684\u901a\u9053\u4f1a\u6392\u5728\u5217\u8868\u7684\u5934\u90e8&#xff0c;\u4f46\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u6765\u786e\u8ba4\u987a\u5e8f&#xff1a;<\/p>\n<p>conda config &#8211;show channels <\/p>\n<p>\u65b9\u6cd5\u4e8c&#xff1a;\u901a\u8fc7\u4fee\u6539\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>\u4f60\u4e5f\u53ef\u4ee5\u76f4\u63a5\u4fee\u6539 Conda\u7684\u914d\u7f6e\u6587\u4ef6\u6765\u8bbe\u7f6e\u955c\u50cf&#xff1a;<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u627e\u5230\u5e76\u7f16\u8f91 Conda\u7684\u914d\u7f6e\u6587\u4ef6: ~\/. condarc (Linux\u548cmacOS) \u6216 C:\\\\Users&lt;\u7528\u6237\u540d&gt;. condarc<\/p>\n<p>(Windows) \u3002TUNA \u63d0\u4f9b\u4e86 Anaconda \u4ed3\u5e93\u4e0e\u7b2c\u4e09\u65b9\u6e90(conda-forge\u3001msys2\u3001pytorch\u7b49, \u5404\u7cfb\u7edf<\/p>\n<p>\u90fd\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539\u7528\u6237\u76ee\u5f55\u4e0b\u7684. condarc\u6587\u4ef6\u6765\u4f7f\u7528TUNA \u955c\u50cf\u6e90\u3002Windows\u7528\u6237\u65e0\u6cd5\u76f4\u63a5\u521b\u5efa\u540d<\/p>\n<p>\u4e3a. condarc\u7684\u6587\u4ef6, \u53ef\u5148\u6267\u884c conda config -set show_channel_urls yes \u751f\u6210\u8be5\u6587\u4ef6\u4e4b\u540e\u518d\u4fee\u6539\u3002<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u6dfb\u52a0\u6216\u4fee\u6539\u5982\u4e0b\u5185\u5bb9&#xff1a;<\/p>\n<p>channels:<br \/>\n  &#8211; defaults<br \/>\nshow_channel_urls: true<\/p>\n<p>default_channels:<br \/>\n  &#8211; https:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/pkgs\/main<br \/>\n  &#8211; https:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/pkgs\/r<br \/>\n  &#8211; https:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/pkgs\/msys2<\/p>\n<p>custom_channels:<br \/>\n  conda-forge: https:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/cloud<br \/>\n  msys2: https:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/cloud<br \/>\n  bioconda: https:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/cloud<br \/>\n  menpo: https:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/cloud<br \/>\n  pytorch: https:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/cloud<br \/>\n  pytorch-lts: https:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/cloud<br \/>\n  simpleitk: https:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/cloud<br \/>\n  deepmodeling: https:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/cloud\/ <\/p>\n<p>\u8fd0\u884c conda clean -i \u6e05\u9664\u7d22\u5f15\u7f13\u5b58&#xff0c;\u4fdd\u8bc1\u7528\u7684\u662f\u955c\u50cf\u7ad9\u63d0\u4f9b\u7684\u7d22\u5f15\u3002<\/p>\n<p>\u9a8c\u8bc1\u548c\u6d4b\u8bd5<\/p>\n<p>\u5728\u8bbe\u7f6e\u5b8c\u955c\u50cf\u540e&#xff0c;\u4f60\u53ef\u4ee5\u901a\u8fc7\u5b89\u88c5\u8f6f\u4ef6\u5305\u6765\u6d4b\u8bd5\u955c\u50cf\u662f\u5426\u5de5\u4f5c\u6b63\u5e38\u3002\u4f8b\u5982&#xff1a;<\/p>\n<p>conda install numpy <\/p>\n<p>\u67e5\u770b\u8f93\u51fa\u7684\u4fe1\u606f&#xff0c;\u786e\u4fdd\u5305\u662f\u4ece\u4f60\u8bbe\u7f6e\u7684\u955c\u50cfURL\u4e0b\u8f7d\u7684\u3002<\/p>\n<h3><\/h3>\n<h3>3.6 \u73af\u5883\u5bfc\u5165\u4e0e\u5bfc\u51fa(\u5ffd\u7565)<\/h3>\n<p>\u5bfc\u51fa\u73af\u5883<\/p>\n<p>\u5c06\u5f53\u524d\u73af\u5883\u5bfc\u51fa\u4e3a\u4e00\u4e2aYAML\u6587\u4ef6&#xff0c;\u65b9\u4fbf\u5171\u4eab&#xff1a;<\/p>\n<p>conda env export &gt; environment.yml <\/p>\n<p>\u4ece\u6587\u4ef6\u521b\u5efa\u73af\u5883<\/p>\n<p>\u4f7f\u7528YAML\u6587\u4ef6\u521b\u5efa\u4e00\u4e2a\u65b0\u73af\u5883&#xff1a;<\/p>\n<p>conda env create &#8211; f environment.yml <\/p>\n<h2 style=\"background-color:transparent\">4. PyCharm \u4e2d\u4f7f\u7528 Conda \u73af\u5883<\/h2>\n<p>1) \u521b\u5efa\u9879\u76ee\u6240\u9700\u8981\u7684\u865a\u62df\u73af\u5883<\/p>\n<p>conda create -n llamaindex-rag python&#061;3.10 <\/p>\n<p>2) \u521b\u5efa\u9879\u76ee&#xff0c;\u9009\u62e9 \u81ea\u5b9a\u4e49\u73af\u5883&#xff0c;\u7c7b\u578b\u9009\u62e9 Conda, \u73af\u5883\u9009\u62e9 llamaindex-rag&#xff0c;\u70b9\u51fb \u521b\u5efa \u5373\u53ef<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"2026-09-22ler5nwlybhv.png\" \/><\/p>\n<p>3) \u67e5\u770b\u9879\u76ee\u73af\u5883\u914d\u7f6e<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"2026-09-22n4ohykofrrz.png\" \/><\/p>\n<p>\u6ce8\u610f: \u9879\u76ee\u4e2d\u9700\u8981\u53e6\u5916\u7684\u4f9d\u8d56\u5e93, \u76f4\u63a5\u5230 Conda Powershell Prompt\u7ec8\u7aef\u4e0b, \u6fc0\u6d3b llamaindex-rag\u73af\u5883,\u4f7f\u7528 pip \u5b89\u88c5\u4f9d\u8d56\u5e93\u5373\u53ef!<\/p>\n<\/p>\n<h3><\/h3>\n<\/p>\n<\/p>\n<\/p>\n<\/p>\n<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Conda \u57fa\u672c\u4ecb\u7ecd<br \/>\n1.1 \u4ec0\u4e48\u662f Conda\u3001MiniConda\u3001Anaconda<br \/>\nConda\u662f\u4e00\u4e2a\u5305\u548c\u73af\u5883\u7ba1\u7406\u7684\u5de5\u5177\u3002\u652f\u6301 Windows\u3001macOS\u548c Linux\u3002Conda\u53ef\u4ee5\u5feb\u901f\u7684\u5b89\u88c5\u3001<br \/>\n\u8fd0\u884c\u548c\u66f4\u65b0\u5305\u548c\u76f8\u5173\u7684\u4f9d\u8d56\u3002Conda\u4e5f\u53ef\u4ee5\u8f7b\u6613\u5730\u521b\u5efa\u3001\u4fdd\u5b58\u3001\u52a0\u8f7d\u548c\u8f6c\u6362\u73af\u5883\u3002 Anaconda\u662f\u4e00\u4e2a\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u7684 Python \u53d1\u884c\u7248, \u652f\u6301 Linux\u3001Mac\u3001Windows&#xff0c;\u5305\u542b\u4e86<br \/>\nconda\u3001conda-build\u3001Python\u548c\u4f17\u591a\u79d1\u5b66\u8ba1\u7b97<\/p>\n","protected":false},"author":2,"featured_media":108758,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6322,950,88,81],"topic":[],"class_list":["post-108778","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-miniconda","tag-anaconda","tag-conda","tag-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python\u5305\u7ba1\u7406\u5de5\u5177-Conda - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/108778.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python\u5305\u7ba1\u7406\u5de5\u5177-Conda - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"1. Conda \u57fa\u672c\u4ecb\u7ecd 1.1 \u4ec0\u4e48\u662f Conda\u3001MiniConda\u3001Anaconda Conda\u662f\u4e00\u4e2a\u5305\u548c\u73af\u5883\u7ba1\u7406\u7684\u5de5\u5177\u3002\u652f\u6301 Windows\u3001macOS\u548c Linux\u3002Conda\u53ef\u4ee5\u5feb\u901f\u7684\u5b89\u88c5\u3001 \u8fd0\u884c\u548c\u66f4\u65b0\u5305\u548c\u76f8\u5173\u7684\u4f9d\u8d56\u3002Conda\u4e5f\u53ef\u4ee5\u8f7b\u6613\u5730\u521b\u5efa\u3001\u4fdd\u5b58\u3001\u52a0\u8f7d\u548c\u8f6c\u6362\u73af\u5883\u3002 Anaconda\u662f\u4e00\u4e2a\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u7684 Python \u53d1\u884c\u7248, \u652f\u6301 Linux\u3001Mac\u3001Windows&#xff0c;\u5305\u542b\u4e86 conda\u3001conda-build\u3001Python\u548c\u4f17\u591a\u79d1\u5b66\u8ba1\u7b97\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/108778.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-22T06:57:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065732-6ab226dc00c1d.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/108778.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/108778.html\",\"name\":\"Python\u5305\u7ba1\u7406\u5de5\u5177-Conda - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-22T06:57:37+00:00\",\"dateModified\":\"2026-09-22T06:57:37+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/108778.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/108778.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/108778.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\u5305\u7ba1\u7406\u5de5\u5177-Conda\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python\u5305\u7ba1\u7406\u5de5\u5177-Conda - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/108778.html","og_locale":"zh_CN","og_type":"article","og_title":"Python\u5305\u7ba1\u7406\u5de5\u5177-Conda - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"1. Conda \u57fa\u672c\u4ecb\u7ecd 1.1 \u4ec0\u4e48\u662f Conda\u3001MiniConda\u3001Anaconda Conda\u662f\u4e00\u4e2a\u5305\u548c\u73af\u5883\u7ba1\u7406\u7684\u5de5\u5177\u3002\u652f\u6301 Windows\u3001macOS\u548c Linux\u3002Conda\u53ef\u4ee5\u5feb\u901f\u7684\u5b89\u88c5\u3001 \u8fd0\u884c\u548c\u66f4\u65b0\u5305\u548c\u76f8\u5173\u7684\u4f9d\u8d56\u3002Conda\u4e5f\u53ef\u4ee5\u8f7b\u6613\u5730\u521b\u5efa\u3001\u4fdd\u5b58\u3001\u52a0\u8f7d\u548c\u8f6c\u6362\u73af\u5883\u3002 Anaconda\u662f\u4e00\u4e2a\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u7684 Python \u53d1\u884c\u7248, \u652f\u6301 Linux\u3001Mac\u3001Windows&#xff0c;\u5305\u542b\u4e86 conda\u3001conda-build\u3001Python\u548c\u4f17\u591a\u79d1\u5b66\u8ba1\u7b97","og_url":"https:\/\/www.wsisp.com\/helps\/108778.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-22T06:57:37+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260922065732-6ab226dc00c1d.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/108778.html","url":"https:\/\/www.wsisp.com\/helps\/108778.html","name":"Python\u5305\u7ba1\u7406\u5de5\u5177-Conda - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-22T06:57:37+00:00","dateModified":"2026-09-22T06:57:37+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/108778.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/108778.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/108778.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Python\u5305\u7ba1\u7406\u5de5\u5177-Conda"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/108778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=108778"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/108778\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/108758"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=108778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=108778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=108778"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=108778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}