Python安装TensorFlow常见问题

问题:ERROR: tensorboard 1.14.0 has requirement setuptools>=41.0.0, but you'll have setuptools 39.0.1 which is incompatible.

原因:tensorboard 1.14.0 需要setuptools的版本至少41.0.0

解决:pip install --upgrade setuptools


问题:ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

原因:该numpy版本没有‘numpy.core._multiarray_umath’

解决:pip install --upgrade numpy


问题:FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecat

原因:该numpy版本不匹配tensorflow版本(我的python版本3.7.0,TensorFlow版本1.14.0,numpy跟新之后的版本1.17.0不匹配)

解决:pip uninstall  numpy         pip install numpy==1.16.0


 

你可能感兴趣的:(Python,TensorFlow,tensorflow,numpy)