tensorflow、tensorflow-gpu、CUDA和cuDNN各版本需要相互对应,否则可能导致安装出错,现整理windows/Linux/MacOS系统各个版本如下: Windows GPU CPU Linux GPU CPU MacOS GPU CPU