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

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