aws / sagemaker-mxnet-training-toolkit

Toolkit for running MXNet training scripts on SageMaker. Dockerfiles used for building SageMaker MXNet Containers are at https://github.com/aws/deep-learning-containers.
Apache License 2.0
60 stars 55 forks source link

Downgrade pip version and unpin awscli #125

Closed ghost closed 4 years ago

ghost commented 4 years ago

Issue #, if available: The aws-mxnet pip wheels hosted at aws-mxnet-pypi/1.6.0 cannot be installed using pip version 20.0.1

Error message:

root@db8864b0db13:/# pip install https://aws-mxnet-pypi.s3-us-west-2.amazonaws.com/1.6.0/aws_mxnet_cu101mkl-1.6.0rc0-py2.py3-none-manylinux1_x86_64.whl
ERROR: aws_mxnet_cu101mkl-1.6.0rc0-py2.py3-none-manylinux1_x86_64.whl is not a supported wheel on this platform.

Description of changes: This issues requires the pip version to be downgraded and pinned to 19.3.1

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

arjkesh commented 4 years ago

Another thing that would we could do in this PR is to unpin awscli, but i'll let you decide on whether you want that in scope

sagemaker-bot commented 4 years ago

AWS CodeBuild CI Report

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

saimidu commented 4 years ago

Seems like pinning awscli to the older version caused a version incompatibility for boto3 with botocore.

pkg_resources.ContextualVersionConflict: (botocore 1.14.1 (/usr/local/lib/python3.6/site-packages), Requirement.parse('botocore<1.15.0,>=1.14.7'), {'boto3'})
sagemaker-bot commented 4 years ago

AWS CodeBuild CI Report

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository