sagemaker-python-sdk
sagemaker-python-sdk copied to clipboard
Getting ImportError when trying to retrieve 'forecasting-deepar' image_uri
I'm currently trying to use AWS DeepAR to forecast the settlement price for some electricity pricing. When I try to import the image_uris from sagemaker as indicated here I am getting the following import error:
ImportError Traceback (most recent call last)
/opt/conda/lib/python3.7/site-packages/sagemaker/image_uris.py in
/opt/conda/lib/python3.7/site-packages/sagemaker/workflow/utilities.py in
/opt/conda/lib/python3.7/site-packages/sagemaker/workflow/pipeline_context.py in
ImportError: cannot import name 'SessionSettings' from 'sagemaker.session' (/opt/conda/lib/python3.7/site-packages/sagemaker/session.py)
To recreate this issue, simply run the following command:
from sagemaker import image_uris
For reference I am using sagemaker 2.108.0