[Bug] ModuleNotFoundError: No module named 'hydra.experimental'; 'hydra' is not a package
See original GitHub issue🐛 Bug
Description
ModuleNotFoundError: No module named ‘hydra.experimental’; ‘hydra’ is not a package
Checklist
- I checked on the latest version of Hydra
- I created a minimal repro
To reproduce
from hydra.experimental import initialize, compose
from hydra.experimental import initialize, compose
ModuleNotFoundError: No module named 'hydra.experimental'; 'hydra' is not a package
Expected Behavior
jast works
System information
Hydra: hydra-core-1.0.0rc4 OS: Ubuntu 18.04.5 LTS (x86_64) GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Clang version: Could not collect CMake version: Could not collect
Python version: 3.6 (64-bit runtime) Is CUDA available: N/A CUDA runtime version: 9.1.85 GPU models and configuration: Could not collect Nvidia driver version: Could not collect cuDNN version: Could not collect
Versions of relevant libraries: [pip3] numpy==1.19.0 [conda] Could not collect
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
ModuleNotFoundError: No module named 'hydra'
I'm trying to run a Python script but it gives an error immediately at the first line of code while trying importing hydra...
Read more >ModuleNotFoundError: No module named ... - RoseIndia.Net
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'Hydra' How to remove the ModuleNotFou.
Read more >hydra-core - PyPI
A framework for elegantly configuring complex applications. Check the website for more information, or click the thumbnail below for a one-minute video ...
Read more >ModuleNotFoundError: No module named 'hydra' - CSDN博客
之前在安装hydra的时候一直安装不上去,按照网上的建议要先安装一个VC++的编译环境,我把这个装上去之后还是一直报错:ERROR: Command errored out ...
Read more >Getting started | Hydra
Hydra is an open-source Python framework that simplifies the development of ... The name Hydra comes from its ability to run multiple similar...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OP probably installed the package
Hydrawithpip install hydrainstead of the correctpip install hydra-core --upgrade.I did the same mistake and had a similar error message:
Closing under the assumption that you have an installation issue and/or you installed the wrong Hydra package.