I would like to create a conda environment based on an environment file in a certain path, using no symlinks. Therefore, I would like to run the following conda command:
conda create --file environment.yml --prefix ./python --copy
the file environment.yml looks like this (I shortened it):
name: null
channels:
- defaults
dependencies:
- python==3.7.0
However, I get the following error:
CondaValueError: could not parse 'name: null' in: environment.yml
The following command works:
conda env create --file environment.yml --prefix ./python
However, then I cannot use the --copy parameter:
error: unrecognized arguments: --copy