Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on November 6, 2020 6:22PM
Likes: 0
Replies: 7
Hello,
How can I force to install python 3.6 on debian and register it in dataiku?
perhaps debian10 is not the best choice for dataiku, which distro is the best?
Thank you for your answers.
Looks like python3.6 is not available in your repositories or there was some other issue with the installation which might be difficult to troubleshoot (including the fact I don't speak French).
In this case, you will need to compile it from the source code. There is a great article from the internet on how to do this for Debian 9 but I just confirmed it worked for Debian 10:
https://www.electrosoftcloud.com/en/install-python-3-on-debian9/
You should be good with just compilation part. There is no need to make it default for the entire system. We only need Python3.6 available in the PATH:
dataiku@debian:~/Python-3.6.10$ which python3.6 /usr/local/bin/python3.6
Hi @BenGonGon
,
In addition to Sergey's answer an alternative way to install python 3.6 (and other versions if you need) is through pyenv:
sudo apt install git zlib1g-dev -y curl https://pyenv.run | bash # Follow the post install steps printed by the previous commands exec $SHELL pyenv install 3.6.12 pyenv global system 3.6.12 #Restart DSS
Regards
HI @BenGonGon
Using Debian 10 as an operating system for DSS installation is supported so you shouldn't have any issues with that: https://doc.dataiku.com/dss/latest/installation/requirements.html#linux
What about using Python3.6 as base Python -> you will need to use -P flag for the installer.sh during installation: https://doc.dataiku.com/dss/latest/installation/python.html#choosing-the-version-of-python-for-the-builtin-environment
Hi @sergeyd
Ok but can you help me please to solve this (see picture)?
it is when I want to install plugin and create a new env.
Ok, so looks like Python3.6 is not available on Debian 10 by default. There is only 3.7 version installed. You will need to install Python3.6:
sudo apt-get update sudo apt-get install python3.6
and make sure it's available in the PATH:
dataiku@debian:~$ which python3.6 /usr/bin/python3.6
After this you should be good with installing code_env for the plugin.
@sergeyd
the first one is already do, but the path is not set ( I think ).
Can you help me to fix that please?
P.S. : non mis à jour = not updated