I'm working from a fresh install using latest master. When using run_calc from a script I get this error:
File ~/src/gem/oq-engine/openquake/baselib/parallel.py:671, in Starmap.init(cls, distribute)
670 try:
--> 671 from ray.util.multiprocessing import Pool
672 cls.pool = Pool(cls.num_cores, init_workers)
ModuleNotFoundError: No module named 'ray'
Obviously an easy fix on my machine with pip install ray but perhaps this should be in the requirements?
I'm working from a fresh install using latest master. When using
run_calc
from a script I get this error:Obviously an easy fix on my machine with
pip install ray
but perhaps this should be in the requirements?