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

Estimator creation failed with boto3 Import Error #11

Open
debtano opened this issue Jan 28, 2025 · 0 comments
Open

Estimator creation failed with boto3 Import Error #11

debtano opened this issue Jan 28, 2025 · 0 comments

Comments

@debtano
Copy link

debtano commented Jan 28, 2025

In notebook 03-sagemaker-pipeline

Cell 1 (%pip install 'sagemaker[feature-processor]' --force-reinstall) and Cell 2 (%pip install -q s3fs) reports dependency errors.
Then, on "Training Step" , cell that creates the estimator

estimator = get_xgb_estimator(
    session=sagemaker.Session(),
    instance_type=train_instance_type,
    output_s3_url=output_s3_url,
    base_job_name=f"{project}-train",
)

Failed with

ImportError: cannot import name 'DEFAULT_CHECKSUM_ALGORITHM' from 'botocore.httpchecksum'
(/opt/conda/lib/python3.11/site-packages/botocore/httpchecksum.py)

Seems to be incompatibility between awscli version and boto3 version based on => boto/boto3#4399

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant