-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
https://github.com/aws/sagemaker-python-sdk/blob/master/setup.py#L50
import sagemaker as sage will crash.
It causes the error:
import sagemaker as sage
File "/usr/local/lib/python3.6/site-packages/sagemaker/init.py", line 18, in
from sagemaker import estimator, parameter, tuner # noqa: F401
File "/usr/local/lib/python3.6/site-packages/sagemaker/estimator.py", line 29, in
from sagemaker.analytics import TrainingJobAnalytics
File "/usr/local/lib/python3.6/site-packages/sagemaker/analytics.py", line 23, in
from sagemaker.session import Session
File "/usr/local/lib/python3.6/site-packages/sagemaker/session.py", line 34, in
from sagemaker.user_agent import prepend_user_agent
File "/usr/local/lib/python3.6/site-packages/sagemaker/user_agent.py", line 23, in
SDK_VERSION = pkg_resources.require("sagemaker")[0].version
File "/usr/lib/python3.6/dist-packages/pkg_resources/init.py", line 972, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.6/dist-packages/pkg_resources/init.py", line 863, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (urllib3 1.25.7 (/usr/local/lib/python3.6/site-packages), Requirement.parse('urllib3<1.25,>=1.21.1'), {'requests'})
Please fill out the form below.
System Information
- Framework (e.g. TensorFlow) / Algorithm (e.g. KMeans):
- Framework Version:
- Python Version: 3.6
- CPU or GPU: CPU
- Python SDK Version:
- Are you using a custom image:
Describe the problem
Describe the problem or feature request clearly here.
Minimal repro / logs
Please provide any logs and a bare minimum reproducible test case, as this will be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
- Exact command to reproduce: