苹果电脑适合python吗_m1的MacBook pro适合python开发吗?
我的MacBook Air M1到手了,我自己常用的python包都裝了,都是arm的版本,不是用Rosseta跑的。
請(qǐng)參考,短暫使用還沒(méi)有發(fā)現(xiàn)什么BUG,只不過(guò)numpy和tf相關(guān)的包是Apple提供的。
opencv也不能直接pip或者conda安裝,需要自己去opencv官網(wǎng)下載源代碼,用cmake編譯,也很快。
----------------------------更新---------------------------
tensorflow 有bug,目前發(fā)現(xiàn)LSTM有問(wèn)題,基本不能用,疊了3層訓(xùn)練直接報(bào)錯(cuò)。。。。
可能還有其他bug,之前tf2.2寫的代碼跑起來(lái)也報(bào)錯(cuò)了。
基于mlcompute的tensorflow暫時(shí)可能無(wú)法投入工作
----------------------------更新---------------------------
opencv 和 numpy 已經(jīng)可以用conda forge安裝了
不過(guò)numpy建議安裝apple提供的,應(yīng)該優(yōu)化過(guò),測(cè)試了一下SVD, apple提供的numpy比conda提供的numpy,快了1倍多。apple 提供的numpy
conda install numpyconda forge 已經(jīng)有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
總結(jié)
以上是生活随笔為你收集整理的苹果电脑适合python吗_m1的MacBook pro适合python开发吗?的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 指定开始_@高坪人,熏腊肉开始啦!指定地
- 下一篇: 怎么让饼状图里面显示百分比_教你用mat