hydra安装——AttributeError: module ‘hydra‘ has no attribute ‘main‘

hydra安装——AttributeError: module ‘hydra‘ has no attribute ‘main‘,第1张

AttributeError: module ‘hydra’ has no attribute ‘main’ 问题

1.使用如下方法安装hydra,pip install hydra,运行后报错AttributeError: module 'hydra' has no attribute 'main'

解决方法

2.卸载之前安装的hydra,pip uninstall hydra
3.应该使用pip install hydra-core --upgrade,安装后运行没有问题

参考:https://github.com/facebookresearch/hydra/issues/919

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/869755.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-13
下一篇 2022-05-13

发表评论

登录后才能评论

评论列表(0条)

保存