tensorflow基础【0】-安装

安装过程略...

异常记录

异常一

输入import tensorflow as tf 后出现一连串警告:

FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'......

查找原因之后发现是numpy版本太高,所以需要将numpy版本将到1.16.0: