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
{{ message }}
Repository navigation
Upgraded pip fails to install packages with enum34 #1469
changed the title [-]Upgraded pip fails to install packages with enum34[/-][+][NON-PY-SDK] Upgraded pip fails to install packages with enum34[/+]on May 7, 2020
changed the title [-][NON-PY-SDK] Upgraded pip fails to install packages with enum34[/-][+]Upgraded pip fails to install packages with enum34[/+]on May 19, 2020
looks like it's due to the installation of enum34 here. Since this library still supports Python 2 (for now), we do need some kind of change that is compatible with Python 2 before blindly removing enum34.
as a workaround, are you able to manually uninstall enum34 before installing GluonTS?
@laurenyu yes I can pip uninstall it in python3.6. Since SageMaker kernels are either p27 or p36 then it'd make sense to remove it as part of v2.0.0, py27 deprecation plan #1461
re: v2.0.0 - yep, I was thinking the same thing 🙂. I've added it to the description of #1461, and will add this issue to the milestone/project board. If I get a chance, I'll still try to see if there's a Python 2-compatible solution, but from the quick Googling I did yesterday, pretty much everything seemed to point to enum34 🤷♀️
Activity
nadiaya commentedon May 7, 2020
Just to clarify, you're referring to the mxnet_p36 environment in a SageMaker Notebook Instance?
[-]Upgraded pip fails to install packages with enum34[/-][+][NON-PY-SDK] Upgraded pip fails to install packages with enum34[/+]ehsanmok commentedon May 7, 2020
Correct!
[-][NON-PY-SDK] Upgraded pip fails to install packages with enum34[/-][+]Upgraded pip fails to install packages with enum34[/+]laurenyu commentedon May 19, 2020
looks like it's due to the installation of enum34 here. Since this library still supports Python 2 (for now), we do need some kind of change that is compatible with Python 2 before blindly removing enum34.
as a workaround, are you able to manually uninstall enum34 before installing GluonTS?
ehsanmok commentedon May 20, 2020
@laurenyu yes I can pip uninstall it in python3.6. Since SageMaker kernels are either p27 or p36 then it'd make sense to remove it as part of v2.0.0, py27 deprecation plan #1461
laurenyu commentedon May 20, 2020
Glad you at least have a workaround for now.
re: v2.0.0 - yep, I was thinking the same thing 🙂. I've added it to the description of #1461, and will add this issue to the milestone/project board. If I get a chance, I'll still try to see if there's a Python 2-compatible solution, but from the quick Googling I did yesterday, pretty much everything seemed to point to enum34 🤷♀️
laurenyu commentedon Jun 18, 2020
addressed in #1609 and slated for the v2.0.0.rc1 release
laurenyu commentedon Jul 9, 2020
released in v2.0.0.rc1
feat: Model class to support AdditionalModelDataSources (aws#1469)
feature: model optimization (#4775)
feature: model optimization (aws#4775)