https://tensorflow.juejin.im/install/install_mac.html
查看tensorflow版本
sudo pip show tensorflow
sudo pip3 show tensorflow
卸载:
sudo pip uninstall protobuf
sudo pip uninstall tensorflow
Check failed: PyBfloat16_Type.tp_base != nullptr
numpy>=1.14,so pip install numpy==1.14
and it work!
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:在 macOS 中安装/卸载 TensorFlow - Python技术站