tensorflow和python不兼容_tensorflow与numpy的版本兼容性问题的解决

tensorflow与numpy的版本兼容性问题的解决,版本,站长站,错误,文章,较高

tensorflow与numpy的版本兼容性问题的解决

易采站长站,站长之家为您整理了tensorflow与numpy的版本兼容性问题的解决的相关内容。

在Python交互式窗口导入tensorflow出现了下面的错误:

root@ubuntu:~# python3

Python 3.6.8 (default, Oct 7 2019, 12:59:55)

[GCC 8.3.0] on linux

Type "help", "copyright", "credits" or "license" for more information.

>>> import tensorflow as tf;

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:516: 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'.

_np_qint8 = np.dtype([("qint8", np.int8, 1)])

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synony

你可能感兴趣的:(tensorflow和python不兼容_tensorflow与numpy的版本兼容性问题的解决)