ModuleNotFoundError: No module named 'training'
adymaharana opened this issue · comments
Adyasha Maharana commented
Is this codebase missing a module called training
or am I doing something weird? Asking because I ran this codebase several times last year and never faced an error until today when I cloned a fresh version from GitHub.
Traceback (most recent call last):
File "/nas-ssd/adyasha/projects/datacomp/train.py", line 12, in <module>
from training.distributed import world_info_from_env
ModuleNotFoundError: No module named 'training'
Any help is appreciated, thank you!
Samir Yitzhak Gadre commented
hi @adymaharana! did you also install the virtual env from scratch? if not, maybe try that? training
comes from open_clip
, see here for more details: #32
Adyasha Maharana commented
Hi @sagadre ! So I was doing something weird :) My virtual environment setup had errors and I didn't notice. Thanks for catching that.