{"id":232878,"date":"2020-12-28T13:58:33","date_gmt":"2020-12-28T05:58:33","guid":{"rendered":"http:\/\/4563.org\/?p=232878"},"modified":"2020-12-28T13:58:33","modified_gmt":"2020-12-28T05:58:33","slug":"pip-install-%e5%92%8c-conda-install-%e7%9a%84%e5%8c%ba%e5%88%ab%e6%98%af%e4%bb%80%e4%b9%88%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=232878","title":{"rendered":"pip install \u548c conda install \u7684\u533a\u522b\u662f\u4ec0\u4e48\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  pip install \u548c conda install \u7684\u533a\u522b\u662f\u4ec0\u4e48\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : fanqieipnet <\/span>  <span><i><\/i> 7<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        pip install \u548c conda install \u7684\u533a\u522b\u662f\u4ec0\u4e48?\u4eca\u5929\u756a\u8304\u52a0\u901f\u5c31\u6765\u5206\u6790\u4e0b\u3002<\/p>\n<p>\u3000\u3000\u5927\u90e8\u5206\u60c5\u51b5\u4e0b\u6ca1\u4ec0\u4e48\u533a\u522b\u3002\u57fa\u672c\u4e0a\uff0c\u6211\u66f4\u559c\u6b22\u7528 pip\uff0c\u56e0\u4e3a\u56fd\u5185\u7528 pip \u7f51\u901f\u6bd4 conda \u5feb\u54c8\u54c8\uff0c\u5373\u4fbf\u662f\u7528\u4e86\u56fd\u5185\u6e90\u7684\u60c5\u51b5\u4e0b\u3002<\/p>\n<p>\u3000\u3000\u6b63\u5f0f\u4e00\u70b9\u5730\u8bf4\uff0cpip \u548c conda \u529f\u80fd\u76f8\u4f3c\uff0c\u4f46\u4ecd\u7136\u6709\u4e00\u4e9b\u533a\u522b\uff0cconda \u5b98\u65b9\u5c31\u6709\u6587\u7ae0\u4e13\u95e8\u8bf4\u8fd9\u4e2a\uff1a<\/p>\n<p>\u3000\u3000 pip \u662f\u7528\u6765\u5b89\u88c5 python \u5305\u7684\uff0c\u5b89\u88c5\u7684\u662f python wheel \u6216\u8005\u6e90\u4ee3\u7801\u7684\u5305\u3002\u4ece\u6e90\u7801\u5b89\u88c5\u7684\u65f6\u5019\u9700\u8981\u6709\u7f16\u8bd1\u5668\u7684\u652f\u6301\uff0cpip \u4e5f\u4e0d\u4f1a\u53bb\u652f\u6301 python \u8bed\u8a00\u4e4b\u5916\u7684\u4f9d\u8d56\u9879\u3002<\/p>\n<p>\u3000\u3000 conda \u662f\u7528\u6765\u5b89\u88c5 conda package\uff0c\u867d\u7136\u5927\u90e8\u5206 conda \u5305\u662f python \u7684\uff0c\u4f46\u5b83\u652f\u6301\u4e86\u4e0d\u5c11\u975e python \u8bed\u8a00\u5199\u7684\u4f9d\u8d56\u9879\uff0c\u6bd4\u5982 mkl cuda \u8fd9\u79cd c c++\u5199\u7684\u5305\u3002\u7136\u540e\uff0cconda \u5b89\u88c5\u7684\u90fd\u662f\u7f16\u8bd1\u597d\u7684\u4e8c\u8fdb\u5236\u5305\uff0c\u4e0d\u9700\u8981\u4f60\u81ea\u5df1\u7f16\u8bd1\u3002\u6240\u4ee5\uff0cpip \u6709\u65f6\u5019\u7cfb\u7edf\u73af\u5883\u6ca1\u6709\u67d0\u4e2a\u7f16\u8bd1\u5668\u53ef\u80fd\u4f1a\u5931\u8d25\uff0cconda \u4e0d\u4f1a\u3002\u8fd9\u5bfc\u81f4\u4e86 conda \u88c5\u4e1c\u897f\u7684\u4f53\u79ef\u4e00\u822c\u6bd4\u8f83\u5927\uff0c\u5c24\u5176\u662f mkl \u8fd9\u79cd\uff0c\u52a8\u4e0d\u52a8\u51e0\u767e\u5146\u751a\u81f3\u4e00 G \u591a\u3002<\/p>\n<p>\u3000\u3000\u7136\u540e\uff0cconda \u529f\u80fd\u5176\u5b9e\u6bd4 pip \u66f4\u591a\u3002pip \u51e0\u4e4e\u5c31\u662f\u4e2a\u5b89\u88c5\u5305\u7684\u8f6f\u4ef6\uff0cconda \u662f\u4e2a\u73af\u5883\u7ba1\u7406\u7684\u5de5\u5177\u3002conda \u81ea\u5df1\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u73af\u5883\uff0cpip \u4e0d\u80fd\uff0c\u9700\u8981\u4f9d\u8d56 virtualenv \u4e4b\u7c7b\u7684\u3002\u610f\u5473\u7740\u4f60\u80fd\u7528 conda \u5b89\u88c5 python \u89e3\u91ca\u5668\uff0cpip \u4e0d\u884c\u3002\u8fd9\u4e00\u70b9\u6211\u89c9\u5f97\u662f conda \u5f88\u6709\u4f18\u52bf\u7684\u5730\u65b9\uff0c\u7528 conda env \u53ef\u4ee5\u5f88\u8f7b\u677e\u5730\u7ba1\u7406\u5f88\u591a\u4e2a\u7248\u672c\u7684 python\uff0cpip \u4e0d\u884c\u3002<\/p>\n<p>\u3000\u3000\u7136\u540e\u662f\u4e00\u4e9b\u53ef\u80fd\u4e0d\u592a\u5bb9\u6613\u5bdf\u89c9\u7684\u5730\u65b9\u3002conda \u548c pip \u5bf9\u4e8e\u73af\u5883\u4f9d\u8d56\u7684\u5904\u7406\u4e0d\u540c\uff0c\u603b\u4f53\u6765\u8bb2\uff0cconda \u6bd4 pip \u66f4\u52a0\u4e25\u683c\uff0cconda \u4f1a\u68c0\u67e5\u5f53\u524d\u73af\u5883\u4e0b\u6240\u6709\u5305\u4e4b\u95f4\u7684\u4f9d\u8d56\u5173\u7cfb\uff0cpip \u53ef\u80fd\u5bf9\u4e4b\u524d\u5b89\u88c5\u7684\u5305\u5c31\u4e0d\u7ba1\u4e86\u3002\u8fd9\u6837\u505a\u7684\u8bdd\uff0cconda \u57fa\u672c\u4e0a\u5b89\u4e0a\u4e86\u5c31\u80fd\u4fdd\u8bc1\u5de5\u4f5c\uff0cpip \u6709\u65f6\u5019\u53ef\u80fd\u88c5\u4e0a\u4e86\u4e5f\u4e0d work \u3002\u4e0d\u8fc7\u6211\u4e2a\u4eba\u611f\u89c9\u8fd9\u4e2a\u5f71\u54cd\u4e0d\u5927\uff0c\u6bd5\u7adf\u4e3b\u6d41\u5305\u7684\u652f\u6301\u90fd\u633a\u4e0d\u9519\u7684\uff0c\u5f88\u5c11\u9047\u5230 broken \u7684\u60c5\u51b5\u3002\u8fd9\u4e2a\u533a\u522b\u4e5f\u5bfc\u81f4\u4e86\u5b89\u88c5\u7684\u65f6\u5019 conda \u7b97\u4f9d\u8d56\u9879\u7684\u65f6\u95f4\u6bd4 pip \u591a\u5f88\u591a\uff0c\u800c\u4e14\u91cd\u65b0\u5b89\u88c5\u7684\u5305\u4e5f\u4f1a\u66f4\u591a(\u4f1a\u9009\u62e9\u66f4\u65b0\u65e7\u5305\u7684\u7248\u672c)\u3002<\/p>\n<p>\u3000\u3000\u6700\u540e\uff0cpip \u7684\u5305\u8ddf conda \u4e0d\u5b8c\u5168\u91cd\u53e0\uff0c\u6709\u4e9b\u5305\u53ea\u80fd\u901a\u8fc7\u5176\u4e2d\u4e00\u4e2a\u88c5\u3002      <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>0<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>pip install \u548c con&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/232878"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=232878"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/232878\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=232878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=232878"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=232878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}