Monday, May 11, 2020

Create identical conda environment on another machine

Source:
https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html



On the existing conda environment dump a requirements txt file


conda list --explicit > spec-file.txt


On the other machine, create an environment using the requirements file


conda create --name myenv --file spec-file.txt


To install on an existing environment (for e.g. after setting up Keras)


conda install --name myenv --file spec-file.txt



No comments:

Post a Comment

Loud fan of desktop

 Upon restart the fan of the desktop got loud again. I cleaned the desktop from the dust but it was still loud (Lower than the first sound) ...