Its old version (as my code uses that) pip install git+https://github.com/hoihui/BayesianOptimization.git