AttributeError: module ‘hydra’ has no attribute ‘main’
Error:
1. use the following command to install hydra:pip install hydra
,an error is reported:AttributeError: module 'hydra' has no attribute 'main'
Solution:
2. Uninstall the installed hydra: pip uninstall hydra
3. Instead of using the following command: pip install hydra-core --upgrade
, It will be install fine!
Read More:
- Pytest AttributeError: module ‘pytest‘ has no attribute ‘main‘
- [Solved] AttributeError: module ‘setuptools._distutils‘ has no attribute ‘version‘
- [Solved] AttributeError: module ‘time‘ has no attribute ‘clock‘
- [Solved]AttributeError: module ‘urllib’ has no attribute ‘quote’
- [Solved] AttributeError: module ‘tensorflow‘ has no attribute ‘distributions‘
- [Solved] AttributeError: module ‘selenium.webdriver‘ has no attribute ‘Chrome‘
- AttributeError: module ‘time‘ has no attribute ‘clock‘ [How to Solve]
- [How to Solve]AttributeError: module ‘scipy’ has no attribute ‘io’
- [Solved] AttributeError: module ‘dlib‘ has no attribute ‘get_face_chip‘
- AttributeError: module ‘enum‘ has no attribute ‘IntFlag‘ [How to Solve]
- [Solved] AttributeError: partially initialized module ‘xlwings’ has no attribute ‘App’
- [Solved] AttributeError: module ‘distutils‘ has no attribute ‘version‘
- [Solved] AttributeError: module ‘pandas‘ has no attribute ‘rolling_count‘
- [Solved] Pytorch call tensorboard error: AttributeError: module ‘tensorflow’ has no attribute ‘gfile’
- [Solved] AttributeError: module ‘PIL.Image‘ has no attribute ‘open‘
- Python AttributeError: module ‘tensorflow‘ has no attribute ‘InteractiveSession‘
- Python3.7 AttributeError: module ‘time‘ has no attribute ‘clock‘
- [Solved] AttributeError: module ‘logging‘ has no attribute ‘Handler‘
- [Solved] Python Error: AttributeError: partially initialized module ‘keyword‘ has no attribute ‘kwlist‘
- Python3.6 Run uvicorn Error: AttributeError: module ‘asyncio‘ has no attribute ‘run‘