我的MacBook Air M1到手了,我自己常用的python包都装了,都是arm的版本,不是用Rosseta跑的。

请参考,短暂使用还没有发现什么BUG,只不过numpy和tf相关的包是Apple提供的。

opencv也不能直接pip或者conda安装,需要自己去opencv官网下载源代码,用cmake编译,也很快。

----------------------------更新---------------------------

tensorflow 有bug,目前发现LSTM有问题,基本不能用,叠了3层训练直接报错。。。。

可能还有其他bug,之前tf2.2写的代码跑起来也报错了。

基于mlcompute的tensorflow暂时可能无法投入工作

----------------------------更新---------------------------

opencv 和 numpy 已经可以用conda forge安装了

不过numpy建议安装apple提供的,应该优化过,测试了一下SVD, apple提供的numpy比conda提供的numpy,快了1倍多。apple 提供的numpy

conda install numpyconda forge 已经有OpenCV arm64的包了

Package Version

----------------------------- ---------

absl-py 0.11.0

appnope 0.1.2

argon2-cffi 20.1.0

astroid 2.4.2

astunparse 1.6.3

async-generator 1.10

attrs 20.3.0

backcall 0.2.0

backports.functools-lru-cache 1.6.1

bleach 3.2.1

brotlipy 0.7.0

cached-property 1.5.2

cachetools 4.2.0

certifi 2020.12.5

cffi 1.14.4

chardet 4.0.0

cryptography 3.3.1

cycler 0.10.0

decorator 4.4.2

defusedxml 0.6.0

entrypoints 0.3

flatbuffers 1.12

gast 0.4.0

google-auth 1.24.0

google-auth-oauthlib 0.4.2

google-pasta 0.2.0

grpcio 1.33.2

h5py 2.10.0

idna 2.10

importlib-metadata 3.3.0

ipykernel 5.4.2

ipython 7.19.0

ipython-genutils 0.2.0

isort 5.7.0

jedi 0.18.0

Jinja2 2.11.2

joblib 1.0.0

json5 0.9.5

jsonschema 3.2.0

jupyter-client 6.1.7

jupyter-core 4.7.0

jupyterlab 2.2.9

jupyterlab-pygments 0.1.2

jupyterlab-server 1.2.0

Keras-Preprocessing 1.1.2

kiwisolver 1.3.1

lazy-object-proxy 1.4.3

Markdown 3.3.3

MarkupSafe 1.1.1

matplotlib 3.3.3

mccabe 0.6.1

mistune 0.8.4

nbclient 0.5.1

nbconvert 6.0.7

nbformat 5.0.8

nest-asyncio 1.4.3

notebook 6.1.6

numpy 1.18.5

oauthlib 3.1.0

olefile 0.46

opt-einsum 3.3.0

packaging 20.8

pandas 1.2.0

pandocfilters 1.4.2

parso 0.8.1

pexpect 4.8.0

pickleshare 0.7.5

Pillow 8.0.1

pip 20.3.3

prometheus-client 0.9.0

prompt-toolkit 3.0.8

protobuf 3.14.0

ptyprocess 0.6.0

pyasn1 0.4.8

pyasn1-modules 0.2.8

pycparser 2.20

Pygments 2.7.3

pylint 2.6.0

pyOpenSSL 20.0.1

pyparsing 2.4.7

pyrsistent 0.17.3

PySocks 1.7.1

python-dateutil 2.8.1

pytz 2020.5

pyzmq 20.0.0

requests 2.25.1

requests-oauthlib 1.3.0

rsa 4.6

scikit-learn 0.24.0

scipy 1.5.3

seaborn 0.11.1

Send2Trash 1.5.0

setuptools 51.1.1

six 1.15.0

tensorboard 2.4.0

tensorboard-plugin-wit 1.7.0

tensorflow-addons 0.11.2

tensorflow-estimator 2.4.0

tensorflow-macos 0.1a1

termcolor 1.1.0

terminado 0.9.1

testpath 0.4.4

threadpoolctl 2.1.0

toml 0.10.2

tornado 6.1

traitlets 5.0.5

typeguard 2.10.0

typing-extensions 3.7.4.3

urllib3 1.26.2

wcwidth 0.2.5

webencodings 0.5.1

Werkzeug 1.0.1

wheel 0.36.2

wrapt 1.12.1

zipp 3.4.0

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐