Survey banner
Switching to Dataiku - a new area to help users who are transitioning from other tools and diving into Dataiku! CHECK IT OUT

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

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

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



Operating system used: centos

0 Kudos
1 Reply

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.



0 Kudos