1 Answer
- Newest
- Most votes
- Most comments
1
You seem to have a sagemaker.py in your working directory that the cell is importing. get_execution_role, session etc. are part of the sagemaker python SDK (https://sagemaker.readthedocs.io/en/stable/overview.html).
Not sure why you have the sagemaker.py file, if it's a helper function, try renaming it and trying the cell again. SageMaker notebooks should have sagemaker already installed, you can also install/upgrade it using pip.
answered 3 years ago
Relevant content
- asked 2 years ago

Wow, I sure do. That was a silly mistake. Thank you for the fast response, Duraga_S!