Can recipe run on python 3.x?

Level 2
Can recipe run on python 3.x?


I created a custom recipe to run on dss6 and noted an error while it was running on a python 3.6 code env.

Begin python stack


File /mnt/somepath/.../custom-python-recipe/pyoutblahblahblah/, line 194, in <module> 


file"<string>", line 82, in <module>

typeerror:'map' object is not subsciptable

end python stack.

I don't have any codes in the codes of stated in the trace and let me to believe its one of the dataiku core codes. The error also suggest that this is due to the python2 vs python3 difference. Please advise on this.


Thank you.

0 Kudos
1 Reply

Hi @jax79sg ,

As you pointed out, this python error suggests you are using Python2 syntax with Python3. Make sure your libraires are Python3 compatible.

A closer look at your code would be helpful to help you.

Damien Jacquemart, Lead Data Scientist @Dataiku
0 Kudos


Labels (2)
A banner prompting to get Dataiku