{"id":127331,"date":"2020-06-07T21:23:09","date_gmt":"2020-06-07T13:23:09","guid":{"rendered":"http:\/\/4563.org\/?p=127331"},"modified":"2020-06-07T21:23:09","modified_gmt":"2020-06-07T13:23:09","slug":"%e4%b8%ba%e5%95%a5-anaconda-%e5%ae%89%e8%a3%85-redis-py-%e5%8c%85%e4%b9%8b%e5%90%8e%ef%bc%8c%e5%88%b0-python-%e9%87%8c-import-%e7%9a%84%e6%97%b6%e5%80%99%e5%90%8d%e5%ad%97%e5%8f%98%e6%88%90-redis","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=127331","title":{"rendered":"\u4e3a\u5565 Anaconda \u5b89\u88c5 redis-py \u5305\u4e4b\u540e\uff0c\u5230 Python \u91cc import \u7684\u65f6\u5019\u540d\u5b57\u53d8\u6210 redis \u4e86"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u4e3a\u5565 Anaconda \u5b89\u88c5 redis-py \u5305\u4e4b\u540e\uff0c\u5230 Python \u91cc import \u7684\u65f6\u5019\u540d\u5b57\u53d8\u6210 redis \u4e86               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Fobs <\/span>  <span><i><\/i> 18<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6211\u60f3\u5b89\u88c5\u4e00\u4e2a\u8fde\u63a5 redis \u4e0e python \u7684\u5305\uff0c\u5728 anaconda \u91cc\u5305\u540d\u53eb redis-py\uff0c\u800c\u5728 pip \u91cc\u5305\u540d\u53eb redis\uff0c\u8fd9\u70b9\u8fd8\u53ef\u4ee5\u7406\u89e3\uff0c\u6bd5\u7adf\u53ef\u80fd\u53ea\u662f\u4e24\u4e2a\u5305\u7ba1\u7406\u5de5\u5177\u547d\u540d\u65b9\u5f0f\u4e0d\u540c\u3002\u95ee\u9898\u662f\u4e3a\u5565\u6211\u7528 anaconda \u5b89\u88c5\u65f6\u53eb redis-py\uff0c\u5230\u4e86 python \u91cc<code>import<\/code>\u7684\u65f6\u5019\u5305\u540d\u5c31\u53d8\u6210 redis\uff0c\u901a\u8fc7<code>conda list<\/code>\u548c<code>pip list<\/code>\u4e24\u4e2a\u547d\u4ee4\u67e5\u770b\u65f6\uff0c<code>conda list<\/code>\u4e0b\u4f9d\u7136\u53eb redis-py\uff0c\u800c<code>pip list<\/code>\u4e0b\u53eb redis\uff0c\u57fa\u672c\u53ef\u4ee5\u786e\u5b9a\u8fd9\u662f\u540c\u4e00\u4e2a\u5305\uff0c\u7248\u672c\u76f8\u540c\uff0c\u4e5f\u662f\u7b2c\u4e00\u6b21\u5b89\u88c5\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>6<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"2078272\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Muniesa <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u56e0\u4e3a\u672c\u8eab\u5c31\u53ef\u4ee5\u4e0d\u4e00\u6837\u554a\u2026\u2026pip \u91cc\u9762\u4e5f\u662f\u53ef\u4ee5\u8bbe\u7f6e\u6210\u4e0d\u4e00\u6837\u7684\uff0c\u6bd4\u5982 OpenCV \u5bfc\u5165\u7684\u65f6\u5019\u662f cv2\uff0cpillow \u5bfc\u5165\u7684\u65f6\u5019\u662f PIL\uff0cpytorch \u5bfc\u5165\u7684\u65f6\u5019\u662f torch                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2078273\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tqbfjotld <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             conda \u548c pypi \u4e0d\u4e00\u6837                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2078274\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : est <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u56e0\u4e3a redis-py \u4f1a\u88ab python \u89e3\u6790\u6210 redis \u8fd9\u4e2a\u53d8\u91cf\u51cf\u53bb py \u8fd9\u4e2a\u53d8\u91cf\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2078275\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : AlisaDestiny <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7ed9\u4f60\u4e3e\u4e2a\u6817\u5b50\u4f60\u5c31\u660e\u767d\u4e86\uff1a<br \/>\u6bd4\u5982\u4f60\u5728\u7f51\u7ad9\u4e0b\u8f7d\u4e00\u4e2a\u6587\u4ef6\u53eb a.zip \uff0c\u4f46\u662f\u4f60\u89e3\u538b\uff08\u628a\u8fd9\u4e2a\u8fc7\u7a0b\u5f53\u505a\u4f5c pip \u91cc\u7684\u5b89\u88c5\uff09\u540e\u53ef\u80fd\u662f b.jpg \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2078276\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ruanimal <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @est \u5e76\u4e0d\u662f\u89e3\u6790\uff0credis-py \u662f pypi \u4e0a\u53d1\u5e03\u7528\u7684\u5305\u540d\uff0credis \u662f\u4f7f\u7528\u65f6\u7528\u7684\u5305\u540d\uff0c\u4e24\u8005\u5e76\u4e0d\u4e00\u5b9a\u4e00\u6837                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2078277\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : silkriver <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             pypi \u53ea\u662f python \u8f6f\u4ef6\u5305\u7684\u4ed3\u5e93\uff0c\u4f46 anaconda \u4e0d\u662f\uff0c\u4f60\u53ef\u4ee5\u7528 conda \u547d\u4ee4\u88c5 python \u3001\u88c5 jdk \u3001\u88c5 mingw64 \u3001\u88c5 redis \u672c\u8eab\u2026\u2026redis \u7684 python \u8f6f\u4ef6\u5305\u5728 pypi \u4e0a\u53ef\u4ee5\u547d\u540d\u4e3a redis\uff0c\u4f46\u5728 anaconda \u4e0a\u5c31\u4f1a\u4ea7\u751f\u540d\u79f0\u51b2\u7a81\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3a\u5565 Anaconda \u5b89\u88c5 re&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\/127331"}],"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=127331"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/127331\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=127331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=127331"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=127331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}