facebookresearch / facebookresearch/dora
Cannot import name 'hydra_main' from 'dora' on Colab or Kaggle environment
- Dominant language
- Python
- Stars
- 314
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
## 🐛 Bug Report
I wanted to run training inside colab notebook using code that utilizes `dora`. But after installation `hydra_main` seems to be missing.
```from dora import hydra_main``` gives me following exception
```ImportError Traceback (most recent call last)
[](https://localhost:8080/#) in ()
----> 1 from dora import hydra_main
ImportError: cannot import name 'hydra_main' from 'dora' (/usr/local/lib/python3.9/dist-packages/dora/__init__.py)
```
I installed it with
```pip install -U dora-search```
and tried few different versions.
## Your Environment
Both kaggle or colab notebooks.
Or maybe this is expected and one can't use `dora` inside colab?
Contributor guide
Research direction
Reproduce the import in a Colab or Kaggle notebook after installing dora-search, then inspect the installed dora/__init__.py and compare the available package versions. Done means the expected behavior for `from dora import hydra_main` in notebook environments is established and the reported ImportError is either resolved or clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100