Remove_docker_image:238 - Image build failed, not removing old images

Hi @michelle_chen and welcome to the forums! :partying_face:

You’re main error is this one:

ERROR: Could not find a version that satisfies the requirement scikit-learn== (from versions: 0.9, 0.10, 0.11, 0.12, 0.12.1, 0.13, 0.13.1, 0.14, 0.14.1, 0.15.0b1, 0.15.0b2, 0.15.0, 0.15.1, 0.15.2, 0.16b1, 0.16.0, 0.16.1, 0.17b1, 0.17, 0.17.1, 0.18, 0.18.1, 0.18.2, 0.19b2, 0.19.0, 0.19.1, 0.19.2, 0.20rc1, 0.20.0, 0.20.1, 0.20.2, 0.20.3, 0.20.4, 0.21rc2, 0.21.1, 0.21.2, 0.21.3, 0.22rc2.post1, 0.22rc3, 0.22, 0.22.1, 0.22.2, 0.22.2.post1, 0.23.0rc1, 0.23.0, 0.23.1, 0.23.2, 0.24.dev0, 0.24.0rc1, 0.24.0, 0.24.1)
ERROR: No matching distribution found for scikit-learn==

So in your case the issue is a tiny space inside of your ADDITIONAL_PACKAGES list. Right now you have this line:

scikit-learn== 0.24.10.22.2.post1

While it should be:

scikit-learn==0.24.10.22.2.post1

To be safe (if the specific version is not important for you) you could just have:

scikit-learn

And that should work :slight_smile:

But you’ll see once you fix that you will run into another error about saving and loading xgboost models. To fix that please follow the advice here.