{"id":342961,"date":"2021-02-15T04:24:32","date_gmt":"2021-02-14T20:24:32","guid":{"rendered":"http:\/\/4563.org\/?p=342961"},"modified":"2021-02-15T04:24:32","modified_gmt":"2021-02-14T20:24:32","slug":"big-sur-intel%e5%ae%89%e8%a3%85-python3-%e7%9a%84%e6%ad%a3%e7%a1%ae%e5%a7%bf%e5%8a%bf%e6%98%af%e4%bb%80%e4%b9%88","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=342961","title":{"rendered":"Big Sur (Intel)\u5b89\u88c5 Python3 \u7684\u6b63\u786e\u59ff\u52bf\u662f\u4ec0\u4e48"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Big Sur (Intel)\u5b89\u88c5 Python3 \u7684\u6b63\u786e\u59ff\u52bf\u662f\u4ec0\u4e48               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xuegy <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u66ff\u4ee3 Matlab \u505a\u6570\u503c\u8ba1\u7b97\u7528\uff0c\u6700\u597d\u80fd\u94fe\u63a5\u5230 MKL \u4e4b\u7c7b\u7684\u5e93\u5426\u5219\u901f\u5ea6\u5dee\u592a\u591a\uff0c\u540c\u65f6\u4e0d\u60f3\u5b89\u88c5\u592a\u591a\u65e0\u5173\u7684\u5305\u3002<\/p>\n<ol>\n<li>Homebrew \u5b89\u88c5<\/li>\n<li>Anaconda \u5b89\u88c5<\/li>\n<li>python.org \u5b89\u88c5<\/li>\n<li>\u81ea\u5df1\u7f16\u8bd1<\/li>\n<\/ol>\n<p>\u54ea\u4e2a\u6700\u9760\u8c31\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>19<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5281669\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Trim21 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8981\u94fe\u63a5 mkl \u4e0d\u9700\u8981\u7279\u522b\u7684 python\uff0c\u9700\u8981\u7279\u522b\u7684 numpy                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281670\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : xuegy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Trim21 \u6240\u4ee5\u968f\u4fbf\u88c5\uff0c\u7136\u540e pip install \uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281671\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Trim21 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xuegy \u5bf9\uff0cwindows \u4e0b\u9762\u6709\u8ddf mkl \u7f16\u8bd1\u7684 numpy\uff0c\u6211\u4e0d\u77e5\u9053 macos \u4e0a\u9762\u6709\u6ca1\u6709                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281672\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : xuegy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Trim21 \u8fd9\u4e2a\u529e\u6cd5\u5e94\u8be5\u662f\u51c9\u4e86<br \/>$ pip3 install intel-numpy<br \/>ERROR: Could not find a version that satisfies the requirement intel-numpy<br \/>ERROR: No matching distribution found for intel-numpy                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281673\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Trim21 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xuegy #4 \u4e0d\u662f\u3002\u3002\u3002\u3002windows \u4e0b\u9762 numpy+mkl \u6211\u662f\u5728 http:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs\/ \u627e\u5230\u7684\uff0c\u6211\u4e0d\u77e5\u9053 macOS \u4e0b\u9762\u6709\u6ca1\u6709\u4eba\u7f16\u8bd1\u597d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281674\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : noqwerty <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Anaconda (Miniconda) \u9ed8\u8ba4\u5c31\u662f\u5e26 MKL \u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281675\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : IgniteWhite <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             brew \u5b89\u88c5 pyenv\uff0c\u7136\u540e\u7528 pyenv \u5b89\u88c5 miniconda\uff0c\u521b\u5efa\u4e00\u4e2a\u72ec\u7acb\u57fa\u4e8e miniconda \u7684 pyenv-virtualenv\uff0c\u5728\u91cc\u9762\u518d\u7528 miniconda \u5b89\u88c5 mpl \u7b49\u7b49\u4f60\u9700\u8981\u7684\u5305\u3002<\/p>\n<p>1\uff1a\u4e3a\u4ec0\u4e48\u7528 pyenv \uff08\u6216\u8005\u5176\u4ed6\u4f60\u559c\u6b22\u7684 env \u7ba1\u7406\u5668\uff09\uff1f<br \/>\u548c\u7cfb\u7edf python \u7684\u5305\u6df7\u6742\u5728\u4e00\u8d77\u7b80\u76f4\u662f\u5669\u68a6\uff0c\u5728 venv \u91cc\u505a\u4f9d\u8d56\u9694\u79bb\u5fc5\u4e0d\u53ef\u5c11\u3002<\/p>\n<p>2\uff1a\u5173\u4e8e mkl \u7248\u672c\u7684 numpy\uff0canaconda \u51e0\u5e74\u524d\u5df2\u7ecf\u505a\u597d\u4e86 macOS \u4e0b mkl \u7684\u517c\u5bb9\uff0c\u6240\u4ee5\u6211\u4e0a\u9762\u5efa\u8bae\u5b89\u88c5 miniconda\uff0c\u53ea\u6709\u57fa\u672c\u7684 conda\uff0c\u6ca1\u6709\u5b89\u88c5\u4efb\u4f55\u4f60\u4e0d\u60f3\u8981\u7684\u5305\u3002\u5728\u91cc\u9762 conda install -c conda-forge numpy \u7684\u7248\u672c\u5c31\u662f mkl \u7684\u3002\u89c1 https:\/\/stackoverflow.com\/a\/32748758\/10039621<\/p>\n<p>\u5982\u679c\u4f60\u60f3\u7528 jupyter\uff0c\u6b22\u8fce\u53c2\u8003\u6211\u4e4b\u524d\u7684\u5e16\u5b50\uff1a \/t\/732571 \u8fd9\u91cc\u5206\u4eab\u7684\u7ecf\u5386\u662f\u6211\u80fd\u60f3\u5230\u6700\u590d\u6742\u7684\u914d\u7f6e\u72b6\u51b5\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281676\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : noqwerty <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @IgniteWhite #7 \u8bf7\u95ee\u8fd9\u91cc pyenv \u8d77\u5230\u4ec0\u4e48\u4f5c\u7528\u5462\uff1f\u6211\u4e00\u76f4\u662f\u76f4\u63a5\u7528 Miniconda ( https:\/\/docs.conda.io\/en\/latest\/miniconda.html) \u6216\u8005 miniforge ( https:\/\/github.com\/conda-forge\/miniforge) \u7684\uff0cconda \u672c\u8eab\u4e0d\u662f\u5df2\u7ecf\u8d77\u5230\u4e86\u7ba1\u7406 Python \u73af\u5883\u7684\u529f\u80fd\u4e86\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281677\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : IgniteWhite <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @noqwerty \u662f\u7684\uff0c\u76f4\u63a5\u7528 conda env \u4e5f\u884c\u7684\uff0c\u5b9e\u9645\u4e0a pyenv \u5728\u5efa\u7acb conda \u865a\u62df\u73af\u5883\u7684\u65f6\u5019\u4e5f\u4f1a\u4f18\u5148\u8c03\u7528 conda \u547d\u4ee4\u3002\u6211\u7684\u5efa\u8bae\u4ec5\u4f9b\u53c2\u8003\uff0c\u770b\u4e2a\u4eba\u9700\u6c42\u3002\u6211\u8fd9\u8fb9\u662f\u6709\u4e00\u4e2a\u5b89\u88c5\u975e conda \u7248\u672c python \u7684\u9700\u6c42\uff0c\u56e0\u4e3a\u6709\u4e9b\u5305\u6ca1\u4e0a conda-forge \u53ea\u5728 pypi \u4e0a\u6709\uff0c\u6240\u4ee5\u5c31\u7528 pyenv \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281678\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : noqwerty <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @IgniteWhite #9 \u54e6\u54e6\u8fd9\u6837\uff0c\u6211\u8ddf\u4f60\u662f\u53cd\u8fc7\u6765\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281679\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : renmu123 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             pyenv \u662f\u7ba1\u7406\u5404\u4e2a\u4e0d\u540c\u7248\u672c\u7684 Python \u7248\u672c\uff0cconda \u662f\u7ba1\u7406\u4e0d\u540c\u5305\u7684\u7248\u672c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281680\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jimages <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             pyenv \u88c5 pypy\uff0c\u7136\u540e\u88c5\u4e00\u4e2a mkl\uff0c\u7136\u540e\u624b\u52a8\u7f16\u8bd1\u4e00\u4e2a\u94fe\u63a5 mkl \u7684 numpy \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281681\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : IgniteWhite <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @noqwerty <br \/>@renmu123 <br \/>@jimages <br \/>\u501f\u95ee\u5404\u4f4d\u4e00\u4e2a\u95ee\u9898\uff1aconda \u6709\u4e2a\u56de\u6eda\u7684\u529f\u80fd\uff0c\u80fd\u628a\u5355\u6b21\u6539\u52a8\u91cc\u9762\u65b0\u88c5\u7684\u5305\u548c\u5b83\u4f9d\u8d56\u90fd\u56de\u6eda\u3002\u4e0d\u77e5 pip \u6709\u6ca1\u6709\u7c7b\u4f3c\u7684\u529f\u80fd\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281682\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : aydd2004 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u4e00\u76f4\u90fd\u662f\u547d\u4ee4\u884c\u76f4\u63a5\u8f93\u5165 python3 \u7cfb\u7edf\u76f4\u63a5\u5e2e\u6211\u88c5\u5b8c<\/p>\n<p>\u7136\u540e\u518d\u6839\u636e\u9700\u6c42\u88c5\u5e93                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281683\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhouwb <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             big sur \u4e0d\u662f\u6709\u81ea\u5e26 python3 \u5417\uff1f\u6211\u5e73\u65f6\u4e0d\u7528\uff0c\u4f46\u6211\u5728\u7ec8\u7aef\u91cc\u53ef\u4ee5\u6253\u51fa p3 \u547d\u4ee4\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281684\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : alazysun <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             conda                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281685\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : deetz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @IgniteWhite \u8d5e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281686\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mortintojmax <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53bb\u88c5 intel python \u4e00\u5957\u4e0d\u5c31\u5f97\u4e86\uff0c\u5565\u90fd\u7ed9\u4f60\u641e\u597d\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5281687\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jeeyong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f9d\u6b21\u5b89\u88c5<br \/>brew -&gt; pyenv -&gt; pyenv install 3.7.9<br \/>pyenv global 3.7.9<\/p>\n<p>\u5982\u6b64&#8230;.                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Big Sur (Intel)\u5b89\u88c5&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\/342961"}],"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=342961"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/342961\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=342961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=342961"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=342961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}