问题原因: TensorFlow和numpy的版本不匹配 解决方案: pip uninstall numpy #卸载现在的版本 pip install numpy==xxx #指定版本装numpy xxx为指定版本numpy 降低numpy版本直至与Tensorflow版本匹配