+1 vote

Hi, I am trying to create a code environment managed by conda from the settings interface but it keeps failing and returning the following message:

Environment creation failed                                ERR_CODEENV_ENV_CREATION_FAILED

Cannot run program "conda": error=2, No such file or directory, caused by: IOException: error=2, No such file or directory

My laptop is a Macbook Pro running High Sierra with Anaconda is installed in the default directory (/users/xxx/anaconda3) and conda runs fine from the command line. Python 3.6 is installed and included on the PATH variable.

Only creating managed python 2.7 code envs seems to work as pyenv is unable to find python3 even when its linked in /usr/local/bin from [..]/Library/Python.framework/ and works perfectly when invoked from the command line and other apps. This is the message in the backend log:

  • Environment creation failed

    Process execution failed (/Users/deccar/Library/DataScienceStudio/dss_home/bin/python) (return code 3)
The path python3.6 (from --python=python3.6) does not exist

I haven't managed to import existing conda envs either. Can you explain how should I configure the system to make it work?

Thanks in advance






asked by

1 Answer

0 votes
Hi Deccar, the doc (https://doc.dataiku.com/dss/latest/code-envs/conda.html) says conda should be in your DSS path. DSS manages it own environments, and even if you tell it to use conda it will manage a separate set of folders (separate from your "root" environment that you can use outside of DSS).

Hope this helps!
answered by
Hi Matthias,

Yeah, the documentation says to include conda in your DSS path, but I haven't managed to find the way to do it. Conda's bin directory is in my $PATH but doesn't seem to do the trick.
I have the same questions about adding using anaconda in DSS.  
1. Which path do I need? (How do I determine the correct path that I will need.)
2. Where should this path be added to the DSS configuration?
770 questions
795 answers
509 users