DACBench
DACBench copied to clipboard
CMA-ES Windows Compatibility
Some import in the cma-es environment currently fails on windows. Fix: Only import benchmarks that the user wants to use?
It turns out that this failure also sometimes occurs on other OS (resource limit call fails)
Things to try / possible solutions:
At install time:
- check whether adding resource can cause failure on windows / mac
- check whether we can store what benchmarks are installed for later use at runtime to do conditional important
At runtime, in init.py
- ideally, only import environments that are belonging to benchmarks that are installed
- alternatively, import all benchmarks, but catch import errors to produce warnings that a certain benchmark is not installed (rather than failing)
CMA-ES can be installed separately or run in a container, closing this issue since Windows won't be a priority OS.