Skip to content

[NON-PY-SDK] pandas version issue with MXNet 1.6 environment #1428

@ehsanmok

Description

@ehsanmok

Describe the bug
The mxnet_p36 env seems to enforce pandas==0.24 somehow which makes using awslabs/gluonts (pip installed from master) to fail (with and without upgrading pip) because GluonTS requires pandas~=1.0

ContextualVersionConflict: (pandas 0.24.2 (/home/ec2-user/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages), Requirement.parse('pandas~=1.0'), {'gluonts'})

To reproduce
Run this in a notebook cell in mxnet_p36 env

%%bash
if [[ `python -m pip freeze | grep enum34` ]]; then
    python -m pip uninstall -y enum34
fi
python -m pip install --upgrade -q sagemaker
python -m pip install -q git+https://github.com/awslabs/gluon-ts@master

Also it seems pandas requirement was not specified anywhere for MXNet here.

System information
A description of your system. Please provide:

  • SageMaker Python SDK version: 1.55.4
  • Framework name (eg. PyTorch) or algorithm (eg. KMeans): MXNet
  • Framework version: 1.6
  • Python version: python3.6
  • CPU or GPU: Both
  • Custom Docker image (Y/N): N

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions