optuna/optuna-examples

ModuleNotFoundError: No module named 'botorch.sampling.samplers'

fsmosca opened this issue · 1 comments

Expected behavior

Environment

  • Optuna version: 3.0.4
  • Python version: 3.10
  • OS: windows 10
  • botorch==0.8.0

Error messages, stack traces, or logs

F:\Github\...\bo.py:35: ExperimentalWarning: BoTorchSampler is experimental (supported from v2.4.0). The interface can change in the future.
  sampler = optuna.integration.BoTorchSampler(
Traceback (most recent call last):
  File "F:\Github\..\venv\lib\site-packages\optuna\integration\botorch.py", line 39, in <module>
    from botorch.sampling.samplers import SobolQMCNormalSampler
ModuleNotFoundError: No module named 'botorch.sampling.samplers'

Steps to reproduce

  1. Run https://github.com/optuna/optuna-examples/blob/main/multi_objective/botorch_simple.py

Reproducible examples (optional)

# python code

Additional context (optional)

SobolQMCNormalSampler is now located at botorch.sampling.normal

As addressed by #151, botorch 0.8.0 is not supported yet.