linux anaconda (import tensorflow warning)

提示:/root/anaconda3/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
 

原因:h5py   numpy 這倆有衝突,安裝低版本的numpy可解決問題

 

解決:conda install numpy==1.13.3  (運行此命令替換現有版本的numpy)
 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章