Apr-22-2020, 06:23 PM
I have created a conda environment using the command
conda create -n env-name
Now I can add the packages that I want by putting names and versions on the end of this command,but I want a whole set of packages which are available through a requirements.txt file.
However, the requirements.txt file is not in the conda environment that I just created, and i do not know how to put the requirements.txt file into the newly created conda environment or even if I should.
There may be a work-around.
The requirements.txt is in my base environment, and how do I move it into my newly created conda environment or even if I should.
The may be a method to create the conda env. and have it install only what is specified in the requirements.txt file. with said file not in the conda env.. If there is how do I do it?
I believe it is
conda create --target ...
I do not know the rest.
Any help appreciated. Thanks in advance.
Respectfully,
ErnestTBass
conda create -n env-name
Now I can add the packages that I want by putting names and versions on the end of this command,but I want a whole set of packages which are available through a requirements.txt file.
However, the requirements.txt file is not in the conda environment that I just created, and i do not know how to put the requirements.txt file into the newly created conda environment or even if I should.
There may be a work-around.
The requirements.txt is in my base environment, and how do I move it into my newly created conda environment or even if I should.
The may be a method to create the conda env. and have it install only what is specified in the requirements.txt file. with said file not in the conda env.. If there is how do I do it?
I believe it is
conda create --target ...
I do not know the rest.
Any help appreciated. Thanks in advance.
Respectfully,
ErnestTBass