- 编译前先安装依赖:
xcode 9.2或者更高
使用 brew包管理工具安装python
brew install python
安装依赖:
pip install -U --user pip numpy wheel packaging requests opt_einsum
pip install -U --user keras_preprocessing --no-deps
brew install bazelisk 配置时会自动安装bazel5.3.0版本
克隆TensorFlow源码:
git clone https://github.com/tensorflow/tensorflow.git
配置:
编译源码:
Bug解决中...
标签:MacOS,编译,--,brew,源码,install,pip,TensorFlow From: https://blog.51cto.com/remotedev/6007218