tensorflow 查看版本报错问题 print(tf.__version__) 查看版本使用的"_"和能够查看版本 print(tf.__version__)中 “__”不一样,这就是报错原因 注:实际上不是一个下划线,是两个下划线连在一起了。