Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMA-ES Windows Compatibility #47

Open
Steven-Adriaensen opened this issue Mar 5, 2021 · 2 comments
Open

CMA-ES Windows Compatibility #47

Steven-Adriaensen opened this issue Mar 5, 2021 · 2 comments
Labels
bug Something isn't working
Projects
Milestone

Comments

@Steven-Adriaensen
Copy link
Contributor

Some import in the cma-es environment currently fails on windows.
Fix: Only import benchmarks that the user wants to use?

@Steven-Adriaensen Steven-Adriaensen added the bug Something isn't working label Mar 5, 2021
@maximilianreimer maximilianreimer added this to Backlog in TODO via automation Mar 5, 2021
@Steven-Adriaensen
Copy link
Contributor Author

Steven-Adriaensen commented Apr 16, 2021

It turns out that this failure also sometimes occurs on other OS (resource limit call fails)

@TheEimer TheEimer added this to the 0.0.2 milestone May 10, 2021
@maximilianreimer maximilianreimer moved this from Backlog to ToDo in TODO May 10, 2021
@Steven-Adriaensen
Copy link
Contributor Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
TODO
ToDo
Development

No branches or pull requests

2 participants