使用TensorFlow时报错FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy.......
报错原因:numpy1-17-0版本过高,使用numpy-1.16-0版本即可
解决方法:重新安装numpy-1.16-0
pip install numpy==1.16.0
欢迎关注我的微信公众号免费获取海量python视频教程,定期更新电子图书资源