FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future versi...

FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future versi...
  • numpy版本的配置问题,最简单的办法是倒退版本。我原来的版本是numpy 1.17.4
    首先输入:pip uninstall numpy 卸载原来的版本
    然后安装上一个版本:pip install numpy==1.16.0(可能会超时,点我)