Viewing history of conda transactions?

元气小坏坏 提交于 2020-01-01 11:58:05

问题


Is there a way of viewing past conda transactions? For instance, a history of all conda install actions I did in the current environment would be great.

Thanks


回答1:


There is a --revisions | -r flag for this.

conda list --revisions

Check the conda list --help for more info.

If you'd like an exact history, there is a conda-meta/history log in every env. You could, for example, pull out every command ever executed in an env, plus a timestamp, using

grep -B1 "^# cmd" my_env/conda-meta/history


来源:https://stackoverflow.com/questions/56069924/viewing-history-of-conda-transactions

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