paninski-lab/lightning-pose

ModuleNotFound: hydra

Closed this issue · 2 comments

          So I removed LightningPose altogether and did a clean installation; the pytest ran successfully with 74 passed, and 14 warnings. I did not install the app this time. The branch has been successfully updated to dynamic crop. When running training I get this error now. 

image

Originally posted by @DavidGill159 in #120 (comment)

how did you install - did you run pip install -e . from inside the lightning-pose directory?

to fix this specific error you can simply install hydra with pip install hydra-core, but that should have been installed with everything else, so my guess is that if you just install hydra and then try to run the training script again you might find other import errors as well.

alternatively you could just rerun pip install -e . - if you look through the print statements that produces (there will be many) you should see the hydra installation near the top.

ah yes my bad, I skipped the dependencies step by mistake. all solved now thank you