Survey banner
The Dataiku Community is moving to a new home! Some short term disruption starting next week: LEARN MORE

Installing Python 3 in other env

Level 1
Installing Python 3 in other env

Hi everybody,

I'm using the Docker image to run Dataiku in my server. I  added a few lines to the image to add support to Python 3.

FROM dataiku/dss

USER root

RUN apt-get update && apt-get install -y python3 wget

RUN wget

RUN ln -s /usr/bin/python3 /usr/local/bin/python

RUN python

RUN pip3 install SerpScrap --upgrade


When I go to DSS, I can't find the way to declare a path different than:

Environment creation failed

/home/dataiku/dss/bin/python failed (exit code: 3)

The path python3.6 (from --python=python3.6) does not exist


I see in the documentation python must be there but if I don't know how. I tried to create a symlink to /home/dataiku/dss/bin/python during the build of the Dockerfile but it doesn't work for me. What's the correct way to install Python 3 in the docker image?

Thank you

0 Kudos
1 Reply
Dataiker Alumni


You are correct, this error message indicates that python3.6 is not installed in the docker image. To install it, we would recommend that you build your own Docker image. Our image is built using these tools:

You can edit that Dockerfile to install python3.6. In short, DSS expects python3.6 to be in the PATH variable. We thus recommend to set up a separate python3.6 in the PATH. No need to link python3 to python, you can have python -> path to python 2.7 executable and python3.6 -> path to python 3.6 executable.

Let me know if you need more details on the above.



0 Kudos


Labels (2)
A banner prompting to get Dataiku