Feature request: enabling model objects to be opened with python3

joostjansenn
joostjansenn Registered Posts: 7 ✭✭✭✭

Dear DataIKU,

could you please add functionality to interact with model objects for python3.

When opening a model object with python3 it gives the following error message:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xaa in position 8: ordinal not in range(128)

I suspect this is caused by the pickle file the model is stored in, was created with python2.

This can be resolved by adding an encoding as explained here:

https://stackoverflow.com/questions/28218466/unpickling-a-python-2-object-with-python-3

Setup Info
    Tags
      Help me…