{"id":1591,"date":"2023-05-09T15:51:36","date_gmt":"2023-05-09T07:51:36","guid":{"rendered":"https:\/\/www.yimenapp.cn\/yun\/?p=1591"},"modified":"2023-05-09T15:51:36","modified_gmt":"2023-05-09T07:51:36","slug":"conda%e6%89%93%e5%8c%85exe%e5%8e%9f%e7%90%86%e7%9a%84%e8%af%a6%e7%bb%86%e6%ad%a5%e9%aa%a4%e8%af%b4%e6%98%8e","status":"publish","type":"post","link":"https:\/\/www.yimenapp.cn\/yun\/2023\/1591\/","title":{"rendered":"conda\u6253\u5305exe\u539f\u7406\u7684\u8be6\u7ec6\u6b65\u9aa4\u8bf4\u660e"},"content":{"rendered":"<p>Conda\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u8f6f\u4ef6\u5305\u7ba1\u7406\u7cfb\u7edf\u548c\u73af\u5883\u7ba1\u7406\u7cfb\u7edf\uff0c\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7ba1\u7406\u4e0d\u540c\u7248\u672c\u7684\u8f6f\u4ef6\u5305\u548c\u73af\u5883\u3002Conda\u8fd8\u63d0\u4f9b\u4e86\u4e00\u79cd\u6253\u5305Python\u7a0b\u5e8f\u7684\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06Python\u7a0b\u5e8f\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\uff08exe\uff09\u5e76\u5728Windows\u7cfb\u7edf\u4e0a\u8fd0\u884c\u3002\u672c\u6587\u5c06\u4ecb\u7ecdConda\u6253\u5305exe\u7684\u539f\u7406\u548c\u8be6\u7ec6\u6b65\u9aa4\u3002<\/p>\n<p>## \u6253\u5305exe\u7684\u539f\u7406<\/p>\n<p>Conda\u6253\u5305exe\u7684\u539f\u7406\u662f\u5c06Python\u7a0b\u5e8f\u6253\u5305\u6210\u4e00\u4e2a\u72ec\u7acb\u7684Windows\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u8be5\u6587\u4ef6\u5305\u542b\u4e86Python\u89e3\u91ca\u5668\u548c\u7a0b\u5e8f\u6240\u9700\u7684\u6240\u6709\u4f9d\u8d56\u5e93\u3002\u8fd9\u6837\uff0c\u7528\u6237\u53ef\u4ee5\u5728\u6ca1\u6709Python\u73af\u5883\u7684\u60c5\u51b5\u4e0b\u76f4\u63a5\u8fd0\u884c\u7a0b\u5e8f\u3002<\/p>\n<p>\u6253\u5305exe\u7684\u8fc7\u7a0b\u4e2d\uff0c<a href=\"https:\/\/exe.yimenapp.com\/tool-1063.html\">html\u9875\u9762\u5c01\u88c5exe<\/a>Conda\u4f1a\u5c06\u7a0b\u5e8f\u6240\u4f9d\u8d56\u7684Python\u5305\u548c\u5e93\u6253\u5305\u5230\u4e00\u4e2a\u5355\u72ec\u7684\u6587\u4ef6\u5939\u4e2d\uff0c\u5e76\u751f\u6210\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u3002\u8fd9\u4e2a\u6587\u4ef6\u5939\u5305\u542b\u4e86Python\u89e3\u91ca\u5668\u548c\u7a0b\u5e8f\u6240\u9700\u7684\u6240\u6709\u5e93\u548c\u4f9d\u8d56\u9879\u3002\u7528\u6237\u53ef\u4ee5\u5c06\u8fd9\u4e2a\u6587\u4ef6\u5939\u590d\u5236\u5230\u5176\u4ed6\u8ba1\u7b97\u673a\u4e0a\uff0c\u7136\u540e\u8fd0\u884c\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u7a0b\u5e8f\u5c31\u53ef\u4ee5\u5728\u5176\u4ed6\u8ba1\u7b97\u673a\u4e0a\u8fd0\u884c\u3002<\/p>\n<p>## \u6253\u5305exe\u7684\u6b65\u9aa4<\/p>\n<p>\u4e0b\u9762\u662f\u4f7f\u7528Conda\u6253\u5305exe\u7684\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/p>\n<p>### \u6b65\u9aa41\uff1a\u5b89\u88c5Conda<\/p>\n<p>\u9996\u5148\uff0c\u9700\u8981\u5728\u672c\u5730\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5Conda\u3002\u53ef\u4ee5\u4ece\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u9002\u7528\u4e8e\u81ea\u5df1\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u5305\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<p>### \u6b65\u9aa42\uff1a\u521b\u5efaConda\u73af\u5883<\/p>\n<p>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Conda\u73af\u5883\uff0c\u7528\u4e8e\u6253\u5305\u7a0b\u5e8f\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u521b\u5efa\u4e00\u4e2a\u540d\u4e3amyenv\u7684\u65b0\u73af\u5883\uff1a<\/p>\n<p>&#8220;`<\/p>\n<p>conda create &#8211;name myenv<\/p>\n<p>&#8220;`<\/p>\n<p>### \u6b65\u9aa43\uff1a\u6fc0\u6d3bConda\u73af\u5883<\/p>\n<p>\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u6fc0\u6d3b\u65b0\u521b\u5efa\u7684Conda\u73af\u5883\uff1a<\/p>\n<p>&#8220;`<\/p>\n<p>conda activate myenv<\/p>\n<p>&#8220;`<\/p>\n<p>### \u6b65\u9aa44\uff1a\u5b89\u88c5\u7a0b\u5e8f\u4f9d\u8d56\u5e93<\/p>\n<p>\u4f7f\u7528Conda\u5b89\u88c5\u7a0b\u5e8f\u4f9d\u8d56\u5e93\uff0c\u4f8b\u5982\uff1a<\/p>\n<p>&#8220;`<\/p>\n<p>conda install pandas<\/p>\n<p>conda install matplotlib<\/p>\n<p>&#8220;`<\/p>\n<p>### \u6b65\u9aa45\uff1a\u5c06\u7a0b\u5e8f\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6<\/p>\n<p>\u4f7f\u7528conda-<\/p>\n<p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.cdn.yimenapp.com\/2023-03\/21\/16\/26840459210.jpg\" \/><\/figure>\n<\/p>\n<p>build\u547d\u4ee4\u5c06\u7a0b\u5e8f\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6\u3002\u5728\u547d\u4ee4\u884c\u4e2d\uff0c\u8fdb\u5165\u7a0b\u5e8f\u6839\u76ee\u5f55\uff0c\u7136\u540e\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p>&#8220;`<\/p>\n<p>conda-build .<\/p>\n<p>&#8220;`<\/p>\n<p>### \u6b65\u9aa46\uff1a\u5b89<a href=\"https:\/\/exe.yimenapp.com\/tool-136.html\">exe\u91cd\u65b0\u6253\u5305<\/a>\u88c5\u6253\u5305\u7a0b\u5e8f<\/p>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u6253\u5305\u7a0b\u5e8f\uff1a<\/p>\n<p>&#8220;`<\/p>\n<p>conda install<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Conda\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u8f6f\u4ef6\u5305\u7ba1\u7406\u7cfb\u7edf\u548c\u73af\u5883\u7ba1\u7406\u7cfb\u7edf\uff0c\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7ba1\u7406\u4e0d\u540c\u7248\u672c\u7684\u8f6f\u4ef6\u5305\u548c\u73af\u5883\u3002Conda\u8fd8\u63d0\u4f9b\u4e86\u4e00\u79cd\u6253\u5305Python\u7a0b\u5e8f\u7684\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5c06Python\u7a0b\u5e8f\u6253\u5305\u6210\u53ef\u6267\u884c\u6587\u4ef6<\/p>\n","protected":false},"author":23,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[3255,539,845,132,3254],"topic":[],"class_list":["post-1591","post","type-post","status-publish","format-standard","hentry","category-diannaoruanjian","tag-3255","tag-539","tag-845","tag-132","tag-exe"],"_links":{"self":[{"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/posts\/1591","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/comments?post=1591"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/posts\/1591\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/media?parent=1591"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/categories?post=1591"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/tags?post=1591"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenapp.cn\/yun\/wp-json\/wp\/v2\/topic?post=1591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}