Cannot run program "conda" error in DSS code environment settings.

Options
Sam648
Sam648 Registered Posts: 13 ✭✭✭✭

Hi,



I have both anaconda and python installed in GCP instance where DSS is also installed. Conda was working fine initially and i was able to update and install package using both Conda and pip. However after 3 weeks , i am getting this error " Cannot run program "conda": error=2, No such file or directory, caused by: IOException: error=2, No such file or directory".



I encountered this problem earlier also where i had to re-install conda again and it worked fine for a week. Can you please tell me whats wrong and why i m getting this error after few weeks of running successfully.



Waiting for your kind response.



Sam

Answers

  • Alex_Combessie
    Alex_Combessie Alpha Tester, Dataiker Alumni Posts: 539 ✭✭✭✭✭✭✭✭✭
    Options
    Hi,

    [Addition for other users with similar situations]

    For Anaconda to be usable from Dataiku DSS in code environment, the "conda" command needs to be in the PATH environment variable. This implies that when you install Anaconda, you accept the optional option "Add Anaconda to my PATH environment variable". Otherwise, you will need to manually add it to the PATH.

    Cheers,

    Alex
Setup Info
    Tags
      Help me…