This issue applies for any Domino deployment in the 4.x and 5.x family .
When trying to import/install packages via conda you are presented with the following error:
sh: 1: /opt/conda/bin/conda: Permission denied
Warning in system2(conda_bin, "--version", stdout = TRUE) :
running command ''/opt/conda/bin/conda' --version' had status 126
Warning: Error in if: argument is of length zero
This is expected behaviour which is a result of the Anaconda terms and service change, discussed in more details here . As noted in the article in order to avoid breaching the Anaconda terms-of-service Domino makes the conda binary 'non-executable'.
To enable the executable bit on the conda binary you can use the following in your Dockerfile instructions:
RUN chmod +x /opt/conda/bin/conda
In order to use conda without accepting the terms-of-service you must ensure you only use the publicly available repository. For more details please see https://www.anaconda.com/blog/sustaining-our-stewardship-of-the-open-source-data-science-community