You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The deprecated sagemaker-containers package is still installed through the requirements file.
However, it contains a package called "typing" which has a known conflict with the built-in typing implementation in Python 3.7 - see example.
To reproduce
Create a training code in Python 3.7 which includes type hints for abstract classes, and try invoking it.
Expected behavior
The code should run without problems.
Screenshots or logs
You get the following error:
AttributeError: type object 'Callable' has no attribute '_abc_registry'
Fixing this is a simple matter of removing sagemaker-containers from the requirements file
The text was updated successfully, but these errors were encountered:
The deprecated sagemaker-containers package is still installed through the requirements file.
However, it contains a package called "typing" which has a known conflict with the built-in typing implementation in Python 3.7 - see example.
To reproduce
Create a training code in Python 3.7 which includes type hints for abstract classes, and try invoking it.
Expected behavior
The code should run without problems.
Screenshots or logs
You get the following error:
AttributeError: type object 'Callable' has no attribute '_abc_registry'
Fixing this is a simple matter of removing sagemaker-containers from the requirements file
The text was updated successfully, but these errors were encountered: