aws-samples / aws-samples/amazon-sagemaker-build-train-deploy

Error when running the local pipeline

Open
#38 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
185
Forks
59
PR merge metrics
No merged PRs in 30d

Description

Error when running the local pipeline:

```
mo3hswtojq-sagemaker-local | 2025-02-21 12:16:24,794 sagemaker.remote_function ERROR Error encountered while bootstrapping runtime environment: Python version found in the container is '3.10' which does not match python version '3.11' on the local client. Please make sure that the python version used in the training container is same as the local python version.
mo3hswtojq-sagemaker-local | Traceback (most recent call last):
mo3hswtojq-sagemaker-local | File "/opt/ml/input/data/sagemaker_remote_function_bootstrap/bootstrap_runtime_environment.py", line 67, in main
mo3hswtojq-sagemaker-local | RuntimeEnvironmentManager()._validate_python_version(client_python_version, conda_env)
mo3hswtojq-sagemaker-local | File "/opt/ml/input/data/sagemaker_remote_function_bootstrap/runtime_environment_manager.py", line 346, in _validate_python_version
mo3hswtojq-sagemaker-local | raise RuntimeEnvironmentError(
mo3hswtojq-sagemaker-local | runtime_environment_manager.RuntimeEnvironmentError: Python version found in the container is '3.10' which does not match python version '3.11' on the local client. Please make sure that the python version used in the training container is same as the local python version.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.