dataiku internal client not compatible with Python 3.12
Hi Dataiku Guru,
We used the dataiku internal client outside of Dataiku in a python script, but in python 3.12, when import dataiku module an error raised due to the depreciation of imp python module in pyhon 3.12 https://github.com/python/cpython/issues/98040
The dataiku/base/utils.py still uses the imp
When will the internal module be compatible with python 3.12?
Thanks
Answers
-
Grixis PartnerApplicant, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 82 ✭✭✭✭✭
Hello @Zhengxin,
I guess maybe the next one or the one after that. :)
I'm on the last DSS's version (13.0.2) and python 3 is supported in 3.11.
You know python 3.12 is the latest major released less than 1 year ago.
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,161 Neuron
Why do you need Python 3.12? Python 3.11 is the current max supported.
-
Zhengxin Partner, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Dataiku DSS Adv Designer, Registered Posts: 9 Partner
Hi @Turribeach,
We are using dataiku module on another platform to retrieve dataset from a dataiku instance, unfortunately the other platform is restricted to python 3.12
Thanks
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,161 Neuron
Well then you will need to wait for Dataiku to add support for Python 3.12 or use another platform which properly supports all Python versions. Installing a different Python version on a system is a trivial task.