I am using snakemake as workflow manager. I first create a conda environment in JupyterLab (anaconda) with: conda create base. Then I activate a .yaml file with mamba env create --name <name of the env> --file environment.yaml. In the .yaml file I include among other the following dependencies: R = 4.1.3, tensorflow = 2.8.0. At this point I get an error message:
Encountered problems while solving:
- nothing provides requested r 4.1.3**
 - nothing provides requested tensorflow 2.8.0**.
 
As far as I understand, the dependencies are going to be take care of by conda in the local environment. I eventually installed manually tensorflow in the local environment with pip install tensorflow. Nevertheless, I get the same error message when I try to activate the .yaml file. I know that I have already installed R.
What should I do ? I have Ubuntu 20.04.4 LTS.
Many thanks.