Failed to start prediction kernel : <class 'UnicodeDecodeError'> : ascii

Boksu_Oh
Level 2
Failed to start prediction kernel : <class 'UnicodeDecodeError'> : ascii

I have trouble deploying with the error message(attached file)

โ€ƒ

deploy_error_api.JPG

.


Operating system used: centos

0 Kudos
1 Reply
AlexT
Dataiker

Hi @Boksu_Oh ,

UnicodeDecodeError you are seeing is likely due to the fact that the model was training on Python 2.7 but you are currently using Python 3.6/3.7 as the default python on the API nodes.

Can you please try re-training your model using the python version 3.6/3.7 instead and let us know if the issues persist.

You can change the python version used for model training from the original analysis under Models - Design tab - Runtime Environment and select a Python3 code env to match your API nodes.

Thanks,

 

0 Kudos