使用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
参考文献
[1]tensflow报错原因
博客指出使用TensorFlow时出现FutureWarning报错,原因是环境安装的numpy 1.17.0版本过高,解决办法是重新安装numpy-1.16.0版本,并可通过命令行操作完成。
1万+

被折叠的 条评论
为什么被折叠?



