{"id":28,"date":"2019-09-25T15:21:29","date_gmt":"2019-09-25T07:21:29","guid":{"rendered":"http:\/\/8.154.33.202\/?p=28"},"modified":"2019-09-25T15:33:59","modified_gmt":"2019-09-25T07:33:59","slug":"conda%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4","status":"publish","type":"post","link":"http:\/\/8.154.33.202\/?p=28","title":{"rendered":"conda\u5e38\u7528\u547d\u4ee4"},"content":{"rendered":"\n<p>\u67e5\u770bconda\u73af\u5883<\/p>\n\n\n\n<p>conda info -e<\/p>\n\n\n\n<p>\u521b\u5efa\u65b0\u7684\u73af\u5883<\/p>\n\n\n\n<p>conda create -n env_name<\/p>\n\n\n\n<p>\u521b\u5efa\u6307\u5b9apython\u7248\u672c\u7684\u73af\u5883<\/p>\n\n\n\n<p> conda create -n env_name python=x.x(2.7,3.5\u7b49\uff09<\/p>\n\n\n\n<p>\u79fb\u9664\u73af\u5883<\/p>\n\n\n\n<p>conda remove -n env_name &#8211;all<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u8bbe\u7f6e\u91c7\u7528\u56fd\u5185\u955c\u50cf<\/h4>\n\n\n\n<p>1\u3001(\u4e34\u65f6\u65b9\u5f0f)\u547d\u4ee4\u884c<code>conda config --add channels https:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/pkgs\/free\/conda config --set show_channel_urls yes<\/code><\/p>\n\n\n\n<p>2\u3001(\u6c38\u4e45\u65b9\u5f0f)Windows\u4e0bC:\/\/Users\/username\/.condarc\uff0cLinux\/Mac\u4e0b~\/.condarc\uff0c\u6ca1\u6709\u53ef\u4ee5\u521b\u5efa\uff0c\u4fee\u6539\u5185\u5bb9\u5982\u4e0b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>channels:\n - https:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/pkgs\/free\/ \n - defaults\nshow_channel_urls: yes<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u67e5\u770bconda\u73af\u5883 conda info -e \u521b\u5efa\u65b0\u7684\u73af\u5883 conda create -n env_name &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/8.154.33.202\/?p=28\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cconda\u5e38\u7528\u547d\u4ee4\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-python"],"_links":{"self":[{"href":"http:\/\/8.154.33.202\/index.php?rest_route=\/wp\/v2\/posts\/28"}],"collection":[{"href":"http:\/\/8.154.33.202\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/8.154.33.202\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/8.154.33.202\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/8.154.33.202\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28"}],"version-history":[{"count":3,"href":"http:\/\/8.154.33.202\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":31,"href":"http:\/\/8.154.33.202\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions\/31"}],"wp:attachment":[{"href":"http:\/\/8.154.33.202\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/8.154.33.202\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/8.154.33.202\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}