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?
Asked
Active
Viewed 549 times
-1
-
It sounds like this is asking "How do I use a text editor?". Please clarify. – merv Feb 18 '22 at 17:51
1 Answers
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