Dataiku docker with Python3.x

Solved!
phuongphan
Level 2
Dataiku docker with Python3.x

Hi, I am using Dataiku docker free version. It has Python2.7 as default. How can i change it to Python3.x? Or if I change to Python3.x, will it break Dataiku functions?

Thank you very much for your help.

0 Kudos
1 Solution
Clรฉment_Stenac

Hi,

The base Docker image that we provide has both Python 2 and Python 3 (you can find our Dockerfile here: https://github.com/dataiku/dataiku-tools/blob/master/dss-docker/Dockerfile)

This means that you can already create your own Python 3 code envs, which are the recommended way to run Python code in Dataiku: https://doc.dataiku.com/dss/latest/code-envs/operations-python.html

View solution in original post

4 Replies
Clรฉment_Stenac

Hi,

The base Docker image that we provide has both Python 2 and Python 3 (you can find our Dockerfile here: https://github.com/dataiku/dataiku-tools/blob/master/dss-docker/Dockerfile)

This means that you can already create your own Python 3 code envs, which are the recommended way to run Python code in Dataiku: https://doc.dataiku.com/dss/latest/code-envs/operations-python.html

phuongphan
Level 2
Author

That is so good. Thank you very much for your help, @Clรฉment_Stenac .

phuongphan
Level 2
Author

Hi @Clรฉment_Stenac 

I searched but I could not find. So please give me a quick answer.

I have my own virtual environment on windows10 laptop setting by using anaconda. Inside my env, can I install Dataiku just by typing pip install dataiku or conda install dataiku?

Thank you very much.

0 Kudos
phuongphan
Level 2
Author

Sorry for this stupid question. I can test it by myself and it did not work.

0 Kudos