成功解决DeprecationWarning: numpy.core.umath_tests is an internal NumPy module and should not be importe

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_41185868/article/details/87900707

解决问题

DeprecationWarning: numpy.core.umath_tests is an internal NumPy module and should not be imported. It will be removed in a future NumPy release.
  from numpy.core.umath_tests import inner1d

解决思路

拒绝警告:numpy.core.umath_tests是内部numpy模块,不应导入。它将在将来的numpy版本中被删除。
from numpy.core.umath_tests import inner1d

解决方法

该问题是警告信息,不处理亦可运行程序,只需理解一下即可!该库未来的升级ban版本中,会包含在numpy库内,不必再导入!

猜你喜欢

转载自blog.csdn.net/qq_41185868/article/details/87900707