使用jupyter notbook引入如下三个模块时有警告
import tensorflow as tf
import numpy as np
import matplotlib.pyplot as plt
但是之前引入前两个模块没有警告或错误!
解决方式:执行 !pip install -U numpy 重装numpy
或者降级numpy版本:
!pip uninstall numpy
!pip install numpy==1.xx.x
更多推荐
RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibilit
发布评论