Skip to content

multiple example notebooks failing on 'get_image_uri' #1807

Closed

Description

@aaronmarkham

Describe the bug
ImportError: cannot import name 'get_image_uri'

To reproduce
from sagemaker import get_image_uri

Expected behavior
no error

Activity

  1. chuyang-deng commented on Aug 5, 2020

    @chuyang-deng
    Contributor

    Hi @aaronmarkham,

    We just released Python SDK v2: https://pypi.org/project/sagemaker/

    get_image_uri has been deprecated and we recommend using image_uris.retrieve(): https://github.com/aws/sagemaker-python-sdk/blob/master/src/sagemaker/image_uris.py

    If you still want to use the old interface please pin sagemaker version < 2

  2. dz902 commented on Aug 5, 2020

    @dz902

    SageMaker Studio seems to have Python SDK built-in, how do we determine which version it is on? Will this new version get an automatic roll out on Studio notebooks?

  3. locked and limited conversation to collaborators on May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions