ModuleNotFoundError: No module named 'botorch.sampling.samplers'
fsmosca opened this issue · 1 comments
fsmosca commented
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
Reproducible examples (optional)
# python code
Additional context (optional)
SobolQMCNormalSampler
is now located at botorch.sampling.normal