How to backup Anaconda added packages?

雨燕双飞 提交于 2019-12-03 10:15:48

I think you can find the solution you are looking for here.

  • Open the Anaconda prompt
  • Activate the environment you are interested in
  • Type conda env export > environment.yml

In the yml you will find all the dependencies and you can use it to create a new virtual environment as a copy of the current one.

For example, on the new/rebooted machine, you can do:

conda env create -f environment.yml
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!