-1

I want to create environment.yml file with the specific code from the first answer here: Install Detectron2 on Windows 10. But I don't get how actually I can do this. Please, any ideas?

Julia Koncha
  • 85
  • 1
  • 12

1 Answers1

0

According to their documentation, create a environment.yaml file manually then insert you code, after that run the following command:

conda env create --file=environment.yaml

or

conda env create -f environment.yml

That would be the manual method, if you want to do it by command you can follow their documentation here: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-with-commands

Obaskly
  • 477
  • 2
  • 13
  • I get an error: EnvironmentFileNotFound: 'C:\Users\friske\environment.yaml' file not found – Julia Koncha Feb 17 '22 at 14:13
  • But how do I actually create this file manually? I don't get also from conda documentation: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-file-manually – Julia Koncha Feb 17 '22 at 14:23