DataIKU not recognizing locally installed python

I am trying to create a new Python Code Env in my locally installed instance of Dataiku. The only option is Python 3.7. All the other options (Python 3.8, 3.9, 3.10, 3.11 and 3.12) are listed as "Not available" in the dropdown. I have Python 3.10 and Python 3.12 locally installed, but somehow Dataiku is not recognizing it. Any idea how I can create a Code Env with a more recent version of Python
Operating system used: Windows 11
Operating system used: Windows 11
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,574 Neuron
For Dataiku to be able to see your different Python installations you must add each Python bin directory to your Windows system PATH variable. Then restart Dataiku and it will pick them up and allow you to setup new code environments with them.
-
I did this, but nothing happened.
-
Maybe I misunderstand you.
There is no dir called bin inside the python installation folder in windows 11.
But I asked chatgpt and it said it's the scripts dir, is it right? -
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,574 Neuron
My bad, bin was used on older Python versions. You need to add both to your system PATH variable, the main directory where python.exe lives and the scripts directory. Make sure it's the system PATH not your user PATH variable. And you may need to reboot your system. You can add as many Python versions you want in the PATH variable and they will all be visible from Dataiku. But your system's point of view only one will be the default, the first on the PATH list.
-
I did that and still showing me not available :(
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,574 Neuron
open a CMD prompt and type “set”. Then inspect the PATH variable and make sure it shows Python in it. Now type “python” and “pip” to confirm they are accessible from your prompt.