问题:
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version
寻找解决方案:
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version
我选择第二张图的方案,因为我认为尽量不要修改包文件中的内容。
step1:查询自己numpy的版本
方案一:在pycharm:
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version
方案二:在终端 pip show packages
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version
step2:
pip uninstall package
pip install package =?
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version
现象:
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version
ps:但也要注意包之间的依赖性。
通常在命令窗口pip 新的包的时候,如果安装成功,它会有requirement 提示依赖性是否满足。

相关文章:

  • 2021-07-21
  • 2021-07-08
  • 2021-09-28
  • 2021-09-12
猜你喜欢
  • 2022-01-06
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
  • 2021-11-08
相关资源
相似解决方案