Anaconda Import Packages From Another Environment
I imported an anaconda environment from another machine. I want to install the packages from imported environment into root or make the imported environment as default. Is there an
Solution 1:
First export the environment from one machine:
$ conda env export -n myenv -f myenv.yml
Then create a new environment from myenv.yml
on the other machine:
$ conda env create -f myenv.yml
To use this environment as default, add source activate myenv
to your .bashrc
.
Post a Comment for "Anaconda Import Packages From Another Environment"