Tensorflow团队宣布停止支持1.2以后mac版的tensorflow gpu版本。 因此没办法直接安装只能自己用源码编译了。 Tensorflow 1.8 with CUDA on macOS High Sierra 10.13.6