且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

conda-env列表/conda信息--envs如何查找环境?

更新时间:2023-02-16 19:55:25

info 命令包含在 cli.main_info 模块,此案例的相关代码为此处导入该函数(除其他事项外)读取配置值envs_dirs.您可以通过运行

The code for the info command is contained in the cli.main_info module, and the relevant code for this case is here. This imports the function from over here that (among other things) reads the configuration value envs_dirs. You can find out the value of this configuration value on your system by running

conda config --show envs_dirs

我希望这会向您显示正在搜索的环境的用户目录.

I expect this will show you the user directories for environments as being searched.