查看 conda 交易的历史记录? [英] Viewing history of conda transactions?

查看:24
本文介绍了查看 conda 交易的历史记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法查看过去的 conda 交易?例如,我在当前环境中所做的所有 conda install 操作的历史记录会很棒.

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.

谢谢

推荐答案

有一个--revisions |-r 标志.

conda list --revisions

查看 conda list --help 了解更多信息.

Check the conda list --help for more info.

如果您想要准确的历史记录,每个 env 中都有一个 conda-meta/history 日志.例如,您可以提取在 env 中执行的每个命令,加上时间戳,使用

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

这篇关于查看 conda 交易的历史记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆